Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What do I get from the full stack framework?

What do I get from the full stack framework?

Richard Miller

June 11, 2012
Tweet

More Decks by Richard Miller

Other Decks in Programming

Transcript

  1. What do I get from the full stack
    framework?
    By Richard Miller (@mr_r_miller)

    View Slide

  2. We're developers who want to
    get stuff done and enjoy it

    View Slide

  3. We often have to write a lot of
    boiler plate/infrastructure code

    View Slide

  4. Remove barriers between you
    and the interesting code

    View Slide

  5. You want to write the application not
    wire up the parts

    View Slide

  6. You get a powerful set of
    components for web tasks
    Routing
    HTTP
    Foundation
    Templating
    Form
    Security
    HTTP
    Kernel
    Clas
    Load

    View Slide

  7. They are already wired up
    in the framework

    View Slide

  8. You don't want to write the repetitive code

    View Slide

  9. You can generate the bundle

    View Slide

  10. Bundles give you a common
    directory structure

    View Slide

  11. You can generate the CRUD
    actions, views and forms

    View Slide

  12. You get to concentrate on what the
    application does

    View Slide

  13. You want to write quick config not slow
    boiler plate code

    View Slide

  14. Assetic comes with the
    standard distribution
    Monolog
    Swiftmailer
    Assetic
    Twig

    View Slide

  15. Setting up assets and filters
    with Assetic alone

    View Slide

  16. Creating a controller action to
    serve the assets

    View Slide

  17. You can let the bundle do that for you

    View Slide

  18. Replace the boiler plate code with config

    View Slide

  19. Twig extension makes front end
    integration easy

    View Slide

  20. You get to code other things because
    config is quick to write

    View Slide

  21. What do the bundles give you?
    Number of files Lines of code
    PHP 756 10,887
    XML 42 1637

    View Slide

  22. This is similar for other components

    View Slide

  23. Also for third party libraries

    View Slide

  24. Everyone is happy with the
    quick progress made

    View Slide

  25. You want to learn the good bits of new
    technologies and libraries

    View Slide

  26. You want to use elasticsearch

    View Slide

  27. You could use Elastica directly

    View Slide

  28. You could index data directly with Elastica

    View Slide

  29. You can let 3rd party bundles
    do that for you

    View Slide

  30. The bundle configures it for you

    View Slide

  31. The indexing is already done in bundle

    View Slide

  32. You get to work in terms
    you already know

    View Slide

  33. The index is available as a
    service you are familiar with

    View Slide

  34. You get this for lots of libraries/bundles

    View Slide

  35. You can spend time on adding
    functionality to your application

    View Slide

  36. Remove barriers between you
    and the interesting code

    View Slide

  37. Questions?
    @mr_r_miller
    richardmiller.co.uk

    View Slide