Site Archives php
PHP: Manipulate Images with GD
I mentioned a personal project I was working on in the Comet: A Primer blog entry. I hate to mentioned my personal projects since I seem to start more than I ever finish. To let the cat out of the bag, so to speak, I am working on implementing a card game in a web [...]
PHP: Text Circle
I was messing around trying to create a circle tag cloud that I would later use jQuery to animate the text around the outside of the circle on mouse over events. The base level to this idea was to draw a circle. I graduated college with a math minor and it never ceases to amaze [...]
Ignite your PHP Code
While reading a couple of PHP blogs I ran across a couple references to a framework called CodeIgniter. I decided to take a closer look.
From the CodeIgniter website:
CodeIgniter is a powerful PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. If [...]
Use WordPress functions externally
I did some quick research and was surprised to find how easy it was to add wordpress function to pages that were external to the blog site folder.
Find the path on which your blogs root it, on the path there is a file wp-config.php. This file once reference on your external page opens the WordPress [...]
REST Client : Approaches to Implementation
I have covered a couple of REST topics previously, Who Needs REST? and Now for the REST of the Story. I started playing around with a client library used to consume rest services and discuss the experience below.
The approaches
My first approach was to create a version of the client using a strategy pattern. By using [...]
Now for the REST of the story
What is REST?
When boiled down, REST is an architectural style that defines a set of constraints. These constrains describe what HTTP and the World Wide Web are based on. These constraints can be defined as follows (list and image below used from A Brief Introduction to REST):
Give every “thing” (resources) an ID
Link things together
Use [...]
PHP, Query Object Pattern
This continues the discussion of Martin Fowler’s Object Query pattern from the book Patterns of Enterprise Application Architecture. The previous discussion about the Metadata mapper pattern talked about how to map domain objects to database results.
These discussion are really a brief overview of Microsoft’s Repository Factory and how they use Fowler’s patterns with [...]
PHP, Data Access Metadata Mapper
In thinking about the post I made a couple of days ago about PHP and the idea of using a Data Access Layer it had inspired me to do some reading. So I have been digging through Martain Fowler’s book Patterns of Enterprise Application Architecture (pictured to the left). Three patterns I have been [...]
Useful PHP Releated Links
Recommended PHP reading list
A list of recommended reading material on PHP is compiled from a variety of online sources by Web application developers in IBM’s Global Production Services organization.
Five common PHP design patterns
Design patterns are just for Java architects — at least that’s what you may have been led to believe. In fact, design patterns [...]
PHP, Data Access Layer
In reading about PHP data access one thing that I notice is a lot of example that explain reading and writing to a database have the mysql_connect() function and write/execute SQL statement directly in the page code. Coming from an enterprise architecture background this makes me cringe. It really reminds me of my early days [...]
Find It Quickly
Find what you're looking for quickly by using our keyword search. Can't find it? Try our links below.


