12/06/09

ZF 1.8 Zend_Form automatically sets form encoding on upload

As of ZF 1.8 Zend_Form’s enctype defaults to multipart when a file element is attached. Prior to this version you have to do this manually like so:

$form->setAttrib('enctype', 'multipart/form-data');
//or
$form->setAttrib('enctype', Zend_Form::ENCTYPE_MULTIPART);

More info on Zend_Form_Element_File

12/06/09

Eclipse PDT 2.1 RC3 Available

Eclipse PDT 2.1 known as Galileo is on its way. It’s scheduled for release on 26th of June.

At time of writing only the All in One for RC2 was available on the PDT download page.

RC3 can be found here or on the main downloads page, under the tab Development Builds look for Eclipse IDE for PHP Developers.

05/02/09

The past months useful links

Lots has been going on since last my post. I’ve been awful busy and could find no time to commit to regular posts or any for that matter so I’ll start with some useful links and try to post more often.

Zend Framework

We’ve seen the release of 1.7.0 and since four mini releases bringing us up to Zend Framework 1.7.4. I’ll cover some of the new features and improvements later.

There has been a great deal discussion in the ZF community on the Model in Model-View-Controller pattern, this prompted many blog posts including Matthew Weier O’Phinneys series of posts Using Zend_Form in Your Models, Applying ACLs to Models, Model Infrastructure, Padraic Bradys The M in MVC: Why Models are Misunderstood and Unappreciated and last but not least Rob Allens On models in a Zend Framework application.

Pádraic Brady launched his online book Zend Framework: Surviving the Deep End and has since posted three chapters and an invaluable Appendix on Performance Optimisation.

Eclipse PDT 2.0

PDT 2.0 has been released, you can download it if you haven’t already from eclispe.org or zend.com.

Webinar: Introduction to Eclipse PHP Development Tools (PDT) 2.0

Roy Ganor, Zend Studio Project Leader at Zend demonstrates PDT 2.0′s new features including creating a new project, source editing, code assist, type hierarchy, mark occurrences, PHP search and more.

I’ll cover some of the new features and some tips & tricks for new users later.

Internet Explorer 8

It’s on its way and like Chitty Chitty Bang Bang it has all the bells and whistles you could want. It promises full CSS 2.1 support which is fair enough, sadly most of the magic of CSS3 will be lost on IE8.

If you want to follow the release of this the IEBlog is good place to start.

IE 8 RC1 is now available

Firefox

Very recently sitepoint announced the release of firescope, a new add-on for Firebug, the popular web development tool, that extends it with reference material for HTML and CSS.

This is very usefull add-on.

There’s been lots more going on, but that’s all for now, enjoy!

17/11/08

Zend Framework 1.7.0 is now available!

Almost three hundred bugs fixed and many welcome additions, one of which is the new Performance Guide in the reference manual.

1.7.0 can  be downloaded from the Zend Framework download site.

Well done ZF Team!

15/11/08

Eclipse PDT 2.0 All-In-One (BETA) Available

All-In-One Download from Zend.

If you don’t like the way the folders are represented in the PHP Explorer View you can change this by clicking on the little triangle pointing down on the upper right corner of the Package Explorer, then go to Package Presentation and select “Hierarchical”.

enjoy!