cta quote button

Best Books to Learn Symfony

Read More

How Much Does It Cost to Hire Web Developers in Ukraine?

Our pricing is completely transparent: you pay your engineers’ salaries and a flat monthly fee for our services. No hidden charges.

Read More

1. The Definitive Guide to symfony (2007)

This book, authored by project and documentation leads Fabien Potencier and François Zaninotto, serves as a complete guide to all aspects of Symfony. Readers are guided through fundamental concepts such as installation, configuration, and security, followed by thorough discussion of advanced concepts such as scaffolding, routing, caching, and internationalization. Bundled with numerous tools for helping document, debug, and test your applications, and developed in a manner encouraging agile development principles, Symfony is sparking the imagination of thousands of developers around the globe.

Author(s): Francois Zaninotto, Fabien Potencier

2. Mastering Symfony (2016)

Key Features

  • Create a robust and reliable Symfony development pipeline using Amazon’s cloud platform
  • Cut development and maintenance costs by defining crystal clear features and possible scenarios for each feature before implementation
  • Follow detailed examples provided in each chapter to create a task management application

Book Description

In this book, you will learn some lesser known aspects of development with Symfony, and you will see how to use Symfony as a framework to create reliable and effective applications. You might have developed some impressive PHP libraries in other projects, but what is the point when your library is tied to one particular project? With Symfony, you can turn your code into a service and reuse it in other projects.

This book starts with Symfony concepts such as bundles, routing, twig, doctrine, and more, taking you through the request/response life cycle. You will then proceed to set up development, test, and deployment environments in AWS. Then you will create reliable projects using Behat and Mink, and design business logic, cover authentication, and authorization steps in a security checking process. You will be walked through concepts such as DependencyInjection, service containers, and services, and go through steps to create customized commands for Symfony’s console. Finally, the book covers performance optimization and the use of Varnish and Memcached in our project, and you are treated with the creation of database agnostic bundles and best practices.

What you will learn

  • Install and configure Symfony and required third-party bundles to develop a task management application
  • Set up a continuous integration server to orchestrate automatic builds every time you add a new feature to your project
  • Reduce maintenance costs dramatically using Behaviour Driven Development (BDD)
  • Create a slick user interface using the Bootstrap framework
  • Design robust business logic using Doctrine
  • Build a comprehensive dashboard and secure your project using the Sonata project
  • Improve performance using Redis, Memcache, and Varnish
  • Create customized Symfony commands and add them to your console

About the Author

Sohail Salehi is a full stack web developer who is constantly seeking creative solutions for complex problems. He believes that what has been taught as universalities should be considered as a basic stepping stone to real-life challenges. They cannot be used as practical solutions. He learned that a one-size-fits-all solution does not work in the IT world. Every business, every coding challenge, and every environment setup has its own signature and requires some tweaking on basic principals to make sure that it receives a reliable cost-effective solution.

When he is not staring at his computer screen, he is watching sunsets and sunrises, swimming and surfing in the ocean, and putting his subconscious mind at work by asking creative questions while facing life’s ups and downs on a daily basis.

Table of Contents

  1. Installing and Configuring Symfony
  2. The Request and Response Life Cycle
  3. Setting Up the Environment
  4. Using Behavior-Driven Development in Symfony
  5. Business Logic
  6. Dashboard and Security
  7. The Presentation Layer
  8. Project Review
  9. Services and Service Containers
  10. Custom User Commands
  11. More about Dev, Test and Prod Environments
  12. Caching in Symfony

Author(s): Sohail Salehi

3. A Year With Symfony: Writing healthy, reusable Symfony2 code (2013)

I’ve written A Year With Symfony for you, a developer who will work with Symfony2 for more than a month (and probably more than a year). You may have started reading your way through the official documentation (“The Book”), the cookbook, some blogs, or an online tutorial. You know now how to create a Symfony2 application, with routing, controllers, entities or documents, Twig templates and maybe some unit tests. But after these basic steps, some concerns will raise about…

  • The reusability of your code – How should you structure your code to make it reusable in a future project? Or even in the same project, but with a different view or in a console command?
  • The quality of the internal API you have knowingly or unknowingly created – What can you do to ensure that your team members will understand your code, and will use it in the way it was meant to be used? How can you make your code flexible enough to be used in situations resembling the one you wrote it for?
  • The level of security of your application – Symfony2 and Doctrine seem to automatically make you invulnerable for well-known attacks on your web application, like XSS, CSRF and SQL injection attacks. But can you completely rely on the framework? And what steps should you take to fix some of the remaining issues?
  • The inner workings of Symfony2 – When you take one step further from creating just controllers and views, you will soon need to know more about the HttpKernel which is the heart of a Symfony2 application. How does it know what controller should be used, and which template? And how can you override any decision that’s made while handling a request?

