My Blog
contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!
Tag Archives: zend framework
Translate Your Error Messages in Your Zend Framework Controllers
I’ve been making a push to have more of my projects multi-lingual. However, one thing I kept forgetting about was those super-rare error messages that have to come from the Controller. For the most part, all of your errors should … Continue reading
Extend Zend_Mail to use Views
I love working in the Zend Framework view system. One thing that bothers me, however, is that I must create a complex set of models when trying to send email. I decided that I’d like to move all of this … Continue reading
Removing the extra elements on Zend_Form for Submit Button
Have you ever used Zend Form, created a submit button, and had a few extra tags that were just throwing you off? I know you have… You probably did it like me: ?View Code PHP1 2 3 4 $this->addElement(’submit’, ‘submitbutton’, … Continue reading
Zend Framework Use Filter with Paginator
By default, when using the Zend Paginator, the result set will come back as an array. If you are using a paginator associated with a db result set, and that db has a class defined for its row, it will … Continue reading
Creating a custom Zend Framework Body Script helper
It drives me nuts that the best practices with javascript that is not required for the initial rendering of your application is to be placed at the bottom of the document, yet frameworks (like Zend Framework) do not support that … Continue reading
Split Read/Write Connections in Zend Framework Database on the Application Level
I’m no sys admin, so I can’t be sure, but I’ve seen lots of issues with using things like MySQL Proxy to fully separate the write and read queries in an application. Maybe it works, I don’t know… but I … Continue reading
Zend Framework Static Router URLs Not Found in Zend Navigation
For a CMS I’ve been working on, there are a number of custom routes that are added statically in a loop. These point to specific ID’s of articles on on the default module’s page viewing controller/action. Sometimes these routes need … Continue reading
Zend Framework Authentication: Let the user know if it is their fault
One of the things that is irritating is logging into a website with credentials that you know are right, only to have it fail. Then, later, you find that the site was malfunctioning. By then, maybe you requested a new … Continue reading
Service Class Methodology
There has been a lot of discussion on forums and throughout the object oriented PHP programming community about service classes. This is just intensified by the Zend Framework model of development coupled with the changes in their design/architecture and vocal … Continue reading
Zend Framework Front Controllers vs Bootstrap: Round 2
This article is the follow-up to the original article. There was some discussion on Twitter regarding the original version of my article about putting most of your site’s setup in the front controller plugins in Zend Framework. However, I haven’t … Continue reading
