PHP Example Updates
Posted: April 22, 2012 3:41 PM CDT by Michael
For this article, I'll try my best to answer the following questions without being overly detailed and boring: What is Class Abstraction? How does an Abstract Class differ from an Object Interface? How can I use Class Abstraction?
I won't go into a terrible amount of detail for this one as Class Abstraction, from my experience, is simply a combination of PHP5's Object Interfaces (with some ... continue reading
Posted: April 22, 2012 2:05 PM CDT by Michael
With this article, I hope to answer the following questions: What is an Object Interface? How do you create an Object Interface? How do you use an Object Interface and what issues could you run into when using one? Why use an Object Interface?
Hopefully I'll answer each question sufficiently enough that I don't create more questions than answers, but we'll see. I expect this article to be on the short side, but ( ... continue reading
Intro to CodeIgniter
Posted: February 17, 2012 2:28 PM CST by Michael
I've recently been given the opportunity to work with CodeIgniter. What is CodeIgniter? CodeIgniter is an application development platform that uses the MVC framework to deliver its content. MVC stands for "model, view, controller." Essentially, you use models (PHP Classes) to deliver content to "controllers" which then use that content to deliver data to "views" (which is a fancy word for webpage).
How does this work? Let's ... continue reading
The Singleton Design Pattern
Posted: February 10, 2012 12:08 PM CST by Michael
So, it was recently brought to my attention that there is a such thing as a Singleton design pattern for PHP. I hadn't heard of it before, so I did a little research on it.
Surprisingly, it's a pretty simple concept. The idea is that any instance of a Singleton object after the first initialization will always return the same instance of the object; effectively, only one instance of the object will ever ... continue reading