+ 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?
36 Answers
+ 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.
+ 7
You can learn json . It’s better easier.
+ 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.
+ 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! 👍
+ 3
It is used for designing web pages in an application soo its is worth learning it
+ 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.
+ 2
Pranto thank you for the suggestion, will try to learn it
+ 2
Intan Zulaikha Faz XML is part of JSX, which is what React uses. XML is very much alive in the web dev field!
+ 2
Nick awesome example and good info!
+ 2
This thread is getting popular
+ 2
Intan Zulaikha Faz it's no a problem, that will help me learn English too.
+ 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).
+ 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
+ 1
Intan Zulaikha Faz
Python for Web development or?
+ 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?
+ 1
It's easy to learn
+ 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.
+ 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?
+ 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.