• Complain

Sohail Salehi - Mastering Symfony

Here you can read online Sohail Salehi - Mastering Symfony full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2016, publisher: Packt Publishing, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Sohail Salehi Mastering Symfony

Mastering Symfony: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Mastering Symfony" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Key Features
  • Create a robust and reliable Symfony development pipeline using Amazons 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 Symfonys 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 lifes 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

Sohail Salehi: author's other books


Who wrote Mastering Symfony? Find out the surname, the name of the author of the book and a list of all author's works by series.

Mastering Symfony — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Mastering Symfony" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make

Mastering Symfony

Orchestrate the designing, development, testing, and deployment of web applications with Symfony

Sohail Salehi

BIRMINGHAM - MUMBAI

Mastering Symfony

Copyright 2016 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: April 2016 Production reference: 1210416

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK. ISBN 978-1-78439-031-0

www.packtpub.com

Credits

Author

Sohail Salehi

Reviewers

Mickal Andrieu

Vincent COMPOSIEUX

Tito Miguel Costa

Commissioning Editor

Usha Iyer

Acquisition Editors

Tushar Gupta

Project Coordinator Nidhi Joshi

Proofreader

Safis Editing

Indexer

Mariammal Chettiyar

Production Coordinator Nilesh Mohite

Cover Work

Nilesh Mohite

Richard Harvey

Content Development Editor Aishwarya Pandere

Technical Editors

Pranil Pathare

Danish Shaikh

Copy Editor

Tasneem Fatehi

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.

I would like to thank the Packt Publishing team for being supportive at all times and also being patient with me at the times I've gone wild and updated the book contents over and over again.

About the Reviewers

Mickal Andrieu is a passionate open source engineer, contributor, and maintainer of projects such as Symfony, CasperJS, and Certificationy. He is currently a core developer and technical evangelist of the open source e-commerce solution, PrestaShop, built around the Symfony framework in its latest version. An ex-developer at SensioLabs, he has accumulated good expertise in PHP and the Symfony framework.

When he is not working on his own project, he teaches best development practices to engineering students or advices big companies on their open source strategies.

He has worked at SensioLabs and Lp digital system.

He will probably be working on another book, as Llewellyn F. Rozario just contacted him for another review.

Vincent COMPOSIEUX is a French web engineer who loves technologies such as PHP, Python, NodeJS, and Go. He is based in Paris and working at Ekino, a French web agency that focuses on quality.

Previously, he has worked for e-commerce companies and web agencies on multiple web projects with high traffic.

He loves web technologies and frameworks and has experience using the Zend framework, Magento, and Symfony.

He has great experience of Symfony because he has been using it since the very first version and is actively involved in the Symfony community.

Indeed, he has developed some bundles such as FeedBundle to manage RSS and Atom feeds, GoogleTranslateBundle to use the Google Translate API to translate content, and some others. He is also a contributor to the Sonata bundles suite.

You can contact him and see more on his personal website, http://vincent. composieux.fr .

Tito Miguel Costa is a full stack web application developer with over 10 years of experience in PHP. He started using Symfony back in 2007, when version 1.0 was released and it remains his favorite framework until now. Back in Portugal, where he is originally from, he organized several courses and oriented a dissertation on how to optimize and scale projects built with Symfony. Currently, he maintains several open source bundles and works as a senior Symfony developer at Lendable, one of the most promising start-ups in London.

www.PacktPub.com

eBooks, discount offers, and more

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub. com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub.com for more details.

At www.PacktPub.com , you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

TM

TM

https://www2.packtpub.com/books/subscription/packtlib

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.

Why subscribe?

Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via a web browser
Chapter 3: Setting Up the Environment 37

The importance of Continuous Integration 38

Amazon Web Services 38

Elastic Compute Cloud 40

Creating a new instance 41

Setting up the server 45 Installing Apache 45

Installing MySQL and PHP 45

Installing Jenkins 46

Setting up security and installing plugins in Jenkins 48

Simple Email Service 53

Configuring Jenkins 55

Installing PHP tools 56

Sniff Symfony codes 58

Orchestrating the build process 58

Creating a new job in Jenkins 64

Running the first build 69

How does GitHub alert Jenkins about new pushes? 70

Do I need CI? 72

Summary 73

Chapter 5: Business Logic 103

Choosing between creating a Model or entity 104

So where does the business logic live? 106

Reviewing the facts and building entity relationships 106

Creating ERDs using MySQL Workbench 107

Adding a new entity 109

Adding a new relationship 111

Creating actual tables from a diagram 112

Generating entities 115

Data fixtures 116

Some business logic features and scenarios 120

TDD and BDD with Codeception 121

Step one creating a functional test 122

Developing the missing code 123

Step two creating the unit tests 124

Setting up the database for a test environment in the right way 125

Dropping and recreating the database for each test 126

Creating unit tests 127

Writing the code to pass the test 130

Running functional and unit tests 131

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Mastering Symfony»

Look at similar books to Mastering Symfony. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Mastering Symfony»

Discussion, reviews of the book Mastering Symfony and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.