Moving existing applications to Zend Framework

Unless I am the only one, there are probably a lot of you that are looking at existing applications and thinking about moving them to use Zend Framework. In this thread on the author forum a user (thanks geetarista) pointed to an interesting article by Chris Abernethy on Migrating to Zend Framework: Legacy Scripts.

Migrating an existing PHP application to Zend Framework can be a daunting task, especially if the migration must occur all at once. It is much easier to migrate the application in sections over a longer period of time.

Having not tested his idea yet I can’t say how effective it is but the idea looks good.

Posted by Nick on 20th March 2008 under Tips and Tricks | No Comments »

New MEAP PDF Released

A new MEAP PDF has been released for those who have pre-ordered the book.

The big changes are:

  • Chapter 1 has been edited
  • Chapter 3 has been replaced with two new chapters: 3 and 4 now cover building the initial example website. Chapter 3 covers the setup, controllers, actionstack and database with Chapter 4 concentrating on Zend_View, Zend_Layout and the view helpers.
  • Chapter 13 on mashups with public web services is available.
  • Chapter 14 on caching is available.

Note that this MEAP renumbers all chapters due to the new chapter 3.

As always, let us know your thoughts on it over on the MEAP forum.

Posted by Rob on 18th March 2008 under The Book | 3 Comments »

Zend Framework 1.5 released

Zend Framework 1.5 has been officially released to the world and Zend have updated the website to make it easier to find what you are looking for.

There have been loads of improvements to the framework, my favourites being Zend_Form and Zend_Layout. Other areas which received a lot of attention include OpenId and LDAP authentication, Lucene and PDF improvements, along with the new ContextSwitch helper to make writing Ajax and REST applications easier.

A new Quickstart guide has been written to get you going or you can look at my Zend Framework 1.5 tutorial if you prefer PDF or a different style of writing.

New today too is a series of getting started videos by Mitchell Hashimoto to show you get you up an running with the Framework. There are four videos so far, each one around 10 minutes long which cover installing, bootstrapping, controllers and view, and extending your ZF application. Check them out!

With the 1.5 release, Zend Framework has really come of age.

Posted by Rob on 17th March 2008 under News | 2 Comments »

Zend Framework 1.5RC3

The third release candidate of Zend Framework version 1.5 is now available for download. This release is shaping up nicely now and this release is nicely stable.

Officially, it’s not yet ready for production release, but you should be checking it out now ready to understand what changes will be needed to your sites when migrating. Fortunately, the documentation has a very useful chapter on migrating from 1.0.x to 1.5.0 which is a must read!

Posted by Rob on 13th March 2008 under News | 1 Comment »

Zend Framework in Action author forum

Since the only way to know about this is a single link on the right hand side of the main book page I thought I’d point out that the book has its own forum which is intended for the discussion of the book; mistakes we’ve made, things that aren’t clear, things you like, etc.

We are interested in all feedback and do make changes or additions according to your comments, although a side effect of Rob’s working on the popular, day-to-day topics that make up the first half of the book, has been that he faces the bulk of the questions (including from me!) so I’m a little nervous that bringing more attention to the forum is going to increase his workload. So, erh, sorry in advance if that happens Rob! Hopefully the next early access release should begin to balance that out a bit.

Posted by Nick on 8th March 2008 under The Book | No Comments »

Jolt Productivity Award for Zend Framework

Cal Evans is reporting on DevZone that Zend Framework has won a “Jolt Productivity Award”.

Well done to the team and all the contributors.

Posted by Rob on 6th March 2008 under Around the web & News | No Comments »

Code freeze for 1.5.0RC2 Tomorrow

The release-1.5 subversion branch of Zend Framework will be frozen tomorrow (at 9pm PST) in preparation for the release of the second release candidate for 1.5. The intention is to have all the new work for 1.5 completed by then. Going forward to release, only bug fixes should be necessary.

For components that are not ready for 1.5, it is intended to ship a separate incubator directory with 1.5. Depending on timescales, this may be released after the release of 1.5 though. The components in the incubator directory will include those that are not of high enough quality yet or that the proposed API hasn’t been exposed to enough developers to ensure that they provide the correct amount of flexibility vs ease-of-use.

Full information is on this thread on Nabble.

Posted by Rob on 6th March 2008 under News | 2 Comments »

Zend Framework Overview Presentation Slide

I gave a short presentation at the PHP London Conference on Friday. The session was a three way head-to-head between Zend Framework, Symfony and CodeIgniter. It went quite well, even though I was very nervous and I think we covered the important points of the frameworks.

I’ve also uploaded the slides for my Zend Framework overview in case anyone is interested enough to want to look at them!

Posted by Rob on 2nd March 2008 under Presentation | 5 Comments »

Zend Framework 1.0.4 and 1.5 RC1 released

The final release of the 1.0 series of Zend Framework, version 1.0.4 has been released. This release fixes 111 known issues and means that the 1.0 branch is as bug free as possible and it is now time to move on the forthcoming 1.5 release.

On that note, the first release candidate for Zend Framework 1.5 was also released today. From the announcement, the new features for 1.5 include:

  • New Zend_Form component with support for AJAX-enabled form elements
  • New action and view helpers for automating and facilitating AJAX requests and alternate response formats
  • Infocard and OpenID authentication adapters
  • Support for complex Lucene searches, including fuzzy, date-range, and wildcard queries
  • Support for Lucene 2.1 index file format
  • Partial, Placeholder, Action, and Header view helpers for advanced view composition and rendering
  • New Zend_Layout component for automating and facilitating site layouts
  • UTF-8 support for PDF documents
  • New Technorati and SlideShare web services

Both releases are available at http://framework.zend.com/download.

Posted by Rob on 26th February 2008 under News | No Comments »

Careful where you set your doctype

Along with the resolution of this view helper bug concerning view helpers not being doctype aware, comes a small gotcha if you are relying on setting your doctype in layouts like so:

echo $this->doctype('XHTML1_STRICT');

The problem is that view helpers will not be aware of this setting and will revert to the default setting HTML4_LOOSE. To avoid this be sure to set the doctype earlier in the bootstrap process, something like so:

$viewRenderer->view->doctype('XHTML1_STRICT');

Posted by Nick on 24th February 2008 under Tips and Tricks | No Comments »

« Prev - Next »