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)
- 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
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
- Installing and Configuring Symfony
- The Request and Response Life Cycle
- Setting Up the Environment
- Using Behavior-Driven Development in Symfony
- Business Logic
- Dashboard and Security
- The Presentation Layer
- Project Review
- Services and Service Containers
- Custom User Commands
- More about Dev, Test and Prod Environments
- Caching in Symfony
Author(s): Sohail Salehi
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
Author(s): ANMOL GOYAL
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
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
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)
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
- 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
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 formsfrom simple contact forms to complex oneswith 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
- 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
Author(s): Fabien Potencier
Author(s): Miguel Torres Hernández, IT Campus Academy
Author(s): Miguel Torres Hernández
Author(s): ( BO ) BO LUN BU SI JI DENG . FU YONG DENG YI