Author(s): Matthias Noback

4. Symfony tutorial for beginners: Learn Symfony step by step: Learn Symfony From Scratch (2018)

Symfony is an open-source PHP web application framework, designed for developers who need a simple and elegant toolkit to create full-featured web applications. Symfony is sponsored by SensioLabs. It was developed by Fabien Potencier in 2005. This tutorial will give you a quick introduction to Symfony framework and make you comfortable with its various components. Audience This tutorial has been prepared for beginners who want to learn the fundamental concenpts of Symfony framework. The readers will get enough understanding on how to create and develop a website using Symfony. Prerequisites Before proceeding with the various types of components given in this tutorial, it is being assumed that the readers are already aware about what a Framework is. In addition to this, it will also be very helpful if you have a sound knowledge on HTML, PHP, and the OOPS concepts.

Author(s): ANMOL GOYAL

5. Building PHP Applications with Symfony, CakePHP, and Zend Framework (2011)

The first detailed, unbiased comparison of the three leading PHP frameworks

Web developers have been eager for an impartial comparison of leading PHP frameworks so they can make educated decisions about the most effective tool for their needs. This guide uses Symfony, CakePHP, and Zend Framework to solve key problems, providing source code examples and comparisons for each. It explains the approach and reviews the similarities and differences in the three frameworks, providing reliable information on which to base your decisions.

  • Symfony, CakePHP, and Zend Framework are considered the leading PHP frameworks; developers need an unbiased comparison to choose which one works best for their individual situations
  • This guide uses each framework to solve the same problems, illustrating the solutions with source code examples and working applications
  • Covers wide range of topics, from installation and configuration to most advanced features like AJAX, web services and automated testing.
  • Includes an appendix of new PHP frameworks, including CodeIgniter, Lithium, and Agavi
  • Bestselling PHP author Elizabeth Naramore serves as technical editor

Comparison of PHP Web Frameworks provides the impartial, side-by-side comparison that developers have been looking for.

Author(s): Bartosz Porebski, Karol Przystalski

6. Extending Symfony 2 Web Application Framework (2014)

Optimize, audit, and customize web applications with Symfony

About This Book

  • Extend the main elements of Symfony 2
  • Learn about the internal Symfony 2 framework
  • Customize developed web applications with Symfony 2

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.

What You Will Learn

  • Make and review services and listeners
  • Integrate your extension with specific hooks
  • Create custom commands, templates, and database integration
  • Customize the security layer
  • Configure extensions to share with the community
  • Integrate to the same level as Symfony’s core modules

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.

Author(s): Sebastien Armand

7. A Gentle Introduction to symfony 1.4 (2010)

Format Paperback Subject Literary Collections

Author(s): François Zaninotto, Fabien Potencier

8. Symfony 1.3 Web Application Development (2009)

Design, develop, and deploy feature-rich, high-performance PHP web applications using the Symfony framework

Overview

  • Create powerful web applications by leveraging the power of this Model-View-Controller-based framework
  • Covers all the new features of version 1.3 – many exciting plug-ins for you
  • Learn by doing without getting into too much theoretical detail – create a “real-life” milkshake store application
  • Includes best practices to shorten your development time and improve performance

In Detail

With its flexible architecture, the Symfony framework allows you to build modern web applications and web services easily and rapidly. The MVC components separate the logic from the user interface and therefore make developing, changing, and testing your applications much faster. Using Symfony you can minimize repetitive coding tasks, optimize performance, and easily integrate with other libraries and frameworks.

Although this framework contains with many powerful features, most developers do not exploit Symfony to its full potential.

This book makes it easy to get started and produce a powerful and professional-looking web site utilizing the many features of Symfony. Taking you through a real-life application, it covers all major Symfony framework features without pushing you into too much theoretical detail, as well as throwing some light on the best practices for rapid application development.

This book takes you through detailed examples as well as covering the foundations that you will need to get the most out of the Symfony framework. You will learn to shorten the development time of your complex applications and maintain them with ease. You will create several useful plug-ins and add them to your application and automate common tasks. The book also covers best practices and discussions on security and optimization. You will learn to utilize all major features of this framework by implementing them in your application.

