$30 off During Our Annual Pro Sale. View Details »

Build your first Symfony2 application (TrueNorthPHP 2013)

Build your first Symfony2 application (TrueNorthPHP 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, bundles, 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.

Stefan Koopmanschap

November 07, 2013
Tweet

More Decks by Stefan Koopmanschap

Other Decks in Technology

Transcript

  1. Build your first
    Symfony2 application

    View Slide

  2. wifi!
    • MSFTOPEN

    View Slide

  3. https://joind.in/9965

    View Slide

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

    • symfony developer since ’06/’07

    • PHPBenelux/PFZ.nl/PHPAmersfoort

    • Ingewikkeld / Techademy

    View Slide

  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

    View Slide

  6. 1

    View Slide

  7. Choose your
    framework

    View Slide

  8. 2

    View Slide

  9. http://symfony.com/download

    View Slide

  10. php composer.phar

    create-project

    symfony/framework-standard-edition

    myProject/ 2.3.6

    View Slide

  11. View Slide

  12. View Slide

  13. chmod -R 777
    app/cache app/logs

    View Slide

  14. View Slide

  15. View Slide

  16. View Slide

  17. View Slide

  18. 3

    View Slide

  19. The src/ directory

    View Slide

  20. View Slide

  21. View Slide

  22. View Slide

  23. View Slide

  24. View Slide

  25. 4

    View Slide

  26. View Slide

  27. View Slide

  28. View Slide

  29. View Slide

  30. app/console
    doctrine:generate:crud

    View Slide

  31. View Slide

  32. View Slide

  33. View Slide

  34. 5

    View Slide

  35. View Slide

  36. View Slide

  37. View Slide

  38. View Slide

  39. 6

    View Slide

  40. Forms are objects

    View Slide

  41. View Slide

  42. View Slide

  43. View Slide

  44. 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

    View Slide

  45. View Slide

  46. Questions?

    View Slide

  47. https://joind.in/9965

    View Slide