Sebastien Armand - Extending Symfony2 Web Application Framework [2014, PDF/EPUB/MOBI, ENG] + Code

seeders: 5
leechers: 0
Added 11 years ago by D@vidoff in Books  > Non-Fiction

Download Fast Safe Anonymous
movies, software, shows...

Files

Sebastien Armand - Extending Symfony2 Web Application Framework [2014, PDF/EPUB/MOBI, ENG] + Code (Size: 7.23 MB)
  Code
  Chapter 1
  LICENSE 1.04 KB
  README.md 5.71 KB
  UPGRADE-2.2.md 1.28 KB
  UPGRADE-2.3.md 1.92 KB
  UPGRADE.md 8.3 KB
  app
  .htaccess 13 B
  AppCache.php 141 B
  AppKernel.php 1.35 KB
  Resources
  views
  base.html.twig 386 B
  SymfonyRequirements.php 27.56 KB
  autoload.php 267 B
  cache
  .gitkeep 0 B
  check.php 1.75 KB
  config
  config.yml 2.95 KB
  config_dev.yml 643 B
  config_prod.yml 489 B
  config_test.yml 270 B
  parameters.yml.dist 380 B
  routing.yml 649 B
  routing_dev.yml 369 B
  security.yml 756 B
  console 867 B
  logs
  .gitkeep 0 B
  phpunit.xml.dist 1.3 KB
  composer.json 2.14 KB
  composer.lock 70.47 KB
  console 11 B
  src
  .htaccess 13 B
  Khepin
  BookBundle
  Controller
  DefaultController.php 2 KB
  EventController.php 6.44 KB
  DependencyInjection
  Configuration.php 877 B
  KhepinBookExtension.php 878 B
  Entity
  Event.php 2.73 KB
  User.php 1.39 KB
  Event
  Listener
  JoinMeetupListener.php 937 B
  MeetupEvent.php 513 B
  MeetupEvents.php 308 B
  Form
  EventType.php 924 B
  JoinEventType.php 814 B
  Geo
  UserLocator.php 1009 B
  KhepinBookBundle.php 128 B
  Resources
  config
  services.xml 697 B
  doc
  index.rst 0 B
  translations
  messages.fr.xlf 373 B
  views
  Default
  index.html.twig 410 B
  join.html.twig 147 B
  Event
  edit.html.twig 299 B
  index.html.twig 1.23 KB
  new.html.twig 261 B
  show.html.twig 913 B
  Tests
  Controller
  DefaultControllerTest.php 1.3 KB
  EventControllerTest.php 1.96 KB
  Geo
  UserLocatorTest.php 1.08 KB
  web
  .htaccess 2.56 KB
  app.php 750 B
  app_dev.php 1.12 KB
  apple-touch-icon.png 10.53 KB
  config.php 5.61 KB
  favicon.ico 1.12 KB
  robots.txt 106 B
  Chapter 2
  LICENSE 1.04 KB
  README.md 5.71 KB
  UPGRADE-2.2.md 1.28 KB
  UPGRADE-2.3.md 1.92 KB
  UPGRADE.md 8.3 KB
  app
  .htaccess 13 B
  AppCache.php 141 B
  AppKernel.php 1.35 KB
  Resources
  views
  base.html.twig 386 B
  SymfonyRequirements.php 27.56 KB
  autoload.php 267 B
  cache
  .gitkeep 0 B
  check.php 1.75 KB
  config
  config.yml 3.23 KB
  config_dev.yml 643 B
  config_prod.yml 489 B
  config_test.yml 270 B
  parameters.yml.dist 380 B
  routing.yml 649 B
  routing_dev.yml 369 B
  security.yml 756 B
  console 867 B
  logs
  .gitkeep 0 B
  phpunit.xml.dist 1.3 KB
  composer.json 2.18 KB
  composer.lock 72.62 KB
  console 11 B
  src
  .htaccess 13 B
  Khepin
  BookBundle
  Command
  ResizePictureCommand.php 1.3 KB
  Shrinker.php 431 B
  UpdateProfilePicsCommand.php 1.57 KB
  Controller
  DefaultController.php 2 KB
  EventController.php 6.44 KB
  DependencyInjection
  Configuration.php 877 B
  KhepinBookExtension.php 878 B
  Entity
  Event.php 2.73 KB
  User.php 1.83 KB
  Event
  Listener
  JoinMeetupListener.php 937 B
  MeetupEvent.php 513 B
  MeetupEvents.php 308 B
  Form
  EventType.php 924 B
  JoinEventType.php 814 B
  Geo
  UserLocator.php 962 B
  KhepinBookBundle.php 128 B
  Resources
  config
  services.xml 697 B
  doc
  index.rst 0 B
  translations
  messages.fr.xlf 373 B
  views
  Default
  index.html.twig 547 B
  join.html.twig 147 B
  Event
  edit.html.twig 299 B
  index.html.twig 1.23 KB
  new.html.twig 261 B
  show.html.twig 913 B
  Twig
  javascripts.html.twig 91 B
  Tests
  Command
  ResizePictureCommandTest.php 872 B
  fixtures
  pic.png 454.82 KB
  resized
  .gitkeep 0 B
  pic.png 83.36 KB
  Controller
  DefaultControllerTest.php 1.3 KB
  EventControllerTest.php 1.96 KB
  Geo
  UserLocatorTest.php 1.07 KB
  Twig
  Fixtures
  jslater.test 206 B
  KhepinExtensionTest.php 396 B
  Twig
  KhepinExtension.php 950 B
  web
  .htaccess 2.56 KB
  app.php 750 B
  app_dev.php 1.12 KB
  apple-touch-icon.png 10.53 KB
  config.php 5.61 KB
  favicon.ico 1.12 KB
  pictures
  resized
  pic.png 83.36 KB
  robots.txt 106 B
  Chapter 3
  LICENSE 1.04 KB
  README.md 5.71 KB
  UPGRADE-2.2.md 1.28 KB
  UPGRADE-2.3.md 1.92 KB
  UPGRADE.md 8.3 KB
  app
  .htaccess 13 B
  AppCache.php 141 B
  AppKernel.php 1.42 KB
  Resources
  views
  base.html.twig 386 B
  SymfonyRequirements.php 27.56 KB
  autoload.php 267 B
  cache
  .gitkeep 0 B
  check.php 1.75 KB
  config
  config.yml 3.54 KB
  config_dev.yml 643 B
  config_prod.yml 489 B
  config_test.yml 270 B
  parameters.yml.dist 380 B
  routing.yml 649 B
  routing_dev.yml 369 B
  security.yml 756 B
  console 867 B
  logs
  .gitkeep 0 B
  phpunit.xml.dist 1.3 KB
  composer.json 2.22 KB
  composer.lock 76.35 KB
  console 11 B
  src
  .htaccess 13 B
  Khepin
  BookBundle
  Command
  ResizePictureCommand.php 1.3 KB
  Shrinker.php 431 B
  UpdateProfilePicsCommand.php 1.57 KB
  Controller
  DefaultController.php 3.58 KB
  EventController.php 6.44 KB
  DependencyInjection
  Configuration.php 877 B
  KhepinBookExtension.php 878 B
  Entity
  Address.php 2.42 KB
  Coordinate.php 1.36 KB
  Event.php 3.18 KB
  User.php 1.83 KB
  Event
  Listener
  JoinMeetupListener.php 937 B
  MeetupEvent.php 513 B
  MeetupEvents.php 308 B
  Form
  AddressType.php 3.71 KB
  CoordinateType.php 1.99 KB
  EventLocationType.php 893 B
  EventType.php 924 B
  JoinEventType.php 814 B
  Transformer
  GeoTransformer.php 457 B
  Geo
  Coordinate.php 1.33 KB
  UserLocator.php 1.18 KB
  KhepinBookBundle.php 128 B
  Resources
  config
  services.xml 697 B
  doc
  index.rst 0 B
  translations
  messages.fr.xlf 373 B
  views
  Default
  address.html.twig 250 B
  index.html.twig 547 B
  join.html.twig 147 B
  map.html.twig 271 B
  Event
  edit.html.twig 299 B
  index.html.twig 1.23 KB
  new.html.twig 261 B
  show.html.twig 913 B
  Form
  widgets.html.twig 569 B
  Twig
  javascripts.html.twig 91 B
  Tests
  Command
  ResizePictureCommandTest.php 872 B
  fixtures
  pic.png 454.82 KB
  resized
  .gitkeep 0 B
  pic.png 83.36 KB
  Controller
  DefaultControllerTest.php 1.3 KB
  EventControllerTest.php 1.96 KB
  Geo
  UserLocatorTest.php 1.07 KB
  Twig
  Fixtures
  jslater.test 206 B
  KhepinExtensionTest.php 396 B
  Twig
  KhepinExtension.php 950 B
  web
  .htaccess 2.56 KB
  app.php 750 B
  app_dev.php 1.12 KB
  apple-touch-icon.png 10.53 KB
  config.php 5.61 KB
  favicon.ico 1.12 KB
  pictures
  resized
  pic.png 83.36 KB
  robots.txt 106 B
  Chapter 4
  LICENSE 1.04 KB
  README.md 5.71 KB
  UPGRADE-2.2.md 1.28 KB
  UPGRADE-2.3.md 1.92 KB
  UPGRADE.md 8.3 KB
  app
  .htaccess 13 B
  AppCache.php 141 B
  AppKernel.php 1.48 KB
  Resources
  views
  base.html.twig 579 B
  SymfonyRequirements.php 28.16 KB
  autoload.php 485 B
  check.php 1.75 KB
  config
  config.yml 5.79 KB
  config_dev.yml 643 B
  config_prod.yml 489 B
  config_test.yml 813 B
  parameters.yml.dist 380 B
  routing.yml 691 B
  routing_dev.yml 369 B
  security.yml 987 B
  console 867 B
  phpunit.xml.dist 1.3 KB
  composer.json 2.3 KB
  composer.lock 94.7 KB
  console 11 B
  src
  .htaccess 13 B
  Khepin
  BookBundle
  Command
  ResizePictureCommand.php 1.3 KB
  Shrinker.php 431 B
  UpdateProfilePicsCommand.php 1.57 KB
  Controller
  DefaultController.php 5.71 KB
  EventController.php 6.82 KB
  DependencyInjection
  Configuration.php 877 B
  KhepinBookExtension.php 878 B
  Doctrine
  NonUserOwnedEntity.php 79 B
  OwnerFilter.php 490 B
  OwnerListener.php 505 B
  Versionable.php 367 B
  VersionableListener.php 1.65 KB
  Document
  CoordinatesType.php 850 B
  Meetup.php 1.12 KB
  Entity
  Address.php 2.42 KB
  Coordinate.php 1.33 KB
  Event.php 4.08 KB
  User.php 2.34 KB
  Event
  Listener
  JoinMeetupListener.php 937 B
  MeetupEvent.php 513 B
  MeetupEvents.php 308 B
  Form
  AddressType.php 3.71 KB
  CoordinateType.php 1.99 KB
  EventLocationType.php 893 B
  EventType.php 959 B
  JoinEventType.php 814 B
  Transformer
  GeoTransformer.php 457 B
  Geo
  Coordinate.php 1.33 KB
  UserLocator.php 1.18 KB
  KhepinBookBundle.php 471 B
  Resources
  config
  services.xml 697 B
  doc
  index.rst 0 B
  translations
  messages.fr.xlf 373 B
  views
  Default
  address.html.twig 250 B
  index.html.twig 531 B
  join.html.twig 147 B
  map.html.twig 271 B
  recurring.html.twig 140 B
  Event
  edit.html.twig 299 B
  index.html.twig 1.23 KB
  new.html.twig 261 B
  show.html.twig 913 B
  Form
  widgets.html.twig 569 B
  Twig
  javascripts.html.twig 91 B
  Security
  Annotation
  ValidateUser.php 347 B
  ApiCustomCookieListener.php 569 B
  Github
  AuthenticationListener.php 1.18 KB
  AuthenticationProvider.php 1 KB
  GithubUserToken.php 388 B
  SecurityFactory.php 1.1 KB
  UserProvider.php 1.63 KB
  ValidUserListener.php 2.15 KB
  Voters
  CountryVoter.php 1.04 KB
  MeetupVoter.php 1.23 KB
  Tests
  Command
  ResizePictureCommandTest.php 872 B
  fixtures
  pic.png 454.82 KB
  resized
  .gitkeep 0 B
  pic.png 83.36 KB
  Controller
  DefaultControllerTest.php 1.31 KB
  EventControllerTest.php 1.96 KB
  VersionableTest.php 1.41 KB
  Document
  MongoCoordinateTypeTest.php 1.57 KB
  Geo
  UserLocatorTest.php 1.07 KB
  Twig
  Fixtures
  jslater.test 206 B
  KhepinExtensionTest.php 396 B
  db.sqlite 0 B
  Twig
  KhepinExtension.php 950 B
  web
  .htaccess 2.56 KB
  app.php 750 B
  app_dev.php 1.12 KB
  apple-touch-icon.png 10.53 KB
  config.php 5.61 KB
  favicon.ico 1.12 KB
  pictures
  resized
  pic.png 83.36 KB
  robots.txt 106 B
  Chapter 5
  LICENSE 1.04 KB
  README.md 5.71 KB
  UPGRADE-2.2.md 1.28 KB
  UPGRADE-2.3.md 1.92 KB
  UPGRADE.md 8.3 KB
  app
  .htaccess 13 B
  AppCache.php 141 B
  AppKernel.php 1.48 KB
  Resources
  views
  base.html.twig 386 B
  SymfonyRequirements.php 27.66 KB
  autoload.php 485 B
  check.php 1.75 KB
  config
  config.yml 4.43 KB
  config_dev.yml 643 B
  config_prod.yml 489 B
  config_test.yml 813 B
  parameters.yml.dist 380 B
  routing.yml 649 B
  routing_dev.yml 369 B
  security.yml 756 B
  console 867 B
  phpunit.xml.dist 1.3 KB
  composer.json 2.26 KB
  composer.lock 90.55 KB
  console 11 B
  src
  .htaccess 13 B
  Khepin
  BookBundle
  Command
  ResizePictureCommand.php 1.3 KB
  Shrinker.php 431 B
  UpdateProfilePicsCommand.php 1.57 KB
  Controller
  DefaultController.php 4.12 KB
  EventController.php 6.48 KB
  DependencyInjection
  Configuration.php 877 B
  KhepinBookExtension.php 878 B
  Doctrine
  NonUserOwnedEntity.php 79 B
  OwnerFilter.php 490 B
  OwnerListener.php 499 B
  Versionable.php 367 B
  VersionableListener.php 1.65 KB
  Document
  CoordinatesType.php 850 B
  Meetup.php 1.12 KB
  Entity
  Address.php 2.42 KB
  Coordinate.php 1.33 KB
  Event.php 4.08 KB
  User.php 1.97 KB
  Event
  Listener
  JoinMeetupListener.php 937 B
  MeetupEvent.php 513 B
  MeetupEvents.php 308 B
  Form
  AddressType.php 3.71 KB
  CoordinateType.php 1.99 KB
  EventLocationType.php 893 B
  EventType.php 959 B
  JoinEventType.php 814 B
  Transformer
  GeoTransformer.php 457 B
  Geo
  Coordinate.php 1.33 KB
  UserLocator.php 1.18 KB
  KhepinBookBundle.php 128 B
  Resources
  config
  services.xml 697 B
  doc
  index.rst 0 B
  translations
  messages.fr.xlf 373 B
  views
  Default
  address.html.twig 250 B
  index.html.twig 531 B
  join.html.twig 147 B
  map.html.twig 271 B
  recurring.html.twig 140 B
  Event
  edit.html.twig 299 B
  index.html.twig 1.23 KB
  new.html.twig 261 B
  show.html.twig 913 B
  Form
  widgets.html.twig 569 B
  Twig
  javascripts.html.twig 91 B
  Tests
  Command
  ResizePictureCommandTest.php 872 B
  fixtures
  pic.png 454.82 KB
  resized
  .gitkeep 0 B
  pic.png 83.36 KB
  Controller
  DefaultControllerTest.php 1.31 KB
  EventControllerTest.php 1.96 KB
  VersionableTest.php 1.41 KB
  Document
  MongoCoordinateTypeTest.php 1.57 KB
  Geo
  UserLocatorTest.php 1.07 KB
  Twig
  Fixtures
  jslater.test 206 B
  KhepinExtensionTest.php 396 B
  db.sqlite 0 B
  Twig
  KhepinExtension.php 950 B
  web
  .htaccess 2.56 KB
  app.php 750 B
  app_dev.php 1.12 KB
  apple-touch-icon.png 10.53 KB
  config.php 5.61 KB
  favicon.ico 1.12 KB
  pictures
  resized
  pic.png 83.36 KB
  robots.txt 106 B
  Chapter 6
  LICENSE 1.04 KB
  README.md 5.71 KB
  UPGRADE-2.2.md 1.28 KB
  UPGRADE-2.3.md 1.92 KB
  UPGRADE.md 8.3 KB
  app
  .htaccess 13 B
  AppCache.php 141 B
  AppKernel.php 1.55 KB
  Resources
  views
  base.html.twig 579 B
  SymfonyRequirements.php 28.16 KB
  autoload.php 485 B
  check.php 1.75 KB
  config
  config.yml 5.43 KB
  config_dev.yml 643 B
  config_prod.yml 489 B
  config_test.yml 845 B
  parameters.yml.dist 380 B
  routing.yml 691 B
  routing_dev.yml 369 B
  security.yml 987 B
  console 867 B
  phpunit.xml.dist 1.3 KB
  composer.json 2.3 KB
  composer.lock 94.7 KB
  console 11 B
  src
  .htaccess 13 B
  Khepin
  BookBundle
  Command
  ResizePictureCommand.php 1.3 KB
  Shrinker.php 431 B
  UpdateProfilePicsCommand.php 1.57 KB
  Controller
  DefaultController.php 5.71 KB
  EventController.php 6.82 KB
  DependencyInjection
  Configuration.php 877 B
  KhepinBookExtension.php 878 B
  Doctrine
  NonUserOwnedEntity.php 79 B
  OwnerFilter.php 490 B
  OwnerListener.php 505 B
  Versionable.php 387 B
  VersionableListener.php 1.25 KB
  Document
  CoordinatesType.php 850 B
  Meetup.php 1.12 KB
  Entity
  Address.php 2.42 KB
  Coordinate.php 1.33 KB
  Event.php 4.08 KB
  User.php 2.34 KB
  Event
  Listener
  JoinMeetupListener.php 937 B
  MeetupEvent.php 513 B
  MeetupEvents.php 308 B
  Form
  AddressType.php 3.71 KB
  CoordinateType.php 1.99 KB
  EventLocationType.php 893 B
  EventType.php 959 B
  JoinEventType.php 814 B
  Transformer
  GeoTransformer.php 457 B
  Geo
  Coordinate.php 1.33 KB
  UserLocator.php 1.18 KB
  KhepinBookBundle.php 128 B
  Resources
  config
  services.xml 697 B
  doc
  index.rst 0 B
  translations
  messages.fr.xlf 373 B
  views
  Default
  address.html.twig 250 B
  index.html.twig 531 B
  join.html.twig 147 B
  map.html.twig 271 B
  recurring.html.twig 140 B
  Event
  edit.html.twig 299 B
  index.html.twig 1.23 KB
  new.html.twig 261 B
  show.html.twig 913 B
  Form
  widgets.html.twig 569 B
  Twig
  javascripts.html.twig 91 B
  Security
  Annotation
  ValidateUser.php 347 B
  ApiCustomCookieListener.php 569 B
  ValidUserListener.php 2.15 KB
  Voters
  CountryVoter.php 1.04 KB
  MeetupVoter.php 1.23 KB
  Tests
  Command
  ResizePictureCommandTest.php 872 B
  fixtures
  pic.png 454.82 KB
  resized
  .gitkeep 0 B
  pic.png 83.36 KB
  Controller
  DefaultControllerTest.php 1.31 KB
  EventControllerTest.php 1.96 KB
  Doctrine
  VersionableTest.php 1.41 KB
  Document
  MongoCoordinateTypeTest.php 1.57 KB
  Geo
  UserLocatorTest.php 1.07 KB
  Twig
  Fixtures
  jslater.test 206 B
  KhepinExtensionTest.php 396 B
  db.sqlite 0 B
  Twig
  KhepinExtension.php 950 B
  GithubAuthBundle
  DependencyInjection
  Configuration.php 1.08 KB
  KhepinGithubAuthExtension.php 1.4 KB
  KhepinGithubAuthBundle.php 489 B
  README.md 836 B
  Resources
  config
  services.xml 1.96 KB
  Security
  Github
  AuthenticationListener.php 1.53 KB
  AuthenticationProvider.php 1.01 KB
  GithubUserToken.php 394 B
  SecurityFactory.php 1.1 KB
  UserProvider.php 1.71 KB
  composer.json 563 B
  web
  .htaccess 2.56 KB
  app.php 750 B
  app_dev.php 1.12 KB
  apple-touch-icon.png 10.53 KB
  config.php 5.61 KB
  favicon.ico 1.12 KB
  pictures
  resized
  pic.png 83.36 KB
  robots.txt 106 B
  Sebastien Armand - Extending Symfony2 Web Application Framework - 2014.epub 348.42 KB
  Sebastien Armand - Extending Symfony2 Web Application Framework - 2014.mobi 844.18 KB
  Sebastien Armand - Extending Symfony2 Web Application Framework - 2014.pdf 1.74 MB

