Build your first Symfony2 application (ZendCon Europe 2013)

Build your first Symfony2 application (ZendCon Europe 2013)

During this tutorial, you will get started with the Symfony2 framework, and build your first web application using the framework. We\’ll cover installation, configuration, bundl es, controllers, working with the database and forms during this tutorial, and if we have some time left, we can go beyond those basic topics as well.

A8f72e32766355f12a56ede9aaa0ee78?s=128

Stefan Koopmanschap

November 18, 2013
Tweet

Transcript

  1. Build your first Symfony2 application

  2. wifi! • SSID: zendcon_europe • password: zendconeurope2013 • SSID: Marriott_Conf

    • password: 09EAB9
  3. https://joind.in/9286

  4. /about • PHP developer since ’97/’98 • symfony developer since

    ’06/’07 • PHPBenelux/PFZ.nl/PHPAmersfoort • Ingewikkeld / Techademy
  5. Today 1. Choosing your framework 2. Creating your project 3.

    Creating your first Hello World 4. Connecting to the database 5. Working with Twig 6. Working with forms
  6. 1

  7. Choose your framework

  8. 2

  9. http://symfony.com/download

  10. php composer.phar create-project symfony/framework-standard-edition myProject/ 2.3.6

  11. None
  12. None
  13. chmod -R 777  app/cache app/logs

  14. None
  15. None
  16. None
  17. None
  18. 3

  19. The src/ directory

  20. app/console generate:bundle

  21. None
  22. None
  23. None
  24. None
  25. None
  26. 4

  27. None
  28. app/console doctrine:generate:entity

  29. None
  30. None
  31. None
  32. app/console doctrine:generate:crud

  33. app/console doctrine:generate:crud

  34. None
  35. None
  36. None
  37. 5

  38. None
  39. None
  40. None
  41. None
  42. 6

  43. Forms are objects

  44. None
  45. None
  46. None
  47. Today 1. Choosing your framework 2. Creating your project 3.

    Creating your first Hello World 4. Connecting to the database 5. Working with Twig 6. Working with forms
  48. None
  49. Questions?

  50. https://joind.in/9286