Coffeerings-PHP-WAX
PHP-WAX Controllers
How the controller worksThe controller is one of the three core strands of the MVC Pattern. It is in charge of collecting data from the model or database tables and sending the relevant information to the viewread more
PHP-WAX Models
The file WXActiveRecord.php is the framework's ORM (Object Relational Mapper). This class sits on top of PDO to provide object-oriented, database-agnostic, database access. Your first job is to create a class for each of ...read more
PHP-Wax Model Validation
Validating DataBefore a model is saved to the database a method called validations() will automatically be run. This can generally be used as a hook to add validation information to the model class. There are a nu...read more
PHP-WAX Model Associations
For complicated model associations, the framework gives you a big helping hand by taking care of the dirty work of managing join tables. Take a typical example, the user can create pages and upload images, but yo...read more
PHP-WAX View Helpers
There are plenty of repetitive tasks that you need to do inside an HTML view. The beauty of helpers is that you only have to use them if they're helpful. Over the course of the next few versions the number and functionality of th...read more
RECENT ARTICLES
Useful bit of Javascript
Never thought about using javascript for this before but I had a requ... read more
Quick jquery Gallery
I had a look at some of the gallery plugins available for jquery and ... read more
Massive CPU usage when updating Fedora using YUM/RPMQ
We noticed that YUM and RPMQ processes were using a massive amount CP... read more
Import Error: No module named django.core.management
Installing and testing the Django Framework on my new mac I came acro... read more