ASP.NET Model View Controller-(MVC) Framework
Windows Communication Foundation (WCF)
The Top 10 Open-Source Customer Relationship Management Solutions
ASP.NET 3.5 LINQ (Language-Integrated Query)
Search Engine Optimization (SEO) - Targeted Website Traffic, Earning Money, gett
10 Important Tips for a fast loading Web Site
July 2010 (1)
June 2010 (1)
May 2010 (2)
April 2010 (2)
March 2010 (1)
February 2010 (2)
January 2010 (1)
December 2009 (1)
November 2009 (1)
October 2009 (1)
September 2009 (1)
July 2009 (2)
June 2009 (8)
May 2009 (5)
April 2009 (1)
March 2009 (3)
February 2009 (3)
January 2009 (4)
December 2008 (1)
November 2008 (5)
October 2008 (3)
September 2008 (4)
August 2008 (4)
July 2008 (1)
June 2008 (1)
IP,Trademarks,Copyrights and Domains Aggressively Protected by DNattorney.com
Copyright© 2000-2010. All rights
reserved CATT Technology Inc.
infocat@catamerica.com

 XML ENHANCED SUPPORT FOR PHP 

 

PHP as XML support inbuilt, SimpleXML. All XML functions are now standardized on the libxml2 library and are fully implemented W3C standards compliant. SimpleXML is quite possibly the most valuable addition to PHP  in recent years, providing a traversable and better structure to work on XML documents and xml functions,Xml allowing you to simply change values in the structure and write the file a few lines of code. The XML functionality that has been available through PHP in the past has been quite rudimentary and required a fair amount of programming work to do, so it is not uncommon to see PHP 4 applications using XML without ever touching the xml functions.

 

PHP earlier versions also offers a replacement extension for DOMXL with the DOM extension. This extension allows you to work on your XML files using the DOM object model and is superior to SimpleXML particularly when you are not certain what document format to expect with your application. While DOM is more powerful, SimpleXML is much quicker to implement and easier to get a handle on for beginner programmers. Both of the extensions are robust and well thought out, So you will be using a powerful extension that is light years beyond what was available in PHP 4 extension.

DOM

DOM (Document Object Model) is for accessing XML document trees, implemented W3C standards compliant In PHP 4, the domxml extension was used for doing just that. The disadvantage with the domxml extension was that it didn't follow the standard method names. It also had memory leak problem form a long time.

The new DOM extension is completely based on the W3C standard, including method and property names. If you're good at DOM from other languages, for example in language like JavaScript, it will be much easier for you to code similar functionality in PHP.

Domxml-based scripts won't work anymore. The API is quite different in PHP 5. But if you used the "almost W3C compatible" method names available in PHP 4.3, porting isn't such a big deal. You only need to change the loading and saving methods, and remove the underscore in the method names (the DOM standard uses studlyCaps). Other adjustments here and there may be necessary, but the main logic can stay the same.

CATT Ltd has very successful in working with XML with PHP using DOM Objects, CAT Technologies Ltd development unit works on enhanced concept of xml document, xml function with support of Php , CATT Ltd as posted article for provides brief description of PHP with xml for developer working on php & xml. CATT Ltd implementing this concept in our development process for providing best performance of software application/web application to satisfy end user needs and make end user use the application in more effective way than Never before.

Posted By: D.Kishore Kumar

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)
Name:
Email Address:
Url:
Comments: