want to join us? register, it's easy | help
 

grab rvdavid's rss feed rvdavid rss feed for saved articles

category icon

The Singleton Pattern with PHP

in PHP added by goodphptutorials, on 3/12/2007 advanced tutorials oop pattern

The Singleton Pattern is often mistakenly referred to as the OOP nuts "Global variable".
Classes that utilise the Singleton Pattern aims to have a single instance throughout the lifetime of the request/process.

comment save report
category icon

Template View and View Helper Design Patterns in PHP

in PHP added by rvdavid, on 6/12/2007 advanced tutorials oo programming php5

The Template View and View Helper patterns lend themselves nicely when it comes to developing a View Layer solution for PHP, or so I found out with the recent refactoring of Cubix (dubbed Cubix II). This View layer duo is very much a great candidate for a 'tag team'. Each component performs a role and together make up a big part of the View Layer.

comment save report
category icon

Using Stored Procedures & MySQLI in PHP 5

in PHP added by rvdavid, on 11/12/2007 beginner tutorials database mysql oo programming php5

For the occasions that you want to use a stored procedure you've written in MySQL 5 through PHP , the semantic tool to use is PHP's built in mysqli objects/package.

comment save report