Wednesday, February 11th, 2009
First a quick announcement: please let me know if the blog seems slow/sluggish. I have been experiencing some slowness, and I recently installed WP Super Cache which seems to have helped, but let me know if you encounter anything!
Now, the post: This time, we'll look at Zend_Acl a bit deeper ...
Posted in Programming | 14 Comments »
Friday, February 6th, 2009
I'm going to be writing a weekly series of posts on Zend_Acl. This first post will clear up some common misconceptions regarding Zend_Acl, introduce creating ACLs for simple applications, and give some examples on using the ACL in both non-Zend Framework and Zend Framework applications.
Later in the post series I'll ...
Posted in Programming | 33 Comments »
Saturday, January 17th, 2009
I decided to try profiling my quiz application to see if I could speed it up. Not surprisingly, biggest performance penalties came from loading classes and Doctrine's ORM magic.
Here are some findings on how to improve performance.
Posted in Programming | 11 Comments »
Wednesday, January 7th, 2009
Matthew Weier O'Phinney wrote about using Zend_Form with models. His approach puts a form inside a model, which then uses the form to validate itself.
While this idea is not bad, I find it being upside down - I think the form should use the model to validate itself, not the ...
Posted in Programming | 13 Comments »
Saturday, December 27th, 2008
Sometimes you will need nearly the same functionality in many actions. This can lead to unnecessary code duplication if you aren't careful, and there's been a couple of occasions on #zftalk, where people have been asking for a good practice to avoid this.
There are several ways to deal with this, ...
Posted in Programming | 7 Comments »
Monday, December 15th, 2008
The packageizer had some problems determining the dependencies for the newly added Zend Framework 1.7 packages, but the problem is now fixed.
The packageizer source-code has also been updated with the patch.
Posted in general | 2 Comments »
Tuesday, December 9th, 2008
Some of you asked me about the "quiz" thing that showed up in one of the screenshots in my NetBeans review... Well, here it is:
During that weekend when I was trying out NetBeans, I wrote a small Zend Framework + Doctrine application which attempts to guess a programming language ...
Posted in Programming | 7 Comments »
Saturday, December 6th, 2008
"What is a model" and "Is Zend_Db_Table a model" seem to be asked once in a while on #zftalk. Frameworks say they have a full model available, thus they are MVC frameworks
ORM libraries say they generate models. It seems the ActiveRecord pattern has become somewhat synonymous with model.
Pádraic Brady ...
Posted in Programming | 11 Comments »
Thursday, November 27th, 2008
Yesterday, I was talking on IRC with Tom Graham. He was looking for a way to protect GET requests against CSRF. I showed him my CSRF protection plugin, as it would be suitable for protecting GETs too with minor modifications.
This got me thinking what would be the best way to ...
Posted in Programming | 6 Comments »
Friday, November 14th, 2008
Last month, I introduced the packageizer, which allowed you to choose a class from the Zend Framework and get it as a zip with its dependencies.
Now, based on some feedback from users, I've improved the user interface of the tool: You can now select multiple items for inclusion in the ...
Posted in Programming | 17 Comments »