It is not well documented how to use the format option for sfWidgetFormJQueryDate in the sfFormExtrasPlugin for Symfony 1.4.
However, once I learned about sfWidgetFormJQueryDate’s date_widget option it was pretty easy. Just create a new date widget and use the format option there.
Continue reading “Quick Tip: using format option with sfWidgetFormJqueryDate”
Symfony 1.3 Web Application Development is the latest book on the symfony PHP web framework and the first not written by the authors of the framework.
This allows the authors to adopt a more pragmatic style that favors 3rd party plugins. This is a good thing because IMHO the most important thing about a framework is it’s library of extensions. Continue reading “symfony 1.3 Book by Tim Bowler & Wojciech Bancer”
I was having some trouble finding documentation on how to i18n generated CRUD’s, so once I figured (most) of it out I thought I’d share it
The Example Application
Since I have to create a feature in my one of my current work projects to store random bits of content, like privacy policies and such, in multiple languages. I thought I’d double dip and use that for this example. I’m calling the feature content blocks. It will have a backend CRUD that will facilitate translations. The UI I needed was to have the default language show up as well as one of the many languages this information would be translated into. My app has the possibility of having more than 20 language options so putting them all in the CRUD at once was unreasonable. Continue reading “Internationalized (i18n) Admin Generator CRUD’s in Symfony 1.2.9 + Doctrine”
Learning Zend Framework and getting a repetitive stress injury doing it
My friends & colleagues have used Zend Framework (ZF) for a while, and I do my best to avoid it and use the Symfony PHP framework. Initially I was open to learning ZF, I was just curious why people liked it. The more questions I asked, the more I realized there were no good answers other than standards for standards sake, and variations on the Sunk Cost Fallacy. If pressed I was told that I had to give Zend Framework a chance because it is a younger framework than Symfony, (um no). Some of the developers had even written a library to add on to Zend Framework to make it more usable, it contained features that were already in Symfony. IMHO, writing code to help a framework catch up is an excellent reason to switch to another framework.
Continue reading “Symfony refactor of the Zend Quick Start Tutorial”