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 full-size slide

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

    View full-size slide

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

    View full-size slide

  4. Remove barriers between you
    and the interesting code

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  7. They are already wired up
    in the framework

    View full-size slide

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

    View full-size slide

  9. You can generate the bundle

    View full-size slide

  10. Bundles give you a common
    directory structure

    View full-size slide

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

    View full-size slide

  12. You get to concentrate on what the
    application does

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  15. Setting up assets and filters
    with Assetic alone

    View full-size slide

  16. Creating a controller action to
    serve the assets

    View full-size slide

  17. You can let the bundle do that for you

    View full-size slide

  18. Replace the boiler plate code with config

    View full-size slide

  19. Twig extension makes front end
    integration easy

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  22. This is similar for other components

    View full-size slide

  23. Also for third party libraries

    View full-size slide

  24. Everyone is happy with the
    quick progress made

    View full-size slide

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

    View full-size slide

  26. You want to use elasticsearch

    View full-size slide

  27. You could use Elastica directly

    View full-size slide

  28. You could index data directly with Elastica

    View full-size slide

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

    View full-size slide

  30. The bundle configures it for you

    View full-size slide

  31. The indexing is already done in bundle

    View full-size slide

  32. You get to work in terms
    you already know

    View full-size slide

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

    View full-size slide

  34. You get this for lots of libraries/bundles

    View full-size slide

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

    View full-size slide

  36. Remove barriers between you
    and the interesting code

    View full-size slide

  37. Questions?
    @mr_r_miller
    richardmiller.co.uk

    View full-size slide