-
Doctrine, Complex SQL Queries, and Paginators
Posted on October 7th, 2009 1 comment
Read Entire Article
In my efforts to build web applications using domain model programming I’ve encountered some interesting technical hurdles for keeping my implementation details away from my models. The most problematic issue that has come up time and time again has been that of using paginators. It’s very difficult to keep your paginator class in the dark about database implementation details and have it be able to handle complex use cases. Over the last few months I have slowly evolved a sophisticated way to describe a complex sql query using nothing more than an associative array which can be passed to a clueless paginator which talks to the database through a predefined interface to a model gateway. Yeah the mad scientist is me because that’s how I felt when I looked back on the pure genius of this method.
Development, Doctrine, PHP, Zend Framework Doctrine, Domain Model, DRY, Pagination, php, SQL, Zend FrameworkRelated Topics
-
Upload progress meters with PHP
Posted on July 28th, 2009 No commentsUpload progress meters have always been a point of pain when writing web applications in php. I don’t know if its still the case with php 5.3 but versions prior had no built in way to check on the status of a file upload mid-transit. This was especially irritating considering perl could do this. A [...]
Read Entire Article
Development, Javascript, PHPRelated Topics
-
Rendering True Type Fonts in WordPresss
Posted on July 11th, 2009 No commentsI created a new wordpress plugin that functions much like sifr. It automates swapping out web text with dynamically rendered images of text using true type fonts. Read more about it on the eroi fresh blog or check out the new page I added here on roz. Enjoy.
Read Entire Article
Development, PHP, WordpressRelated Topics
-
Ajax – Too Much of a Good Thing
Posted on June 23rd, 2009 No commentsI’ve stated this many times, but working as a lead php developer at eroi has been both an adventure and educational. Each project brings new challenges, requirements, and the obligatory ‘experiments’. I’ve had the opportunity to deploy some pretty good size projects, at least what I would dub ‘enterprise’ scale websites with enough traffic to [...]
Read Entire Article
-
Implement a Rest API with the Zend Framework
Posted on May 6th, 2009 22 commentsEdit: Recent developments in the 1.9 version of the Zend Framework has caused much of this information to become obsolete. Please consider Zend_Rest_Server deprecated and use Zend_Rest_Controller instead. I will write an updated article once I have experimented with it. Thanks to the other developers who brought this to my attention. As a developer and [...]
Read Entire Article
-
Asynchronous Image Loading with jQuery
Posted on April 9th, 2009 29 commentsI thought it would make for a good change of pace to switch gears from back end development to front end development. So far I’ve focused primarily on php development which makes sense since that is my job here at eROI. There are plenty of opportunities to get my hands dirty doing javascript development, and [...]
Read Entire Article
-
Modular Zend Framework Skeleton 2009
Posted on April 8th, 2009 14 commentsSo the application skeleton series proved to be more popular than I was expecting. Unfortunately after a couple of server migrations, the source code examples that were linked to those articles did not survive the trip. I’ve gotten a lot of comments to restore those examples so I decided to write a new article to [...]
Read Entire Article
Development, PHP, Zend Framework application, examples, framework, modules, MVC, php, skeleton, zendRelated Topics
-
Object Oriented GD
Posted on April 6th, 2009 1 commentSooner or later we all need to use the gd library whether it be for generating thumbnails, scaling images, cropping, or whatever. When compiled with gd support, PHP offers a massive arsenal of functions to accomplish all of the image related tasks you can think of. With the advent of object oriented frameworks such as [...]
Read Entire Article
-
Domain Model Programming With the Zend Framework
Posted on April 3rd, 2009 12 commentsEach application I write tends to be an evolutionary successor to the previous and I suspect this is the case for most developers. With long term projects one tends to find things that work better than others, and methods that end up being a real pain in the ass and not as scalable as hoped [...]
Read Entire Article
-
Multi-Lingual Support with Zend_Translate and PHPTAL
Posted on March 23rd, 2009 4 commentsI recently had to implement multi lingual support in a Zend Framework application to accomodate 4 languages in a social networking site: English, Spanish, Porteguese, and French Canadian. The site was fairly large comprising of a large number of heavily dynamic templates with a lot of user generated content. At first it seemed daunting and [...]
Read Entire Article


