How To Create Zebra Striped Tables

Zebra striped tables look good. It guides the user’s eyes when looking into your rows of data. This one useful when you have long list of data, making your app more user friendly. DOWNLOAD SOURCE CODE LIVE DEMO Step 1: Prepare your database configuration file. (I have config_open_db.php). As for the table structure, we can… Continue reading How To Create Zebra Striped Tables

How To Use jQuery Lightbox With A Database? Step by Step Guide!

Today I’m gonna show you how to use Lightbox while getting photo information from your database. I think this is great if you wanna have something like a dynamic photo gallery in your site. LIVE DEMO Step 1: Prepare your Database. We’ll have something like this: Step 2: Download Lightbox here. Step 3: Unzip it… Continue reading How To Use jQuery Lightbox With A Database? Step by Step Guide!

Sample Use of JavaScript Confirm Pop Up Boxes

I’m gonna give you an example on how to use JavaScript confirm pop up boxes to delete a database record. JavaScript Confirm Pop Up Box File Name: index.php Here’s how it works:1. When you run this code, you will see a delete link.2. After clicking that link, a JavaScript Pop Up Box will appear saying “”Are… Continue reading Sample Use of JavaScript Confirm Pop Up Boxes

CakePHP Naming Conventions

CakePHP requires us to follow certain convention. In this way, we will have very uniform system development, have free functionality, and save time over tracking configuration files! :)1. Create a Model  directory: app/models/ filename: post.php  classname: Post extension: class Post extends AppModel The filenames of models are always singular. And its classnames are CamelCased. 2. Create a Controller  directory: app/controllers/ filename: posts_controller.php classname: PostsController extension: class… Continue reading CakePHP Naming Conventions

Back to top