In our last session, we finished writing the PHP class file that would control all the ad banner functions. This week, we look at the presentation layer for the administration of these functions.
Tag: PHP
PHP Ad Tracker Part III: Data Object Coding
This week, we’ll examine the code for the data object class file and how the other parts of the site will use these methods. First, we include the database connection string information. This information includes the database server name, cursor location and other pertinent information.
PHP Ad Tracker: Reports and Records
In this lesson, we will look at the functions responsible for generating reports and manipulating the data in the ads table and advertiser table.
PHP Ad Tracker: Data Object Design and Coding
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.Once we name all of the variables and functions, we will start applying the code to them.
Building a PHP Ad Tracker: Creating the Database Tables
Banner ads for services related to the web site owner’s industry allow customers to view products that tie into the site owner’s core business. In exchange, the web site owner can charge the banner ad owner for every impression (banner ad appearance) or click-through (when a user clicks the banner ad).