in the current age of technology, with all of the cool toys and gadgets that are available, all of these things exist for one purpose...to allow us to more easily access information. today, we are able to acquire information more quickly and easily than we has ever been possible in the past. largely, this has to do with the internet and the fact that you can access information anywhere in the world from anywhere else in the world in literally the blink of an eye.
enter extensible markup language (xml). xml is a buzzword that has been thrown around a lot lately and for good reason. xml has been positioned as the standardized way to transfer information that has been recommended by the w3c. this means that any application can potentially communicate with any other application as long as they communicate via this language. in a way, it´s kind of like the universal translator they have in star trek. each species speaks a different language, but that language can be transmitted via the translator in a way that each party can understand the others as long as the translator has the algorithms necessary to make sense of that language. this is the entire premise behind web services, which you will be hearing a lot about in the future. 【程序编程相关:Java 多线程编程】
so we all know that the information is there, waiting for us to access it. the challenge we as developers face is how to get that information to the user. up to this point, the information has largely been sitting in static html pages, just waiting to be read. the problem with this is that there is more work involved in changing or updating that information as the editor has to know html, css, etc. so recently, more and more information has moved from static pages to being stored in some "data repository". the most common is the relational database. the great thing about this is that the data is kept seperate from the layout, so you can change the data without having to deal with design issues. all you need is to have a server-side scripting environment (i.e., coldfusion, asp, php, cgi, etc.) to extract the information from the database and display it for the user in html format. this is a wonderful system, however, since each relational database management system (rdbms) is proprietary to a degree, it can require quite a bit of work for different databases to communicate with each other (plus you need to know the different server-side languages to deal with all of this, along with sql). wouldn´t it be nice if there was a standard way of transferring information that was platform and language independent? 【推荐阅读:SCJP考试中的 thread 题目分析】
» a technical introduction to xml 【扩展信息:C++源代码的语法加亮】
essentially, xml is a way to describe information in a structured way, that is human readable. though i will go into a very brief explanation of xml, for more detailed information, here are a few excellent resources discussing xml:
» xml - questions and answers» an introduction to the extensible markup language... 下一页