Symfony 2.0 por Reinhold Weber

The Symfony PHP Framework has, in the past, alienated a lot of developers solely because it was quite a hassle to setup on shared hosting or a local server environment.

What’s new in Symfony 2.0?

  • Requires PHP5.3.2+
  • Doctrine 2 (Active Record is replaced by Entity Pattern, completely rewritten codebase for PHP5.3)
  • PHPUnit for testing, lime is out for good
  • Logging and caching with Zend Framework
  • Access to remote APIs (web services, feeds, etc.)
  • Support for Lucene indexes
  • PDf generation
  • Queueing
  • Cloud computing (storage, DBs, message queues)
  • Forms2, the new form framework
  • Web Debug Toolbar

You can setup the symfony 2.0 sandbox on a local server in 7 steps under a local MAMPP environment on a Mac.

The symfony sandbox is a Symfony project where all the required libraries and some simple controllers are already included and where the basic configuration is already done.

  1. Download the sandbox
  2. Unpack sandbox in your htdocs folder
  3. Check your local server environment with http://localhost:8888/sandbox/web/check.php
  4. Check a first webpage in the development environment at http://localhost:8888/sandbox/web/index_dev.php/
  5. The sandbox comes with a simple “Hello” app at http://localhost:8888/sandbox/web/index_dev.php/hello/Reinhold%20Weber
  6. Explore the web developer toolbar at the bottom (only available in the dev environment under index_dev)
  7. Configure a virtual host in conf/apache/httpd.conf which points to the sandbox/web/ directory

Welcome to Symfony2.0, available in late 2010 – enjoy the ride. More on the new Symfony version soon.

This entry was posted on Tuesday, June 29th, 2010 at 9:53 pm and is filed under php, symfony. You can follow any comments to this entry through the RSS 2.0 feed. You can leave a comment, or trackback from your own site.

Reinhold Weber un Desarrollador Web europeo. Escribio un articulo sobre como Symfony 2.0 simplifica aun mas el desarrollo de aplicaciones. En lo que sacamos nuestra revision del Framework 2.0 de Symfony hechenle un ojito a esto.

El Desarrollo Web en la comunidad php se esta viendo fortalecido en una forma increible con este tipo de frameworks inteligentes y de ultima generacion. Symfony 2.0 no solo es mas sencillo si no que esta pensado para un nuevo tipo de aplicaciones que corren en la nube.

Para la #NacionRockDeveloper este fue Iaax Page

Posted via email from Nacion Rock Developer