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: Implementing the Stage Pattern in PHP 5

php|architect: Rich Internet Applications With PHP and Flex (Part 2)

DevShed: PHP Statements and Beginning Loops

Ivo Jansch's Blog: Validating OCL constraints in PHP objects

Nefarious Designs: Object-Oriented PHP Part 2: Relationships


Community Events





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


deployment voicesoftheelephpant series framework opinion bugfix library interview package install introduction language tips api podcast symfony community release laravel list

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