Description


Книги и журналы » Компьютерная литература » Веб-дизайн и программирование

Extending Symfony2 Web Application Framework

Год: 2014
Автор: Sebastien Armand
Издательство: Packt Publishing
ISBN: 978-1-78328-719-2
Язык: Английский
Формат: PDF/EPUB/MOBI
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 140
Описание:

In Detail

Symfony is a high performance PHP framework for developing MVC web applications. Symfony1 allowed for ease of use but its shortcoming was the difficulty of extending it. However, this difficulty has now been eradicated by the more powerful and extensible Symfony2. Information on more advanced techniques for extending Symfony can be difficult to find, so you need one resource that contains the advanced features in a way you can understand.
This tutorial offers solutions to all your Symfony extension problems. You will get to grips with all the extension points that Symfony, Twig, and Doctrine offer and understand how each of them can be specifically leveraged to achieve cleaner, better structured, and re-usable code for your application.
Beginning with the core concepts of Services and Listeners, you quickly move on to learn the complexity of forms, creating commands, and implementing security, and finally you will share these extensions with others. This book will tell you everything you need to know to regain control of your code, to keep things simple, and share it within your application(s) or even the world. Whether you have already written extensions for Symfony2 or not, this book will be a useful guide through all possible types of extensions, and how each of them can be implemented and leveraged in your own applications.

Approach

With lots of practical, hands-on, step-by-step examples, this book will lead you through how to extend and optimize your Symfony2 framework.

Who this book is for

If you have a good understanding of how Symfony works and are now trying to integrate complex tasks in your application, or want to better organize your application by keeping each piece of code where it belongs so it can be decoupled and easily used elsewhere, then this book is for you.
[spoiler="Примеры страниц"]

[/spoiler]
[spoiler="Оглавление"]
Preface
Chapter 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
Chapter 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 timedifference filter
Chapter 3: Forms
An input for geographical coordinates
Setting up the basics
Using the map
Data transformers
Forms based on user data
Going further
The initialsetup
Adding and removing fields
Chapter 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
Chapter 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
Chapter 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?
Index
[/spoiler]