News Feed
Sections




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

DevShed:
Using Visitor Objects with MySQL Data Sets in PHP 5
August 16, 2006 @ 16:11:58

DevShed is continuing its series on using Visitor objects in PHP5 with this new tutorial today, a look at uisng them in relation to MySQL and sets of data inside.

So far, implementing visitor objects with PHP is indeed a educational process, which helps to extend even more the boundaries of the vast arena of pattern-based programming. Based on this premise, in the course of this last article, I'll expand the application of the visitor pattern by developing a slightly more realistic example. It will show you how to use visitors objects to establish a direct relationship between a MySQL processing class and a pagination mechanism.

They start by establishing an interaction between the visitors and the data in the MySQL database, providing the complete code for the class and the creation of the visitor objects. The wrap it up with a look at the creation of a pagination class, linking the display of a "page" of records to each of the visitors of the site.

2 comments voice your opinion now!
mysql php5 visitor object pagination tutorial part3 mysql php5 visitor object pagination tutorial part3


blog comments powered by Disqus

Similar Posts

DevShed: Handling Cookies and File Data with the Factory Pattern in PHP 5

Mark Karpeles' Blog: PHP DNS Daemon

Stefan Mischook's Blog: Classes and Objects in PHP

DevShed: Completing a Search Engine with MySQL and PHP 5

SourceForge: ExtJS Poker (Texas Hold'em Poker with ExtJS, CodeIgniter & MySQL)


Community Events





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


developer install threedevsandamaybe series language laravel api code library introduction configure list release podcast application symfony unittest wordpress community interview

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