Symfony: un framework per il web

Massimiliano Arione
Massimiliano ArionePHP developer at freelance
un framework per il web
      Massimiliano Arione
       Torino, 21 marzo 2012
un framework?
Symfony: un framework per il web
breve storia di Symfony




   1.0     1.1    1.2      1.3          2.0


20072007   2008         2009     2010   2011
perché una nuova major
       version?
perché una nuova major
       version?
perché una nuova major
       version?
perché una nuova major
       version?
Symfony2 alla riscossa
Symfony2 alla riscossa
Symfony2 alla riscossa
Symfony2 alla riscossa
Symfony2 alla riscossa
Documentazione
un po' di numeri

4096 (#28, #1 in PHP)

1068 (#11, #1 in PHP)
grazie
http://www.slideshare.net/garak

http://twitter.com/garakkio

http://blog.garak.it/
riferimenti

fony.com/trademark
.smashingmagazine.com/wp-content/uploads/2010/05/framework.jpg
.slideshare.net/e.zimuel/zend-framework-2-11291898

.net/download-logos.php
7.deviantart.net/fs71/PRE/i/2011/236/2/0/marshall_jcm_800_full_stack_by_maggiemgill-d47nwpa.jpg
aboutique.internet.com/tutorials/single/figure1.jpg - http://www.castleproject.org/images/ar_title.pn
u.sensiolabs.com/uploads/consultants/fabien-potencier.jpg
ckmorphin.deviantart.com/art/Wind-Feather-174262186
.circusperformers.com/sites/default/files/imagecache/uberpic/delia_acrobat2.jpg
p.blogspot.com/-ol4LZwnb_TU/TaMPFvtY3EI/AAAAAAAAA1g/y-4QlFTV_hg/s400/Black%2Bpuzzle%2Bempty%2Bspace%2
123rf.com/400wm/400/400/schrades/schrades1108/schrades110800157/10393377-a-graphic-oak-tree-silouette
.tshirtpersonalizzate.com/images/files/Prodotto/.thumb240-153-bavaglino-rosa.png
fony.com/images/common/picto/learn_symfony_books.png
thub.com
1 of 17

Recommended

Managing frontend libs in your Symfony project by
Managing frontend libs in your Symfony projectManaging frontend libs in your Symfony project
Managing frontend libs in your Symfony projectMassimiliano Arione
538 views11 slides
Managing frontend libs in your php project by
Managing frontend libs in your php projectManaging frontend libs in your php project
Managing frontend libs in your php projectMassimiliano Arione
717 views11 slides
Symfony ignite by
Symfony igniteSymfony ignite
Symfony igniteMassimiliano Arione
454 views20 slides
Translating symfony docs by
Translating symfony docsTranslating symfony docs
Translating symfony docsMassimiliano Arione
606 views13 slides
The metrics by
The metricsThe metrics
The metricsMassimiliano Arione
481 views21 slides
Lessons learned in PHP by
Lessons learned in PHPLessons learned in PHP
Lessons learned in PHPMassimiliano Arione
1.2K views10 slides

More Related Content

Viewers also liked

symfony & jQuery (PUG) by
symfony & jQuery (PUG)symfony & jQuery (PUG)
symfony & jQuery (PUG)Massimiliano Arione
703 views19 slides
PHP on the desktop by
PHP on the desktopPHP on the desktop
PHP on the desktopMassimiliano Arione
1.2K views14 slides
symfony & jQuery (phpDay) by
symfony & jQuery (phpDay)symfony & jQuery (phpDay)
symfony & jQuery (phpDay)Massimiliano Arione
1.2K views25 slides
Scrivere e leggere log con elastic by
Scrivere e leggere log con elasticScrivere e leggere log con elastic
Scrivere e leggere log con elasticMassimiliano Arione
1K views22 slides
Case study OmniAuto.it by
Case study OmniAuto.itCase study OmniAuto.it
Case study OmniAuto.itMassimiliano Arione
630 views13 slides
Gestione delle dipendenze con Composer by
Gestione delle dipendenze con ComposerGestione delle dipendenze con Composer
Gestione delle dipendenze con ComposerMassimiliano Arione
1K views16 slides

Similar to Symfony: un framework per il web

Php symfony and software lifecycle by
Php symfony and software lifecyclePhp symfony and software lifecycle
Php symfony and software lifecyclePierre Joye
2.6K views62 slides
Symfony by
SymfonySymfony
SymfonyYitzchak Schaffer
336 views7 slides
Symfony State Of The Union, March 2010 by
Symfony State Of The Union, March 2010Symfony State Of The Union, March 2010
Symfony State Of The Union, March 2010Damien Filiatrault
3.4K views17 slides
Symfony Components in the wild by
Symfony Components in the wildSymfony Components in the wild
Symfony Components in the wildPHPLondon
1.1K views27 slides
Flash Lite, un’occasione da 1.3 Miliardi di mobile phones by
Flash Lite, un’occasione da 1.3 Miliardi di mobile phonesFlash Lite, un’occasione da 1.3 Miliardi di mobile phones
Flash Lite, un’occasione da 1.3 Miliardi di mobile phonesbiskero
886 views26 slides
Firefox 4 & THE AFTER by
Firefox 4 & THE AFTERFirefox 4 & THE AFTER
Firefox 4 & THE AFTERdynamis
1.5K views87 slides

Similar to Symfony: un framework per il web(20)

Php symfony and software lifecycle by Pierre Joye
Php symfony and software lifecyclePhp symfony and software lifecycle
Php symfony and software lifecycle
Pierre Joye2.6K views
Symfony Components in the wild by PHPLondon
Symfony Components in the wildSymfony Components in the wild
Symfony Components in the wild
PHPLondon1.1K views
Flash Lite, un’occasione da 1.3 Miliardi di mobile phones by biskero
Flash Lite, un’occasione da 1.3 Miliardi di mobile phonesFlash Lite, un’occasione da 1.3 Miliardi di mobile phones
Flash Lite, un’occasione da 1.3 Miliardi di mobile phones
biskero886 views
Firefox 4 & THE AFTER by dynamis
Firefox 4 & THE AFTERFirefox 4 & THE AFTER
Firefox 4 & THE AFTER
dynamis 1.5K views
MeeGo 1.2 Harmattan - Development & Community Processes by Uwe Kaminski
MeeGo 1.2 Harmattan - Development & Community ProcessesMeeGo 1.2 Harmattan - Development & Community Processes
MeeGo 1.2 Harmattan - Development & Community Processes
Uwe Kaminski900 views
HTML5 & Web Platform by SwapSkills
HTML5 & Web PlatformHTML5 & Web Platform
HTML5 & Web Platform
SwapSkills1K views
Symfony: A Brief Introduction by Craig Willis
Symfony: A Brief IntroductionSymfony: A Brief Introduction
Symfony: A Brief Introduction
Craig Willis786 views
Rapid Release by dynamis
Rapid ReleaseRapid Release
Rapid Release
dynamis 1K views
(元)コミュニティメンバーから見たMozilla / Firefoxの歴史と展望@Browser Workshop by Taro Matsuzawa
(元)コミュニティメンバーから見たMozilla / Firefoxの歴史と展望@Browser Workshop(元)コミュニティメンバーから見たMozilla / Firefoxの歴史と展望@Browser Workshop
(元)コミュニティメンバーから見たMozilla / Firefoxの歴史と展望@Browser Workshop
Taro Matsuzawa4.5K views
Nice performance using Sf2 cache wrapping Sf1 application by Marc Weistroff
Nice performance using Sf2 cache wrapping Sf1 applicationNice performance using Sf2 cache wrapping Sf1 application
Nice performance using Sf2 cache wrapping Sf1 application
Marc Weistroff1.9K views
eZ Publish vs Drupal - technical battle by Kaliop-slide
eZ Publish vs Drupal - technical battleeZ Publish vs Drupal - technical battle
eZ Publish vs Drupal - technical battle
Kaliop-slide3.5K views
MozTW SUMO Introduction 2012 Aug by Ernest Chiang
MozTW SUMO Introduction 2012 AugMozTW SUMO Introduction 2012 Aug
MozTW SUMO Introduction 2012 Aug
Ernest Chiang570 views
MeeGo Architecture by Hiroshi Doyu
MeeGo ArchitectureMeeGo Architecture
MeeGo Architecture
Hiroshi Doyu1.6K views
Firefox.NEXT by dynamis
Firefox.NEXTFirefox.NEXT
Firefox.NEXT
dynamis 1.8K views
Change by HTML5 by dynamis
Change by HTML5Change by HTML5
Change by HTML5
dynamis 1.2K views
Cross Platform Net Development With Mono And My Sql Presentation by snowland nk
Cross Platform  Net Development With Mono And My Sql PresentationCross Platform  Net Development With Mono And My Sql Presentation
Cross Platform Net Development With Mono And My Sql Presentation
snowland nk965 views

More from Massimiliano Arione

Typed models pug roma febbraio 2020 by
Typed models   pug roma febbraio 2020Typed models   pug roma febbraio 2020
Typed models pug roma febbraio 2020Massimiliano Arione
149 views18 slides
Pipelines! by
Pipelines! Pipelines!
Pipelines! Massimiliano Arione
229 views24 slides
Il nostro amico Stan by
Il nostro amico Stan   Il nostro amico Stan
Il nostro amico Stan Massimiliano Arione
314 views34 slides
PSR7 - interoperabilità HTTP by
PSR7 - interoperabilità HTTPPSR7 - interoperabilità HTTP
PSR7 - interoperabilità HTTPMassimiliano Arione
765 views25 slides
Disinstallare fos user bundle e vivere felici by
Disinstallare fos user bundle e vivere feliciDisinstallare fos user bundle e vivere felici
Disinstallare fos user bundle e vivere feliciMassimiliano Arione
796 views23 slides
MAGA - PUG Roma giugno 2017 by
MAGA - PUG Roma giugno 2017MAGA - PUG Roma giugno 2017
MAGA - PUG Roma giugno 2017Massimiliano Arione
740 views29 slides

Recently uploaded

CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue by
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueShapeBlue
63 views15 slides
Uni Systems for Power Platform.pptx by
Uni Systems for Power Platform.pptxUni Systems for Power Platform.pptx
Uni Systems for Power Platform.pptxUni Systems S.M.S.A.
60 views21 slides
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue by
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueShapeBlue
149 views7 slides
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T by
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TCloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TShapeBlue
81 views34 slides
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...The Digital Insurer
40 views52 slides
Digital Personal Data Protection (DPDP) Practical Approach For CISOs by
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOsPriyanka Aash
103 views59 slides

Recently uploaded(20)

CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue by ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue63 views
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue by ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue149 views
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T by ShapeBlue
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TCloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
ShapeBlue81 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
Digital Personal Data Protection (DPDP) Practical Approach For CISOs by Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOsDigital Personal Data Protection (DPDP) Practical Approach For CISOs
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash103 views
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue75 views
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ... by ShapeBlue
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
ShapeBlue114 views
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ by ShapeBlue
Confidence in CloudStack - Aron Wagner, Nathan Gleason - AmericConfidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
ShapeBlue58 views
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ... by ShapeBlue
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
Live Demo Showcase: Unveiling Dell PowerFlex’s IaaS Capabilities with Apache ...
ShapeBlue52 views
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue69 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... by James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson142 views
Why and How CloudStack at weSystems - Stephan Bienek - weSystems by ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue172 views
Business Analyst Series 2023 - Week 4 Session 7 by DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10110 views
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... by ShapeBlue
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
ShapeBlue86 views
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT by ShapeBlue
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBITUpdates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
Updates on the LINSTOR Driver for CloudStack - Rene Peinthor - LINBIT
ShapeBlue138 views
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue by ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlueMigrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
Migrating VMware Infra to KVM Using CloudStack - Nicolas Vazquez - ShapeBlue
ShapeBlue147 views
Data Integrity for Banking and Financial Services by Precisely
Data Integrity for Banking and Financial ServicesData Integrity for Banking and Financial Services
Data Integrity for Banking and Financial Services
Precisely76 views

Symfony: un framework per il web

Editor's Notes

  1. quando si parla di framework, la prima domanda che sorge spontanea è: perché un framework
  2. Ecco alcuni motivi per scegliere un framework. La seconda domanda, di solito, è: quale framework? Ho scelto questa slide proprio per sottolineare che non è così importante quale framework si scelga, purché se ne usi uno.
  3. Symfony nasce nel 2007 e si evolve nel corso degli anni. L'anno scorso è stata rilasciata la prima versione stabile del nuovo Symfony 2.0, un framework totalmente nuovo
  4. Ma perché questa scelta? Il primo motivo è il passaggio da PHP 5.2 a PHP 5.3
  5. Il secondo motivo è che symfony 1 era troppo monolitico, un framework troppo full stack
  6. Il terzo motivo è che symfony 1 si basava su alcuni pattern, come per esempio singleton e active record, che sono ormai considerati superati
  7. Il quarto e ultimo motivo è che symfony 1 si basava troppo su una sola persona
  8. Sappiamo tutti quanto sia importante oggi la responsività di un'applicazione. Symfony è stato concepito sin dall'inizio per essere veloce e per consumare meno risorse possibile. È circa 3 volte più veloce della versione 1 e occupa all'incirca la metà della memoria
  9. L'uso del DIC e di un sistema di eventi rendono Symfony completamente adattabile a qualsiasi esigenza. Si può avere un framework full-stack, oppure usare solo alcuni componenti, o ancora creare un proprio framework (o anche un microframework, vedi Silex)
  10. Symfony ha una grande capacità di essere espandibile. Il suo sistema di bundle consente non solo di riusare il codice scritto, ma anche di modificare e usare il codice scritto da altri, finanche il core stesso di Symfony. Inoltre la documentazione consiglia di usare bundle anche nello sviluppo delle proprie applicazioni
  11. Stabilità e sostenibilità sono un altro punto di forza di Symfony. Le versioni maggiori hanno un supporto di 3 anni, mentre un sottoinsieme di API è stato dichiarato "stabile" e non cambierà nemmeno tra le versioni minori.
  12. Facile. Symfony è facile da usare. L'utilizzo di pattern e best practice, insieme all'ampia documentazione e a una community con grande partecipazione, mettono in grado anche l'utente alle prime armi di usare questo framework
  13. Una nota aggiuntiva sulla documentazione: è stata completamente tradotta in Italiano!
  14. Diamo infine qualche numero relativo ad alcuni indicatori del progetto su github: il numero di watcher e il numero di fork, per entrambi i quali Symfony è il primo progetto PHP