Posted by Jacob Wright in ActionScript 3, Flash, PHPNov 16th, 2009 | 16 Comments
After building a couple of RESTful services using the Zend Framework, I decided to create a dead simple REST server that allowed me to skip all the features I didn't need as well as a tons of classes that came with Zend Framework MVC. There are still useful features to add (XML support for example), but overall I'm quite happy with what I've come up with.
My solution, RestServer, is a JSON REST server, so far. It should be trivial to add support for XML or other formats, but there would have to be assumptions on what your object would look like in XML (XML-RPC style, your own custom XML format,...
Posted by Jacob Wright in ActionScript 3, Flash, Flex, PHPFeb 12th, 2009 | 4 Comments

The Flight Framework is basically a collection of great utilities and independent tidbits that are organized to help us build our application. So I thought I'd make a call out to all the great standalone features in Flight, tell what they are, and leave it to another day to go more in depth on them.
Fix for abstract classes
The tiny static classes in the flight.error package allow you to ensure an abstract class is not instantiated and that abstract methods are overriden.
Registry
A global registry to store objects or data that anything in an application can have access too.
Reflection
The "Type"...
Posted by Jacob Wright in General, Object Oriented Programming, PHPOct 27th, 2005 | 3 Comments
We are calling for developers who would like to join in on a fun object oriented PHP 5 ecommerce project entitle ooCommerce. Please email me or leave a comment if you would like to be a developer on this project or help in any way. The project is hosted at SourceForge and currently only has downloads for the template system it will be using, Arras Template. Arras Template has a website at www.arrastemplate.org.
We (actually just myself right now) hope for this to be a good learning experience for others and are blogging about our design decisions how we are putting it together along the way....
Posted by Jacob Wright in General, Object Oriented Programming, PHPOct 7th, 2005 | 1 Comment
We've broken down our system down into some general parts already. Now it's time to make some decisions on more specific pieces of ooCommerce and break the system down into some main objects.
What's in our Model
Well, first off, we know we need a database to store all of our store's data. We'll put off the database schema for now. But what we do need to decide is what database to use. And if we want to support several databases (which we do), what should we do to abstract the databases so that we use the same API no matter which database we use.
There are a few object-oriented options out there....
Posted by Jacob Wright in General, Object Oriented Programming, PHPOct 4th, 2005 | 1 Comment
So, we're going to build ooCommerce, an ecommerce solution, an open source one. What pieces are involved? What are the major components of the system? Let's get this organized using a top down approach.
Every ecommerce system has a few major parts in common. One is the catalog. This is where we can browse and search for the products. Then, we have the shopping cart. This is where we put the products when we want to buy them. We have our checkout, which is the process where we can purchase what is in our shopping cart. And lastly, many systems including ours will have a customer account...
Posted by Jacob Wright in Applications, General, Object Oriented Programming, PHPSep 30th, 2005 | 3 Comments
In writing the articles on object oriented programming I have stuck with theory. After all, it is not language specific and takes less space to say what there is to say. However, I have been asked by serveral to provide a tutorial or include examples on object oriented code. Well, I've decided to do something more. My good friend Andrew Branch has pointed out many times before that we learn better when we do things ourselves. And so, in that spirit, we will start a new full-fledged project together. I will write along as we develope it about how we should try to do things, so we can more...