xml is a useful in project

Posted by Rajesh081725 under XML on 10/9/2012 | Points: 10 | Views : 1277 | Status : [Member] | Replies : 3
Hi,

where it is used xml ?
what advantage in using xml ?
can u given one example ?

nowa days xml is useful ?

which is best one sql server or xml because most of the project created in xml?

Time is Gold
Thanks & Regards,
Rajesh Kumar,
9962038582.



Responses

Posted by: Kanje_Ravi on: 10/9/2012 [Member] Starter | Points: 25

Up
0
Down

Hi Rajesh


Where XML is helpful..
1.There is a need to store set of hardcoded records(will change once after so many days) and should be retrieved in multiple pages.
for ex::: if you have a prodcuts dropdownlist which is used in several screens.Please use XML in that case instead of SQL SERVER in order to avoid database hits.

2.XML is very helpful in keeping confugaration details like path of the folder in webserver,Role settings .
3.XML is very helpful in interchanging DATA between two different plotforms.for ex say there are two applications need to share data.one is built in .net and another one is in java.


Advantages of XML..

XMl is very easy to read and understand with user defined tag(in opposite to HTML,there are predefined tags)
xml is very flexible in such a way that most of the languages can easily use xml in applications.
Please read below link for more information in dotnetfunda::
http://www.dotnetfunda.com/googlesearch.aspx?cx=partner-pub-8227619787378220%3Aqosudod27zb&cof=FORID%3A10&ie=ISO-8859-1&sa=Search&q=xml


which is best one sql server or xml because most of the project created in xml?

sql server is best over xml if you are looking to store records and would like to perform operations on them,reasons are very simple there are no indexing future in xml this leads to performance issue and also with xml you cant update the records so easily.

Xml was originally designed with interoperability in mind, not performance so go with sql server for storing more records.
XMl is not a database but instead it is a data interchange format.







Thanks & Regards,
Ravindra M
(Success Always Depends on Dedication & Commitment)

Rajesh081725, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naraayanan on: 10/10/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Ravi,
Nice Explanation

Regards,
Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/
http://abaprocker.blogspot.com/

Rajesh081725, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jayakumars on: 10/29/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi
XML-E[ B]x tensible[B ] M arkup[B ] L anguage.

xml read and write like a db becos fetch and write accessing quickly so we can use.
httppost veryuseful this then menucontrol use this xml tags and also adorotator for ads panel.

Mark as Answer if its helpful to you

Rajesh081725, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response