E-book details

Extending Symfony2 Web Application Framework. Symfony2 took the great features of the original framework to new levels of extensibility. With this practical guide you’ll learn how to make the most of Symfony2 through controlling your code and sharing it more widely

Extending Symfony2 Web Application Framework. Symfony2 took the great features of the original framework to new levels of extensibility. With this practical guide you’ll learn how to make the most of Symfony2 through controlling your code and sharing it more widely

Sebastien Armand

Ebook
  • Extending Symfony2 Web Application Framework
    • Table of Contents
    • Extending Symfony2 Web Application Framework
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers, and more
        • Why subscribe?
        • Free access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Downloading the example code
        • Errata
        • Piracy
        • Questions
    • 1. Services and Listeners
      • Services
        • A geolocation service
        • Testing services and testing with services
        • Tagging services
      • Listeners
        • Updating user preferences using custom events
        • Improving user performance
          • Code that works after the response
      • Summary
    • 2. Commands and Templates
      • Commands
        • The initial situation
        • Resizing user pictures
        • Testing a command
        • Commands as an interface to services
      • Twig
        • Managing our scripts
        • Testing a Twig extension
        • The time difference filter
      • Summary
    • 3. Forms
      • An input for geographical coordinates
        • Setting up the basics
        • Using the map
      • Data transformers
      • Forms based on user data
      • Going further
        • The initial setup
        • Adding and removing fields
      • Summary
    • 4. Security
      • Authentication
        • Simple OAuth with GitHub
          • The firewall
          • The security factory
      • Authorization
        • Voters
        • Annotations
          • Defining an annotation
          • Securing controllers with custom annotations
      • Securing an API an example
      • Summary
    • 5. Doctrine
      • Creating your own data types
        • User and meetup locations
        • Testing
      • Custom DQL functions
      • Versioning
        • Setting a version on all entities
        • Using and updating versions
        • Testing
      • Creating a Doctrine filter
      • Summary
    • 6. Sharing Your Extensions
      • Creating the bundle
        • Exposing the configuration
      • Getting ready to share
        • Research
        • Documentation
        • Testing
        • Distribution and licensing
        • Is it just a bundle?
      • Summary
    • Index
  • Title: Extending Symfony2 Web Application Framework. Symfony2 took the great features of the original framework to new levels of extensibility. With this practical guide you’ll learn how to make the most of Symfony2 through controlling your code and sharing it more widely
  • Author: Sebastien Armand
  • Original title: Extending Symfony2 Web Application Framework. Symfony2 took the great features of the original framework to new levels of extensibility. With this practical guide you’ll learn how to make the most of Symfony2 through controlling your code and sharing it more widely.
  • ISBN: 9781783287208, 9781783287208
  • Date of issue: 2014-03-25
  • Format: Ebook
  • Item ID: e_3d2u
  • Publisher: Packt Publishing