News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPMaster.com:
Server-Side HTML Handling Using phpQuery
June 12, 2012 @ 10:58:26

PHPMaster.com has a new tutorial today showing how you can use phpQuery to work with HTML in your application. phpQuery is a server-side CSS-selector-driven based on jQuery's API.

Think about how you can change and manipulate the generated HTML using server-side PHP code. phpQuery is the ultimate solution that will come to your mind. If you haven't heard about phpQuery, you may be interested in this article since I am going to give you a brief introduction to phpQuery and explain how you can use it in real-world projects.

The tutorial shows you how to generate a simple table with alternating row colors (zebra) and column headers from an array of product information. They also talk a bit about why using something server-side like this is important (over something client-side like jQuery) - how it can make things easier by keeping the "business logic" all in one place, leaving your frontend to do what it does best.

0 comments voice your opinion now!
tutorial phpquery backend html processing


blog comments powered by Disqus

Similar Posts

DevShed: Introduction to Using SQLite with PHP 5

Aext.net: CodeIgniter and jQuery - Real Live Search with Pagination

Lorna Mitchell's Blog: Installing Gearman for PHP and Ubuntu

PHPBuilder.com: The ABC's of PHP - Part 10 - The Final Installment (XML & Regex)

ServerGrove Blog: Logging MongoDB queries using Symfony 2 and Doctrine ODM


Community Events





Don't see your event here?
Let us know!


list release community series api interview tips laravel opinion podcast zendserver threedevsandamaybe library deployment framework symfony language introduction bugfix developer

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework