PHP Environment : Development Staging Production

July 30, 2010
by Teo

In hosted software development, the environment refers to a server tier designated to a specific stage in a release process. The purpose of these environments is to improve the development, testing and release processes in client-server applications. The most common environments are described below.

Development

This is where the software is developed – it’s the working environment for individual developers or small teams. The purpose of this environment is for the developer to work on local host, separate from the rest of the team, allowing them to make various changes without worrying that it may alter the work of the other members of the team.

Staging

It is used to assemble, test and review the application before it goes into production. Usually the staging environment tries to simulate as much as possible the production environment (hardware and software-wise). Normally, before releasing an update version of the application on the production environment, the update must be tested on the staging environment. This environment can also be used as a demonstration/training environment.

Production

It is the “live” environment, where the final application goes out to the world and becomes active.

To switch from one environment to another use the Subversion source code.

Using SVN on Aptana is an article that explains how to set your development environment on your local computer and then to change it on your staging environment.

To better understand the development of an application using environments, check this helpful article http://dltj.org/article/software-development-practice/

This entry was posted in PHP Development. Bookmark the permalink.

5 Responses to PHP Environment : Development Staging Production

  1. Stas February 24, 2011 at 2:59 am

    I suggest to try free PHP IDE – Codelobster PHP Edition (http://www.codelobster.com)

  2. Pingback: Diferentes ambientes: Development, Testing, Staging e Production | Klaus Laube

  3. Pingback: Diferentes ambientes: Development, Testing, Staging e Production | Profissionais TI - Pra quem respira informação

  4. Sanket March 23, 2011 at 7:12 am

    Thanks for share this info. this is really helpful for me. but i have on Q .

    is it possible to configure all 3 environment on one server??

    Thanks

  5. Julian March 23, 2011 at 7:28 am

    Yes, is possible to configure all 3 on the same server.
    Using different virtual hosts.
    Like: dev.domain.com, beta.domain.com and of course, the production host: domain.com

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>