What you will learn from this book?

  • Set up the foundations for a database-driven web site using Symfony
  • Create a list of products by accessing data from a database, paginate the menu, and then customize its look
  • Create forms—from simple contact forms to complex ones—with user-defined fields using sfFormExtraPlugin
  • Send email notifications to the customers using PHP SwiftMailer library
  • Create quick development task plug-ins to save your development time and package them into your application
  • Configure and customize Symfony’s admin generator to create a nice looking back-office
  • Secure your backend application with the Symfony authentication mechanism, leveraging the power of the sfGuardPlug-in security and authentication plug-in
  • Create an advanced admin panel with JavaScript that allows image files to be uploaded and thumbnails to be automatically generated
  • Enhance your search mechanism by using the JQueryAutoComplete Widget to add an auto-complete feature to it
  • Allow your users to choose their preferred language for display by introducing internationalization and localization to your application
  • Integrate a component from another framework into your application with minimum effort
  • Optimize the response time of your site by using compression and caching

Author(s): Bowler,Tim, Bancer,Wojciech

9. symfony in pratica 1.3 & 1.4 (Propel) (Italian Edition) (2009)

Il libro “symfony in pratica” spiega come costruire da zero una applicazione completa e funzionale. Sicuramente il modo migliore per imparare symfony. Questo libro si basa sul tutorial Jobeet.

Author(s): Fabien Potencier

10. Symfony Framework: Desarrollo Rápido de Aplicaciones Web. 2ª Edición (Spanish Edition) (2016)

Symfony es un framework web escrito en PHP que sigue el paradigma MVC (model-view-controller), cuya curva de aprendizaje necesaria para su uso es baja, es framework bastante fácil de usar. Está orientado para permitir que los desarrolladores apliquen principios ágiles del desarrollo tales como DRY o XP y enfoqado en la reglas de negocio sin la necesidad de escribir muchos archivos de configuración XML, muy comunes en los frameworks actuales. Symfony tiene como objetivo construir aplicaciones robustas para entornos empresariales, y dar a los desarrolladores un control total sobre la configuración de elementos tales como la estructura de directorios, bibliotecas externas, casi todo puede ser personalizado. Actualmente Symfony es usado por el servicio de preguntas y respuestas Askeet y otras muchas más aplicaciones, incluyendo el Yahoo Bookmarks, aplicación con más de 20 millones de usuarios.

Author(s): Miguel Torres Hernández, IT Campus Academy

11. Symfony Framework: Desarrollo Rápido de Aplicaciones Web (Spanish Edition) (2015)

Symfony es un framework web escrito en PHP que sigue el paradigma MVC (model-view-controller), cuya curva de aprendizaje necesaria para su uso es baja, es framework bastante fácil de usar. Está orientado para permitir que los desarrolladores apliquen principios ágiles del desarrollo tales como DRY o XP y enfoqado en la reglas de negocio sin la necesidad de escribir muchos archivos de configuración XML, muy comunes en los frameworks actuales. Symfony tiene como objetivo construir aplicaciones robustas para entornos empresariales, y dar a los desarrolladores un control total sobre la configuración de elementos tales como la estructura de directorios, bibliotecas externas, casi todo puede ser personalizado. Actualmente Symfony es usado por el servicio de preguntas y respuestas Askeet y otras muchas más aplicaciones, incluyendo el Yahoo Bookmarks, aplicación con más de 20 millones de usuarios.

Author(s): Miguel Torres Hernández

12. Advanced Programming: Application of PHP framework Symfony. CakePHP and Zend (2000)

Paperback. Pub Date :2012-2-1 Pages: 503 Publisher: Tsinghua University Press. despite learning how to generate dynamic web pages using a single php framework is relatively simple. but determining these three mainstream web application framework in which one best meets your requirements is not easy. Php framework for high-level programming – Application symfony. cakephp and zend a book of three of the most popular open source frameworks were unbiased in-depth comparison of these three frameworks symfony. cakephp and zendframework. Php framework for high-level programming – Application symfony. cakephp and zend detailed discussion of these three kinds of similarities and differences between frames. and each frame to provide similar examples and tasks. so the reader can determine which frame the most for you. provide valuable comparative law. a detailed comparison of symfony. …

Author(s): ( BO ) BO LUN BU SI JI DENG . FU YONG DENG YI