The MySQL Database class is implemented using the singleton design pattern. This design pattern allows for only one single instance of the object. This one instance can then be obtained through a static method. This provides a convenience in that you can get your database object from anywhere in your code.
Continue reading
Tag Archives: database
Database PHP Session Handling
Database PHP Session Handling
As you should be aware the HTTP protocol, as used for serving web pages, is completely stateless. This means that after the server has received a request, processed it and sent a response, the process which dealt with that request dies. Anything that the process had in its memory therefore dies with it, so when a subsequent request is received from the same client it is unable to refer to its memory about anything that happened previously.
Continue reading
Adobe Air Zip Code Database
Adobe Air Zip Code Database
Ever want to find your zipcode? Ever want to find the geolocation of your zipcode? Ever want to find the zipcodes in a State or City? Ever play around with Adobe Air? Well, I have had all of the previous inclinings. I decided to check out a source forge project: