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

Programming Facts Blog: Upload large(Big) files in PHP using .htaccess

Chauy.com: LAMP - The Most Popular Server System Ever.

SitePoint PHP Blog: Social Network Authentication - Setup & Google+

Sameer Borate's Blog: Accessing Amazon Product Advertising API

SitePoint PHP Blog: Getting Started with Symfony2 Route Annotations


Community Events

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


php7 laravel opinion part2 project language podcast example yii2 list symfony series interview composer api application framework community programming introduction

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