Archive for February, 2010

Easy command line scripts with Zend Application

25 February, 2010

David Caunt wrote up a use­ful arti­cle on com­mand line script­ing;
As PHP devel­op­ers, it is con­ve­nient to be able to write com­mand line scripts in PHP. In doing so, you will almost cer­tainly want access to Zend Frame­work com­po­nents and their con­fig­u­ra­tions as if you are writ­ing a nor­mal MVC app, but […]

Tags: , , , ,
Posted in Development, Zend Framework No Comments »

Zend_Form Decorators Explained

24 February, 2010

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 […]

Tags: , , ,
Posted in Development, Videos, Zend Framework No Comments »

Zend_Translate with Dynamic Parameters

24 February, 2010

Pas­cal Opitz posted a nice lit­tle snip­pet; Just a quick snip­pet to have dynamic para­me­ters in the under­score func­tion, with­out hav­ing to write sprintf every time.

Tags: ,
Posted in Development, Translation, Zend Framework No Comments »

Zend_Validate messages translated to Swedish

18 February, 2010

Thomas Wei­d­ner com­mits the hackix.com Swedish trans­la­tions to trunk.
Danny spent some time trans­lat­ing the ~200 val­i­da­tion mes­sages in /resources/languages/sv/Zend_Validate.php make sure to give them an eye over after your next trunk (1.10.2+) check­out and report any sug­ges­tions & feed­back here.

Tags: , , , ,
Posted in Development, Translation, Zend Framework 2 Comments »

Logging with Timestamps and Doctrine Event Listeners

17 February, 2010

Jon Leben­sold pub­lishes another screen cast on the Doc­trine topic;
This short video is going to be the last in my 2009–2010 series on Doc­trine 1.2. I’m wrap­ping it up with a lit­tle exam­ple of adding time­stamps, log­ging and using Doctrine’s event lis­tener archi­tec­ture.
Grab a copy of the project or browse the repos­i­tory.
view […]

Tags: , , , , ,
Posted in Development, Doctrine, Videos, Zend Framework No Comments »

Zend_Db_Schema Component Proposal

16 February, 2010

Pieter Kokx has posted a pro­posal and needs feed­back.
Zend_Db_Schema is a com­po­nent that pro­vides abstrac­tion for DDL state­ments.
You can find the pro­posal here.

Tags: , ,
Posted in Proposals, Zend Framework No Comments »

Zend_Translate & TMX adapter — Source language strings as id

14 February, 2010

Thomas Wei­d­ner describes some addi­tional func­tion­al­ity only avail­able from Zend Frame­work 1.10.2+ and for­ward, for those of us that do *not* wish to use a sep­a­rate mes­sage id/key but rather the source lan­guage string in the source code.
Set the “useId” option to false.
In this case the source lan­guage is used as mes­sage key and the […]

Tags: , ,
Posted in Development, Translation, Zend Framework No Comments »

Jayson Minard: Yes, I Crashed the Site!

12 February, 2010

Jayson Minard wrote a very good arti­cle on upgrad­ing a pro­duc­tion site and what can go wrong and what we can learn from it.
Yes­ter­day, I per­formed an upgrade to a third-party pack­age used with Zend Devel­oper Zone. It has an auto­mated schema update sys­tem which silently per­forms actions on the data­base that had a large impact […]

Tags: ,
Posted in Databases, MySQL, System Administration 3 Comments »

CSS Rounded Corners In All Browsers (With No Images)

5 February, 2010

n the past two years, increased browser sup­port has trans­formed CSS3 from a fringe activ­ity for Safari geeks to a viable option for enter­prise level web­sites. While cross-browser sup­port is often too weak for CSS3 to hold up a site’s main design, front-end devel­op­ers com­monly look to CSS3 solu­tions for progressive […]

Tags: ,
Posted in CSS, Development 3 Comments »

App_Controller_Helper_Params for JSON and XML POSTs

4 February, 2010

Matthew Weier O’Phinney shares a bit of very use­ful code to inject request params into a Zend Frame­work request object from a JSON or XML POST request.
“Below is a plu­gin I use to trans­late JSON or XML raw post request data to request user para­me­ters.
Note that it expects a “Content-Type” header of either “application/json” or […]

Tags: , , , ,
Posted in Development, PHP, Zend Framework No Comments »

11 easy steps for installing Apache ActiveMQ for PHP

4 February, 2010

Take a peak at Web Devel­oper Juice’s writeup on how to con­fig­ure and use ActiveMQ (Mes­sage Queues), defen­itely worth the read.
Apache ActiveMQ is one good option for imple­ment­ing mes­sage queue in your PHP appli­ca­tion. It can be eas­ily installed on your server and it’s web acces­si­ble admin inter­face really makes administrator’s life easy. […]

Tags: , ,
Posted in Development, PHP No Comments »

Introduction to Zend_Mail

3 February, 2010

A big thank you to Ryan Horn for putting together this great screen­cast about Zend_Mail. Ryan took the time to talk about how to setup a dev envi­ron­ment that uses a gmail account. This is per­fect for folks like myself who work in a devel­op­ment envi­ron­ment that’s behind an annoy­ing ISP […]

Tags: , , ,
Posted in Development, Videos, Zend Framework No Comments »

Zend_Session_SaveHandler_Cookies

1 February, 2010

Romain Lalaut wants some feed­back on his pro­posal for Zend_Session_SaveHandler_Cookies is a save han­dler which stores data into the cook­ies client.
The main ben­e­fit is to avoid the stor­age of such data on the server. It is espe­cially use­ful when you have a farm of servers to man­age.
Give him a hand here Zend_Session_SaveHandler_Cookies.

Tags: , , , ,
Posted in Development, PHP, Proposals, Zend Framework No Comments »

Get Adobe Flash player