News Feed
Jobs Feed
Sections




Recent Jobs

News Archive
Chris Hartjes' Blog:
Handling Multiple Environments In Your PHP Application
November 28, 2008 @ 12:41:24

Chris Hartjes has posted his method for creating a development setup that lets you use multiple environments with your code.

In anticipation of my talk at PHP Quebec 2009 I've been going over my slides and thinking about what I'm going to update for it. One little nugget I'd thought I'd share is one way of handling having multiple environments your code must run in.

It uses a PHP variable in the $_SERVER superglobal - a custom one, APP_ENV - set by the application and checked to ensure global options are correctly set.

0 comments voice your opinion now!
handle multiple environment application multiple tutorial



Similar Posts

Greg Bulmash's Blog: Creating A Simple Rating Script With PHP And MySQL

Beanizer.org: Exposing OpenJMS to PHP

Stefan Mischook's Blog: How to call functions from another class

Richard Davey\'s Blog: Multi-Tier Application Programming with PHP Book Review

Make Me Pulse Blog: Connect to Active Directory LDAP with PHP


Community Events









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


codeigniter opinion zendframework release job windows conference facebook extension framework sqlserver version developer feature microsoft podcast apache symfony wordpress drupal

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