Tag Archive

Zend_Server Class

Published on 3 September, 2010 By Danny Froberg

e_schrade wrote a neat way of doing things in the ser­vice layer; Let’s take a quick look at some­thing that’s kind of neat in Zend Frame­work. I’ve been doing some work with Adobe on some arti­cles and one of them was on work­ing with mobile clients with Flash. Well, me being the masochist I did […]

PHP Project files">Finding syntax errors in your PHP Project files

Published on 24 August, 2010 By Danny Froberg

Till posted this lit­tle snip­pet; It’s so use­ful I just had to share it find . \( –name “*.php” –o –name “*.phtml” \) –exec php –l {} \; Just go to your project direc­tory and fire it off, it will help you find those pesky unmatched {}

Search each class for function names that match except for the underscore prefix

Published on 17 August, 2010 By Danny Froberg

Bill Kar­win posts a use­ful lit­tle snip­pet that will list and search each class for func­tion names that match except for the under­score pre­fix, pri­vate / pro­tected func­tions. <?php /**   * Find meth­ods that dif­fer only by the under­score pre­fix.   * by Bill Kar­win August 2010   *   * I release this […]

Testing Zend Framework controllers in isolation

Published on 11 August, 2010 By Danny Froberg

What I do is I have my con­trollers fetch all their depen­den­cies from the boot­strap and/or front con­troller. The most com­mon exam­ple is to pull the db resource from the boot­strap: // in con­troller $db = $this->getInvokeArg(‘bootstrap’)->getResource(‘db’); But I also take it a step fur­ther. For exam­ple, if I’m using data map­pers, I have the […]

Zend Framework 2.0 (2.0.0dev1)

Published on 7 August, 2010 By Danny Froberg

Yes­ter­day, the Zend Frame­work team tagged the first devel­op­ment mile­stone of Zend Frame­work 2.0 (2.0.0dev1). It is imme­di­ately down­load­able from the Zend Frame­work servers: * Zip pack­age: http://framework.zend.com/releases/ZendFramework-2.0.0dev1/ZendFramework-2.0.0dev1.zip * tar.gz pack­age: http://framework.zend.com/releases/ZendFramework-2.0.0dev1/ZendFramework-2.0.0dev1.tar.gz NOTE! This release is not con­sid­ered of pro­duc­tion qual­ity, and is released solely to pro­vide a devel­op­ment snap­shot for pur­poses of test­ing and […]

Autocomplete Control with ZendX_JQuery

Published on 6 August, 2010 By Danny Froberg

Jon Leben­sold posts; In the last video, I dis­cussed ZendX_JQuery inte­gra­tion. Now we’re going to take it a step fur­ther by devel­op­ing our own jQuery auto­com­plete con­trol, using a coun­try list, PHP 5.3 and anony­mous func­tions. Grab a copy of the project or browse the repos­i­tory. via Zendcasts.

Working with ZendX_JQuery

Published on 6 August, 2010 By Danny Froberg

Jon Leben­sold posts; I’ve received a lot of feed­back about jQuery inte­gra­tion in the Zend Frame­work. This lit­tle video will show you how you can quickly inte­grate jQuery and jQuery UI into your Zend Frame­work project. Grab a copy of the project or browse the repos­i­tory. via  Zendcasts.

A contents index for Zend Framework manual pages

Published on 6 August, 2010 By Danny Froberg

The good old Zend Frame­work man­ual pages do suf­fer from being some­what lengthy. I’ve thought they could do with an index to make nav­i­ga­tion eas­ier on those oh-so-long pages. So I wrote a quick JavaScript book­marklet to do just that. via  simon r jones.

Tutorial: Getting Started with Zend_Auth

Published on 26 July, 2010 By Danny Froberg

Rob Allen writes; After too many months of neglect, I have com­pletely rewrit­ten my Zend_Auth tuto­r­ial so that it is com­pat­i­ble with Zend Frame­work 1.10! As an exper­i­ment, I have writ­ten it directly in HTML, rather than PDF as before and cover the login form along with the login con­troller code required to authen­ti­cate a user […]

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 Inte­gra­tion: Zend_Application Resource Zend Frame­work Mod­u­lar Project […]

CSS with Zend_Layout">Selectively Adding CSS with Zend_Layout

Published on 15 July, 2010 By Danny Froberg

Jon Leben­sold post another screen­cast; This video out­lines a lit­tle trick I’ve found immensely help­ful in larger appli­ca­tions: man­ag­ing your css selec­tively. Luck­ily, the Zend Frame­work is built with some great fea­tures for han­dling this case using Zend_View and Zend_Layout. Enjoy! Grab a copy of the project or browse the repos­i­tory. via Zendcasts.

HTML Emails with Zend_Mail">Painless HTML Emails with Zend_Mail

Published on 15 July, 2010 By Danny Froberg

Jon Leben­sold posts a  quick video explain­ing how quickly and easy it is to write designer-friendly HTML emails using Zend_View and Zend_Mail. Grab a copy of the project or browse the repos­i­tory. via Zend­casts. (Sorry for the late addi­tion of this)

Understanding the stack index for Zend Framework Controller plugins

Published on 15 July, 2010 By Danny Froberg

Simon R Jones writes a very help­ful arti­cle about the stack index (the order you fire plu­g­ins) and how to cus­tomize it; Zend Frame­work Con­troller plu­g­ins are a pow­er­ful way to inject logic into your con­troller sys­tem at var­i­ous points, such as before and after an action dis­patch. Plu­g­ins are run in the order they […]

Using Different Databases with Zend Framework 1.10.4+

Published on 14 July, 2010 By Danny Froberg

Jeroen Kep­pens wrote a very good arti­cle about using mul­ti­ple data­bases that I defen­itely found very use­ful; A while ago I wrote about a cus­tom appli­ca­tion resource for load­ing mul­ti­ple DBs. I received a lot of ques­tions and decided it was time for a follow-up on how to use mul­ti­ple DBs in ZF. One of the […]

OxyBase v1.0.0 – it is an active project!

Published on 8 July, 2010 By Danny Froberg

In one of Zend Frame­work mail­ing lists, peo­ple were won­der­ing if this project is live, so answer is yes – we are live and this is active project. Actu­ally we are prepar­ing v1.0.0 which will have the same fea­tures set Oxy­Base has now, but in addi­tion to that we are adding some­thing that in PHP […]

Get Adobe Flash playerPlugin by wpburn.com wordpress themes