Symfony 1.1 - Fabien Potencier

50 %
50 %
Information about Symfony 1.1 - Fabien Potencier

Published on June 17, 2008

Author: dpc

Source: slideshare.net

symfony symfony 1.1 goodness Fabien Potencier

Who am I? •  Founder of Sensio –  Web Agency –  Since 1998 –  45 people –  Open-Source Specialists –  Big corporate customers •  Creator and lead developer of symfony

symfony •  PHP Web framework •  Based on –  10 years of Sensio experience –  Existing Open-Source projects •  MIT license •  Documentation is Open-Source •  Great community

Maintainability Standardization Faster & Better

« entreprise » version

Version 1.0 released early 2007 – Maintained for 3 years (early 2010) – ~1 release a month (1.0.16 now) • Bug and security fixes, compatibility with new PHP versions fixes • No new features (even small ones) • Upgrading is simple and safe

Version 1.1 to be released this month – Maintained for 1 year – Same release cycle as 1.0 Roadmap – Version 1.2 Q4 2008 – Version 1.3 Q1 2009

symfony is a set of cohesive but decoupled classes

symfony platform

http://localhost/index.php?name=Fabien! Hello Fabien http://localhost/index.php! Hello World

http://localhost/index.php?name=Fabien! http://localhost/index.php/hello /Fabien! http://localhost/hello/Fabien! Hello Fabien

sfEventDispatcher // sfPatternRouting! $callback = array($this, ’filterParameters‘);! $dispatcher->connect(’request.filter_parameters‘, $callback);! // sfWebRequest! $event = new sfEvent($this, ‘request.filter_parameters’);! $dispatcher->filter($event, $parameters);! •  sfPatternRouting and sfWebRequest are decoupled •  « Anybody » can listen to any event •  You can notify existing events or create new ones

Some events application.log application.throw_exception context.load_factories request.filter_parameters user.change_culture controller.page_not_found response.filter_content view.cache.filter_content *.method_not_found

symfony platform

the symfony MVC framework is based on the symfony platform

symfony 1.1 new features and enhancements

CLI •  Rewritten from scratch –  OOP –  Arguments and options management –  Extensible –  Built-it help

Tests •  Better m2m support in fixtures •  File upload support •  CSS3 selectors •  New shortcuts (isUserCulture, isRequestFormat)

m2m fixtures

m2m fixtures

m2m fixtures

File upload support

CSS3 selectors

Forms •  OOP •  Flexible and customizable •  MVC based (Validator, Widget, Form) •  Easy to embed forms •  Secure •  Fully integrated with Propel and Doctrine •  Useable without symfony

Propel Form The model is introspected to generate form classes

Native multi-format support •  A request has a format (HTML by default) css, js, xml, atom, json, … •  Same controller and model •  Different templates (layouts/partials/components) •  Easy to implement a new format (iPhone) http://www.symfony-project.org/cookbook/1_1/en/iphone!

xml text/xml, application/xml, application/x-xml json application/json, application/x-json css text/css js application/javascript, application/x-javascript

Questions?

Sensio S.A. 26, rue Salomon de Rothschild 92 286 Suresnes Cedex FRANCE Tél. : +33 1 40 99 80 80 Contact Fabien Potencier fabien.potencier@sensio.com http://www.sensiolabs.com/ http://www.symfony-project.org/

Add a comment

Related presentations

Related pages

symfony 1.1 form framework and the MVC pattern | Articles ...

symfony 1.1 form framework and the MVC pattern Fabien Potencier January 15, 2008. Even if the symfony 1.1 form framework is not yet documented, ...
Read more

Articles - Fabien Potencier

The blog of Fabien Potencier about web technology and the symfony framework Fabien ... symfony 1.1 form framework and the MVC pattern January 15, 2008.
Read more

Symfony – Wikipedia

Ab der Version 1.1 von Symfony wurde das bisherige Standardframework Propel in ein Plugin ... Fabien Potencier: Practical symfony 1.2 for ...
Read more

Fabien Potencier | LinkedIn

Werden Sie Mitglied von LinkedIn und erhalten Sie Zugriff auf das vollständige Profil von Fabien Potencier. Völlig kostenlos! Als Mitglied von LinkedIn ...
Read more

Symfony, High Performance PHP Framework for Web Development

Symfony is a set of reusable PHP components ... ... is a trademark of Fabien Potencier. All rights reserved. What is Symfony? Symfony ...
Read more

symfony 1.1 : I really need everybody's opinion - Google ...

In symfony 1.1, the sfRouting class is not a singleton anymore, so if you want to add ... Fabien-- Fabien Potencier Sensio CEO - symfony lead developer
Read more

Plugins | Developer | Fabien POTENCIER | symfony | Web PHP ...

i18n string extractor plugin. This is a backport of a symfony 1.1 native feature. sfMediaLibraryPlugin. MIT sf 1.1
Read more

Re: Symfony 1.1 Questions - Google Groups

... Fabien POTENCIER wrote ... > http://www.aide-de-camp.org/article/3/en/symfony-1-1-form-framework-a ...
Read more

Fabien Potencier a.k.a fabpot - SensioLabs Connect

Fabien Potencier discovered ... he started to build websites with PHP5 in 2004 and created the Symfony framework to ... Fabien is also the creator of ...
Read more