Tag Archive

ClamAV as a Validation Filter in Zend Framework

Published on 19 January, 2012 By Danny Froberg

Matthew Set­ter writes a very inter­est­ing arti­cle; Ok, so you’re pretty com­fort­able with using the Zend Frame­work, specif­i­cally the use of Forms. Along with that, you have a good work­ing knowl­edge of how to com­bine a host of stan­dard val­ida­tors such as Cred­it­Card, EmailAd­dress, Db_RecordExists, and Hex, and stan­dard fil­terssuch as Compress/Decompress, Base­Name, Encrypt, and Real­Path. But what do you do when a sit­u­a­tion arises that’s out­side the […]

A Zend Framwork compound form element for dates

Published on 21 March, 2011 By Danny Froberg

Rob Allen writes; A while ago I needed to ask a user for their date of birth on a Zend_Form. The design showed three sep­a­rate select ele­ments to do this:
Screen shot of a 3 select boxes for a date on a form
A lit­tle bit of googling found this site http://codecaine.co.za/posts/compound-elements-with-zend-form which has not unfor­tu­nately dis­ap­peared, so the […]

Complete Doctrine 1.2x Integration with Zend Framework 1.10+

Published on 16 July, 2010 By Danny Froberg

To achieve com­plete Doc­trine 1 inte­gra­tion with Zend Frame­work some glue is required, Ben­jamin Eber­lei has cre­ated a com­plete solu­tion thats straight for­ward, easy to use and under­stand.
This project tries to offer a com­plete Inte­gra­tion of Doc­trine 1 with Zend Frame­work. The fol­low­ing com­po­nents belong to this Integration:

Zend_Application Resource
Zend Frame­work Mod­u­lar Project Sup­port
Zend_Tool Provider for […]

Zend Framework + Doctrine 1 Integration

Published on 24 May, 2010 By Danny Froberg

Ben­jamin Eber­lei writes; Hello every­one,
I com­pleted a first ver­sion of Zend + Doc­trine 1 inte­gra­tion today and want to share it with all you. Since cur­rently the sta­tus on a 1.11 release is unclear I con­tacted all the con­trib­u­tors to var­i­ous Doctrine-related com­po­nents and com­bined them into a sin­gle release and wrote some doc­u­men­ta­tion on […]

Ajaxify Your Zend_Form Validation with jQuery

Published on 16 April, 2010 By Danny Froberg

Jon Leben­sold posts an update to his excel­lent screen­cast; We’re going to take what was put together in the last 3 videos and now include some server-side val­i­da­tion that will appear asyn­chro­nously. This is an exam­ple of using Zend_Form as a val­i­da­tion tool via JSON.
Grab a copy of the project or browse […]

Writing Composite Zend_Form Elements

Published on 11 March, 2010 By Danny Froberg

Jon Leben­sold writes; This video should help you build your own com­pos­ite Zend_Form ele­ment. We’ll be build­ing a phone ele­ment. The phone ele­ment will have 3 textboxes, one for geo­graphic loca­tion, area code and local code. In the fol­low­ing videos will add a cus­tom cell phone val­ida­tor and some ajax val­i­da­tion.
Grab […]

Tab Container Enabled Forms

Published on 3 March, 2010 By Danny Froberg

Nathan Gar­ling­ton wrote a nice solu­tion for Tab based forms; Yes, it is pos­si­ble to dis­play a form in a tab­Con­tainer. I do it all the time, includ­ing using other dijit con­tain­ers as well. keep in mind that this is just my solution…there are prob­a­bly other ways to do this. Feel free to cus­tomize it […]

Creating Custom Zend_Form Decorators

Published on 3 March, 2010 By Danny Froberg

Jon Leben­sold post yet another excel­lent screen cast;
This lit­tle video tuto­r­ial should set you up for build­ing your own cus­tom Zend_Form dec­o­ra­tors in 15 min­utes. I’ll show you how you can make the nec­es­sary class and have it eas­ily added to your exist­ing Zend_Form_Decorator con­fig­u­ra­tion.
Grab a copy of the project or […]

Zend_Form Decorators Explained

Published on 24 February, 2010 By Danny Froberg

Jon Leben­sold posts another great screen cast about one of the most con­fus­ing parts of Zend Frame­work ever cre­ated ;
One of the pain points for folks who are start­ing to work with the Zend Frame­work is the Dec­o­rat­ing func­tion­al­ity found in the depths of Zend_Form. I’ve wit­nessed count­less instances when a […]

& Currency Lists">Zend_Form Translated Country & Currency Lists

Published on 31 January, 2010 By Danny Froberg

A very com­mon ques­tion is how do I get a local­ized / trans­lated list of coun­tries, cur­ren­cies etc for a com­pany reg­is­tra­tion form or sim­i­lar.
Here is a easy to use sam­ple; For your cut’n’paste pleasure

Creating Usable Forms With Zend Framework

Published on 28 January, 2010 By Danny Froberg

Chris Hart­jes writes a very nice arti­cle about how to make (re)usable zend_forms; After search­ing around online for some exam­ples of build­ing sim­ple forms, I was dis­mayed to dis­cover there were two dif­fer­ent ways of build­ing the form. I could (a) do it the long way and cre­ate spe­cific instances of the form ele­ments using […]

How to make POEdit detect source strings in Zend Framework

Published on 16 January, 2010 By Danny Froberg
This entry is part 3 of 4 in the series Work­ing with Zend_Translate and Poedit

You will notice that once you have started trans­lat­ing an appli­ca­tion using poedit it’s quite a smooth process, what ham­pers the expe­ri­ence a lit­tle bit is the muti­tude of ways you can write code in Zend Frame­work, this is great in every way for devel­op­ers, but requires a bit of think­ing when you need to also trans­late all the UI strings.
So how do we make poedit detect the strings while mak­ing our code pretty?

Bootstrap Zend_Translate

Published on 2 January, 2010 By Danny Froberg
This entry is part 2 of 4 in the series Work­ing with Zend_Translate and Poedit

A recur­ring prob­lem for site devel­op­ers is imple­ment­ing a solid way to cre­ate and main­tain mul­ti­lin­gual sites, this arti­cle series is my fee­ble attempt to guide you through how to quickly imple­ment the Zend_Translate in an Zend Frame­work 1.9.x site.
The pro­ce­dures and best prac­tices for this is unfor­tu­nately like train­ing a dog, every­one has a dif­fer­ent way of doing it and an opin­ion, so the meth­ods and code I show here are take out of appli­ca­tions that are run­ning in pro­duc­tion so if you have a bet­ter way of doing it please feel free to comment!.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes