[PHP] jQuery PHP Edition? phpQuery!

phpQuery is a server-side, chainable, CSS3 selector driven Document Object Model (DOM) API based on jQuery JavaScript Library.

Library is written in PHP5 and provides additional Command Line Interface (CLI).

Quoted from phpQuery homepage

phpQuery is a great library for processing HTML/DOM content. You can easily to use it, if you has experience in the jQuery. I always use this for data capture, the Selectors feature is powerful and save time.

The following is the major different between jQuery and phpQuery:

  • $() => pq()
  • you need load or init the document before action
  • encoding problem, you need ensure the charset between the script and processing content is consistent

More information please visit project homepage.

Homepage

http://code.google.com/p/phpquery/

Related posts:

  1. jQuery Overview jQuery is a fast and concise JavaScript Library that simplifies...
  2. Detect Internet Explorer 6 in jQuery Microsoft Internet Explorer 6 still is a popular browser in...
  3. jQuery Plugins – AjaxScroll AjaxScroll is an lightweight jQuery plugins . Provided the ajax...
  4. jQuery Plugins – CheckTree(ycTIN Edition) This edition is compatible with CheckTree, fixed some bugs and...
  5. [PHP] Using output buffering to create static page A example to show how to using the php output...


1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Tags: , ,  

Leave a Reply