To achieve complete Doctrine 1 integration with Zend Framework some glue is required, Benjamin Eberlei has created a complete solution thats straight forward, easy to use and understand. This project tries to offer a complete Integration of Doctrine 1 with Zend Framework. The following components belong to this Integration: Zend_Application Resource Zend Framework Modular Project […]
Benjamin Eberlei writes; Hello everyone, I completed a first version of Zend + Doctrine 1 integration today and want to share it with all you. Since currently the status on a 1.11 release is unclear I contacted all the contributors to various Doctrine-related components and combined them into a single release and wrote some documentation […]
Jon Lebensold posts an update to his excellent screencast; We’re going to take what was put together in the last 3 videos and now include some server-side validation that will appear asynchronously. This is an example of using Zend_Form as a validation tool via JSON. Grab a copy of the project or browse the repository. UPDATE: […]
Jon Lebensold writes; This video should help you build your own composite Zend_Form element. We’ll be building a phone element. The phone element will have 3 textboxes, one for geographic location, area code and local code. In the following videos will add a custom cell phone validator and some ajax validation. Grab a copy of […]
Nathan Garlington wrote a nice solution for Tab based forms; Yes, it is possible to display a form in a tabContainer. I do it all the time, including using other dijit containers as well. keep in mind that this is just my solution…there are probably other ways to do this. Feel free to customize it […]
Jon Lebensold post yet another excellent screen cast; This little video tutorial should set you up for building your own custom Zend_Form decorators in 15 minutes. I’ll show you how you can make the necessary class and have it easily added to your existing Zend_Form_Decorator configuration. Grab a copy of the project or browse the […]
Jon Lebensold posts another great screen cast about one of the most confusing parts of Zend Framework ever created ; One of the pain points for folks who are starting to work with the Zend Framework is the Decorating functionality found in the depths of Zend_Form. I’ve witnessed countless instances when a developer becomes excited […]
A very common question is how do I get a localized / translated list of countries, currencies etc for a company registration form or similar. Here is a easy to use sample; For your cut’n’paste pleasure <?php class Form_Company extends Zend_Form { private $elementDecorators = array( […]
Chris Hartjes writes a very nice article about how to make (re)usable zend_forms; After searching around online for some examples of building simple forms, I was dismayed to discover there were two different ways of building the form. I could (a) do it the long way and create specific instances of the form elements using […]
You will notice that once you have started translating an application using poedit it’s quite a smooth process, what hampers the experience a little bit is the mutitude of ways you can write code in Zend Framework, this is great in every way for developers, but requires a bit of thinking when you need to also translate all the UI strings.
So how do we make poedit detect the strings while making our code pretty?
A recurring problem for site developers is implementing a solid way to create and maintain multilingual sites, this article series is my feeble attempt to guide you through how to quickly implement the Zend_Translate in an Zend Framework 1.9.x site.
The procedures and best practices for this is unfortunately like training a dog, everyone has a different way of doing it and an opinion, so the methods and code I show here are take out of applications that are running in production so if you have a better way of doing it please feel free to comment!.