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

Stuart Herbert's Blog: Dealing With PEAR Dependency Quirks

PHPBuilder.com: File uploads made easy

LaughingMeme.com: Looking at PHP5ís DateTime and DateTimeZone

Builder.com.au: Creating and managing a Mysql database with phpMyAdmin

Job Posting: Xyzmp3.com Seeks PHP/MySQL Developer (Austin, TX)


Community Events





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


refactor series list developer interview threedevsandamaybe unittest laravel configure testing opinion introduction podcast wordpress language framework code community install release

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