Symfony 5

Symfony 5
Author: Fabien Potencier
Publisher: Symfony SAS
Total Pages: 308
Release: 2019-11-08
Genre:
ISBN: 9782918390374

Mastering Symfony

Mastering Symfony
Author: Sohail Salehi
Publisher: Packt Publishing Ltd
Total Pages: 290
Release: 2016-04-26
Genre: Computers
ISBN: 1784394262

Orchestrate the designing, development, testing, and deployment of web applications with Symfony About This Book 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 Who This Book Is For If you are a PHP developer with some experience in Symfony and are looking to master the framework and use it to its full potential, then this book is for you. Though experience with PHP, object-oriented techniques, and Symfony basics is assumed, this book will give you a crash course on the basics and then proceed to more advanced topics. 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 In Detail 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. Style and approach A step-by-step guide to mastering Symfony while developing a task management application. Each chapter comes with detailed examples.

The Definitive Guide to symfony

The Definitive Guide to symfony
Author: Francois Zaninotto
Publisher: Apress
Total Pages: 520
Release: 2007-04-01
Genre: Computers
ISBN: 143020379X

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.

Building PHP Applications with Symfony, CakePHP, and Zend Framework

Building PHP Applications with Symfony, CakePHP, and Zend Framework
Author: Bartosz Porebski
Publisher: John Wiley and Sons
Total Pages: 576
Release: 2011-02-17
Genre: Computers
ISBN: 1118067924

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.

Modernizing Legacy Applications in PHP

Modernizing Legacy Applications in PHP
Author: Paul Jones
Publisher: Lulu.com
Total Pages: 249
Release: 2014-05-02
Genre: Computers
ISBN: 131210063X

This book will show you how to modernize your page-based, include-oriented PHP application by extracting and replacing its legacy artifacts. We will use a step-by-step approach, moving slowly and methodically, to improve your application from the ground up. Each completed step in the process will keep your codebase fully operational with higher quality. Please note that this book is about modernizing in terms of practice and technique, and not in terms of tools. We are not going to discuss the latest, hottest frameworks or libraries. Most of the very limited code we do add to your application is specific to this book. When we are done, you will be able to breeze through your code like the wind. Your code will be fully modernized: autoloaded, dependency-injected, unit-tested, layer-separated, and front-controlled.

A Year with Symfony

A Year with Symfony
Author: Matthias Noback
Publisher:
Total Pages: 230
Release: 2013-09-04
Genre:
ISBN: 9789082120110

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?

Symfony2 Essentials

Symfony2 Essentials
Author: Wojciech Bancer
Publisher: Packt Publishing Ltd
Total Pages: 158
Release: 2015-09-08
Genre: Computers
ISBN: 1784395935

A fast-paced developer's guide to using Symfony2 to make your everyday web development work more efficient About This Book Build web applications with the latest features of Symfony2 Focus on common tasks such as creating CRUD, creating an API, and providing a login Install and configure Symfony2 and evaluate it for your everyday needs Who This Book Is For This book is aimed at experienced programmers, especially those familiar with a closely related technology such as Yii or Laravel, but who now want to learn Symfony quickly. This book will also prove beneficial for experienced PHP developers who want to explore and evaluate new frameworks and their possibilities in day-to-day tasks. What You Will Learn Familiarise yourself with the Symfony framework, its latest features, and how to install it Discover the concept of bundles and their application Handle translations within Symfony, enable translations, and learn how to handle database translations Understand Symfony's security model, how to secure applications, and implement a custom authentication provider by using FOSUserBundle Explore the use of Twig, find best practices around its usage, and discover its common pitfalls Create internal commands that will handle sending e-mail reminders for your app Develop a plugin for the profiler to provide custom information about your application Deploy applications based on Symfony2 using various methods including simple FTP copying, rsync, CI deployment, and more In Detail Symfony is a free and open source PHP MVC web application development framework, which helps you create and maintain web applications and replace recurrent coding tasks. It integrates with an independent library, PHPUnit, to give you a rich testing framework. It is one of the best and most popular frameworks available on the market. Popular projects such as Drupal, Laravel, and phpBB also use Symfony. Its well-organized structure, clean code, and good programming practices make web development a breeze. Symfony2 Essentials will guide you through the process of creating a sample web application with Symfony2. You will create a To-Do application, using a few of the most commonly used Symfony2 components, and discover how to perform these development tasks efficiently. This book introduces you to the Symfony framework with a quick installation guide and a brief explanation of its key features including the MVC architecture, twig templating, dependency injection, and more. You will learn to manage dependencies, create controllers, views, and API calls, and secure your application. Next, you will go through the steps that are common for most web applications, which include writing CRUD and AJAX, handling forms, validation, translations, and the command-line interface, and e-mail sending features. The book ends with best practices, debugging, profiling, and deployment procedures. By the end of this book, you will have learned how to combine a Symfony2 framework with other open source code to speed up the development process. Style and approach A fast-paced, step-by-step guide with examples on how to write the most common pieces of code while developing typical web applications with Symfony.

