News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Anis uddin Ahmad's Blog:
Advanced bootstrapping Configure your Zend Framework application for mult
February 12, 2009 @ 13:40:55

Anis uddin Ahmad has a handy bootstrapping example for those that might want to use the Zend Framework for more than just a single site.

A web application goes through some stages when growing up. Generally, it starts from development and ends at production. There can be some more stages within this two ends. And, in maximum cases this stages are overlapped. [...] In this situations, if we want to keep bootstrap in SVN repo, it needs to setup bootstrap in a little different way. So that, it can handle many server settings with a single bootstrap.

He sets up some assumptions (like a familiarity with the Zend Framework), some of the files you'll need to download and how to use them to set up your host for the multiple-site bootstrap. The different sites are defined in arrays at the beginning of the file and are compared to the current hostname. The correct include paths are then set and the bootstrap script continues on.

1 comment voice your opinion now!
boostrap advanced zendframework application multiple hostname


blog comments powered by Disqus

Similar Posts

David Goodwin's Blog: Using SOAP and XmlRpc with PHP5 (a newbies findings)

Zend Developer Zone: Front Controller Plugins in Zend Framework

Paul Gregg's Blog: Want to try out the next major version of Delphi for PHP?

ZendCasts.com: Creating Custom Zend_Form Decorators

Padraic Brady's Blog: Zend Framework Page Caching: Part 3: Tagging For Static File Caches


Community Events





Don't see your event here?
Let us know!


series list laravel configure interview conference voicesoftheelephpant composer opinion release extension community version symfony install introduction api language podcast unittest

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework