Tag Archives: XML

PHP DOM XML extension encoding processing

September 1, 2009

3 Comments

I recently worked with PHP’s DOM XML extension while working on href="http://framework.zend.com/">Zend Framework’s
Zend_Search_Lucene HTML highlighting capabilities, and uncovered some
undocumented features and issues with the extension in regards to character
encoding. The information contained in this article should also apply to
other libxml-based DOM implementations, as PHP’s DOM extension simply wraps
that library.

Continue reading...

Serving XHTML in a Zend Framework Application

April 23, 2009

Comments Off

Serving XHTML is often misunderstood by php developers. Frontend engineers simply include the XHTML doctype to their documents, without actually serving document as XHTML. This triggers majority of the browsers to treat such pages as ‘tag-soup’.

If you are building a Zend Framework application and you really care for faster XHTML rendering , you can get its benefit by using content negotiation, thanks to the new controller plugin we have for you.

Continue reading...

Combining the power of PHPLinq, Zend_Db, XML and arrays

February 9, 2009

Comments Off

PHPLinq is a class library for PHP, based on the idea of Microsoft’s LINQ technology. LINQ is short for language integrated query, a component in the .NET framework which enables you to perform queries on a variety of data sources like arrays, XML, SQL server, … These queries are defined using a syntax which is very similar to SQL.

Continue reading...

XML and PHP 5

July 31, 2007

6 Comments

It is probably safe to assume that everyone by now has seen the PHP 5 release announcements or at least have heard that XML support has been given a complete overhaul. Although I am still surprised with those I talk to who are still developing with PHP 4 and actively working with XML, rather than upgrading to PHP 5 to use the new XML tool sets, I guess it might be a bit scary to think about such an upgrade. Both ext/xslt and ext/domxml have been removed from the core PHP distribution and replaced with completely new extensions, resulting in the need to review and typically re-write all older code relying on either of those extensions in order to upgrade.

Continue reading...

Book Review – PHP Programming with PEAR

February 2, 2007

1 Comment

p. Ok, again, I’ve fallen way behind now on my book reviews. Here’s one that was released late last year that I’m just now getting around to reviewing. Click on inside, lets talk about “PHP Programming with PEAR”.

Continue reading...

IBM: Convert XML to JSON in PHP

January 18, 2007

1 Comment

p. IBM’s developerWorks has posted and interesting article on converting XML to JSON using PHP. Click on inside and let’s discuss it.

Continue reading...

Book Review: Pro PHP XML and Web Services

November 30, 2006

5 Comments

p. A few months ago, apress released an expansive tome by Rob Richards’ titled “Pro PHP XML and Web Services”. They were kind enough to send me a copy for review. Click on inside and let’s chat about it for a while.

Continue reading...

Consuming Webthumb’s API in PHP

October 17, 2006

Comments Off

p. Joshua Eichorn, author of “Understanding AJAX”, has written a cool web service called “Webthumb. Let’s take a look at it and look at some code to use it.

Continue reading...

Matthew Weier O’Phinney Talks About Zend_XmlRpc_Server

October 16, 2006

Comments Off

p. !

Continue reading...

php|works Tutorial Review: Rob Ricahrds – Advanced XML and Web Services

September 12, 2006

Comments Off

p. !

Continue reading...