Modular Programming with PHP 7

Modular Programming with PHP 7
Author: Branko Ajzele
Publisher: Packt Publishing Ltd
Total Pages: 332
Release: 2016-09-09
Genre: Computers
ISBN: 1786461463

Utilize the power of modular programming to improve code readability, maintainability, and testability About This Book This book demonstrates code reusability and distributed development to get high speed, maintainable, and fast applications It illustrates the development of a complete modular application developed using PHP7 in detail This book provides a high-level overview of the Symfony framework, a set of tools and a development methodology that are needed to build a modular web shop application Who This Book Is For This step-by-step guide is divided into two sections. The first section explores all the fundamentals of modular design technique with respect to PHP 7. The latter section demonstrates the practical development of individual modules of a web shop application. What You Will Learn Discover the new features of PHP 7 that are relevant to modular application development Write manageable code based on the GoF design patterns and SOLID principles Define the application requirements of a working modular application Explore the ins and outs of the Symfony framework Build a set of modules based on the Symfony framework that comprise a simple web shop app Use core modules to set the structure and dependencies for other modules to use Set up entities that are relevant to the module functionality and see how to manage these entities In Detail Modular design techniques help you build readable, manageable, reusable, and more efficient codes. PHP 7, which is a popular open source scripting language, is used to build modular functions for your software. With this book, you will gain a deep insight into the modular programming paradigm and how to achieve modularity in your PHP code. We start with a brief introduction to the new features of PHP 7, some of which open a door to new concepts used in modular development. With design patterns being at the heart of all modular PHP code, you will learn about the GoF design patterns and how to apply them. You will see how to write code that is easy to maintain and extend over time with the help of the SOLID design principles. Throughout the rest of the book, you will build different working modules of a modern web shop application using the Symfony framework, which will give you a deep understanding of modular application development using PHP 7. Style and approach This book is for intermediate-level PHP developers with little to no knowledge of modular programming who want to understand design patterns and principles in order to better utilize the existing frameworks for modular application development.

Domain-Driven Design in PHP

Domain-Driven Design in PHP
Author: Carlos Buenosvinos
Publisher: Packt Publishing Ltd
Total Pages: 387
Release: 2017-06-14
Genre: Computers
ISBN: 1787288463

Real examples written in PHP showcasing DDD Architectural Styles, Tactical Design, and Bounded Context Integration About This Book Focuses on practical code rather than theory Full of real-world examples that you can apply to your own projects Shows how to build PHP apps using DDD principles Who This Book Is For This book is for PHP developers who want to apply a DDD mindset to their code. You should have a good understanding of PHP and some knowledge of DDD. This book doesn't dwell on the theory, but instead gives you the code that you need. What You Will Learn Correctly design all design elements of Domain-Driven Design with PHP Learn all tactical patterns to achieve a fully worked-out Domain-Driven Design Apply hexagonal architecture within your application Integrate bounded contexts in your applications Use REST and Messaging approaches In Detail Domain-Driven Design (DDD) has arrived in the PHP community, but for all the talk, there is very little real code. Without being in a training session and with no PHP real examples, learning DDD can be challenging. This book changes all that. It details how to implement tactical DDD patterns and gives full examples of topics such as integrating Bounded Contexts with REST, and DDD messaging strategies. In this book, the authors show you, with tons of details and examples, how to properly design Entities, Value Objects, Services, Domain Events, Aggregates, Factories, Repositories, Services, and Application Services with PHP. They show how to apply Hexagonal Architecture within your application whether you use an open source framework or your own. Style and approach This highly practical book shows developers how to apply domain-driven design principles to PHP. It is full of solid code examples to work through.