Webinar – Customer Voices: concrete5 On Building An Enterprise-Class Application Using Zend Framework

concrete5 is an open-source content management system (CMS) built in PHP on top of Zend Framework.

Attend this webinar to see how using Zend Framework enabled concrete5 to solve real-world problems for a large and diverse customer base. Andrew Embler, CTO of concrete5, will talk about how they leveraged Zend Framework’s structure and tools to build an enterprise-class CMS.

Author:
Source: Zend Events


  • Share/Bookmark

by News Robot on September 2, 2010 in News, No Comments »
tags: ,

Zend Framework is a BOSSie Award Winner

Last week, while I was on vacation, the news broke that IDG’s InfoWorld had announced its annual
InfoWorld Bossie Award winners
(“Bossie” stands for “Best of Open Source Software”), and that Zend Framework had won the ” best open source application development software ” award.

Author:


  • Share/Bookmark

OSI Days 2010 – OpenSource India

Join Zend at Asia’s largest Open Source Conference.  The conference will host a wide variety of PHP sessions including those from Kevin Schroeder, Zend Technology Evangelist:  Building Applications with Zend Framework and Using Zend Server to Run your PHP Applications.

Author:
Source: Zend Events


  • Share/Bookmark

by News Robot on August 31, 2010 in News, No Comments »
tags: , ,

COMMON 2010 Fall Conference and Expo

Join Zend at COMMON Fall - a three-day Power Systems educational and networking event that will be packed with 112 educational sessions on a large variety of topics.  If you are interested in building a web front-end for RPG, sharing the web with REST and POX, integrating with AJAX or learning Object Oriented model of PHP, join Mike Pavlak who will be delivering various sessions on “PHP and IBM i”.

Author:
Source: Zend Events


  • Share/Bookmark

by News Robot on August 30, 2010 in News, No Comments »
tags: , ,

The Redirector action helper

Following on from the discussion on the FlashMessenger action helper, I thought I’d also cover another supplied helper: Redirector.

Redirector does what it says on the tin and redirects the user to another page. I mostly use this when coming back from filling a form in, so that the user is then redirected to another page. In admin systems, this is usually a list page. On front end websites, this is usually a thank you page. Though for log-in forms, I tend to try and return the user to where they were going!

It’s used in a controller action method like this:

$urlOptions = array('controller'=>'index''action'=>'index');
$this->_helper->redirector->gotoRoute($urlOptions);

gotoRoute() takes the same set of parameters are the url() view helper which is not a surprise as they both proxy through to the Front Controller’s router object. It’s handy though as one you know one, you know the other :)

If you are using the default route, then you can use gotoSimple(). For example to redirect to the news controller’s list action, you would do:

$this->_helper->redirector->gotoSimple('list''news');

The gotoSimple() method signature is:

gotoSimple($action$controller null$module null, array $params = array());

As you can see, it provides defaults for the controller and module and params parameters so you only need to set them if you need to. This works well for admin system as I tend to be redirecting within the same controller (from the edit or delete action to index, usually).

You can also use the Redirector with an absolute URL, by using the gotoUrl() method:

$url 'http://www.akrabat.com';
$this->_helper->redirector->gotoUrl($url);

I tend to use this one much less frequently – so infrequently, that I can’t think of a use-case off the top of my head :)

By default, Redirector sets a 302 status code, however you can also set a 301 if you want to:

$this->_helpers->redirector->setCode(301);

There are a few other options that can be set like setExit() and setUseAbsoluteUri(), but to be honest, I don’t think I’ve ever used them!

I find that I use Redirector fairly frequently as its gotoRoute() uses the same parameters as url() which makes it easy to remember how to use it. Like url(), it also benefits from remembering which route was used to get you to the current page and reuses that when creating the next one which is handy.

Author: Rob…


  • Share/Bookmark