News Feed
Sections




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

Developer Drive:
Building a PHP Ad Tracker Data Object Design and Coding
February 08, 2012 @ 12:57:54

Continuing on from the first part of their tutorial series about creating a simple ad tracker for your web application, Developer Drive is back with part two, a more in-depth look at the actual object design and code.

In our last PHP Ad Tracker lesson, we constructed the database tables for our ad banner application. Now we are ready to construct the data object that will hold the variables and functions that will display, add, edit and delete the data in those tables.

They cover each of the variables they'll be using with a summary of what they're used for as well as the various functions to be defined and what they'll return. Following this, they get into the actual development - creating an "ads" class and defining the methods to get the current ad count, get the number of clients and pull the actual client/ad data.

0 comments voice your opinion now!
ad tracker tutorial object design code


blog comments powered by Disqus

Similar Posts

Devshed: The Basics of Using the Prototype Pattern with PHP 5

Limitless Studios: Determine Number Of Online Users Without A Database

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 1

Nadeau Software: PHP tip: How to get a web page using CURL

DevShed: Graphical Interfaces and Unit Testing


Community Events





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


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

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