+ 5

Does xml worth it? Should I learn it?

I'm not sure if xml still relevant nowadays but for sure blogger.com still using it, right? Actually what do this language for?

26th Aug 2021, 5:10 PM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
38 Respuestas
+ 10
XML is still used in large scale, from the settings of an application to UI interface values. XML is used to generate or store various types of data from the user.
26th Aug 2021, 5:26 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 7
You can learn json . It’s better easier.
26th Aug 2021, 7:11 PM
Iftekhar Ahmed Pranto
Iftekhar Ahmed Pranto - avatar
+ 6
Mostly used for storing data with customizable tags, you don't really need to learn too much about it, it's not as complicated as programming languages. Hope this helps.
26th Aug 2021, 5:23 PM
Tim
Tim - avatar
+ 3
Intan Zulaikha Faz Well, pretty sure the others have given you answers, but I'll try to build on what's been said. XML is a lot like HTML, you can give every tag attributes or data. Here's a code snippet to get a sense of it: <bookstore> <book> <title lang="en">How to look good after 50</title> <author>Nick</author> <year>2010</year> <price>20</price> </book> <book> ... </book> </bookstore> Both XML and JSON can get the job done in terms of storing data. Web Development is not my field but if I were to store data in JavaScript, I'd use JSON, contents of a JSON file can be either an array of objects or an object of objects and honestly it's easier for Javascript to read the data. Hope this helps! 👍
27th Aug 2021, 2:57 AM
Tim
Tim - avatar
+ 3
It is used for designing web pages in an application soo its is worth learning it
27th Aug 2021, 7:19 AM
Simbarashe Deke
Simbarashe Deke - avatar
+ 3
We need it because HTML is specifically designed to describe documents for display in a Web browser, and not much else. It becomes cumbersome if you want to display documents in a mobile device or do anything that’s even slightly complicated, such as translating the content from German to English. HTML’s sole purpose is to allow anyone to quickly create Web documents that can be shared with other people. XML, on the other hand, isn’t just suited to the Web – it can be used in a variety of different contexts, some of which may not have anything to do with humans interacting with content (for example, Web Services use XML to send requests and responses back and forth). HTML rarely (if ever) provides information about how the document is structured or what it means. In layman’s terms, HTML is a presentation language, whereas XML is a data-description language.
27th Aug 2021, 8:45 AM
Arun Jamson
Arun Jamson - avatar
+ 2
Pranto thank you for the suggestion, will try to learn it
26th Aug 2021, 7:22 PM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
+ 2
Intan Zulaikha Faz XML is part of JSX, which is what React uses. XML is very much alive in the web dev field!
27th Aug 2021, 3:06 AM
Sam
+ 2
Nick awesome example and good info!
27th Aug 2021, 3:07 AM
Sam
+ 2
Nick thank you for the example and making it clear. As for the question about python, it is use for back-end web development right? Thats what i understand hahaha sorry for asking too much, i just confuse by many languages
27th Aug 2021, 6:23 AM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
+ 2
This thread is getting popular
28th Aug 2021, 3:08 PM
Tim
Tim - avatar
+ 2
Intan Zulaikha Faz it's no a problem, that will help me learn English too.
28th Aug 2021, 3:12 PM
Humberto Moises Aquino Capellan
Humberto Moises Aquino Capellan - avatar
+ 2
It is a markup language (extensible markup language), that uses user defined tags to produce a customized data format, like HTML, with the difference that it penetrates firewalls, and allows extensible formatting facilities through style sheets called XSS style sheets (extensible style sheets).
28th Aug 2021, 3:45 PM
Sanjay Kamath
Sanjay Kamath - avatar
+ 1
Intan Zulaikha Faz it will take about 15 min to learn the basic of json. From youtube. Then you can learn how to use json with js,php,python etc
26th Aug 2021, 7:24 PM
Iftekhar Ahmed Pranto
Iftekhar Ahmed Pranto - avatar
+ 1
Intan Zulaikha Faz Python for Web development or?
27th Aug 2021, 3:01 AM
Tim
Tim - avatar
+ 1
Arun Jamson i see. What actually make a website load too slow? Does it have any connection with the backend service, i mean the data storage or what we call it?
27th Aug 2021, 10:29 AM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
+ 1
It's easy to learn
27th Aug 2021, 11:38 AM
Sonic
Sonic - avatar
+ 1
There can be many reasons for slow loading of websites like one is JavaScript in which the code that makes your website functional and interactive for users. Without it, your site would be pretty dull. However, if left unoptimized, JavaScript can delay your pages when they try to load in users’ browsers. So you can change to javascript frameworks like react, angular, vue etc. which is pretty fast. Like JavaScript, your site’s CSS — the code responsible for styling its pages — can delay loading if left unoptimized and for that you can use bootstrap, tailwind and nowdays most web developers use sass called css with superpowers. For data storage related query I think it is due to unoptimized media and it is one of the most common reasons why websites load slowly. Media like videos, images, and logos are stored in huge files. And with any webpage, the bigger the file, the longer the time it takes to render.
27th Aug 2021, 11:44 AM
Arun Jamson
Arun Jamson - avatar
+ 1
Arun Jamson thank you for making it really clear for me, really appreciated it. One more question, if i want to make a super smooth website then i should use react/angular instead of javascript, right? And for styling pages, use sass instead of css, right?
27th Aug 2021, 12:38 PM
Intan Zulaikha Faz
Intan Zulaikha Faz - avatar
+ 1
Yes but according to you which language you code well or easy or suitable to your need choose that. Super smooth websites need super smooth debugging also.
27th Aug 2021, 12:44 PM
Arun Jamson
Arun Jamson - avatar