Symfony 1.3 Web Application Development

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

Symfony 1.3 Web Application Development

Starting
Tim Bowler, Wojciech Bancer

Design, develop, and deploy feature-rich, high-performance PHP web applications using the Symfony framework
$10.00
$39.99
RRP $23.99
RRP $39.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

+ Collection
Free Sample

Book Details

ISBN 139781847194565
Paperback228 pages

About This Book

  • 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

Who This Book Is For

This book is for PHP web developers who want to get started with Symfony 1.3. If you are already using Symfony 1.0 or are new to Symfony, you will learn how to use it in the best way to produce better applications faster.

Basic knowledge of Object Oriented design and ORM will be quite helpful.

Table of Contents

Chapter 1: Getting Started with Symfony
Exploring Symfony
Coding guidelines
Installing Symfony
Summary
Chapter 2: Developing Our Application
The milkshake shop
Summary
Chapter 3: Adding the Business Logic and Complex Application Logic
The generated models
Retrieving data using the models
Retrieving the result set from the action
Plugins
Chapter 4: User Interaction and Email Automation
The signup module
Binding a form to a database table
Submitting the form
Changing the global rendering of forms
Customizing the rendering of the form
Creating a simple form
Automated email responses
Flashing temporary values
Creating a plugin
Packaging a plugin
Summary
Chapter 5: Generating the Admin Area
How Symfony can help us
Initializing generator
Customizing the admin generator
Handling foreign keys using admin generator
Customizing the layout
Securing the application
Summary
Chapter 6: Advanced Forms and JavaScript
Adding JavaScript code into the Symfony project
Creating more advanced admin modules
Autocompleting the search
Other JavaScript helpers
Summary
Chapter 7: Internationalizing our Global Positions
Internationalization and localization
Setting and getting the culture and language
The action
Adding culture to the routing
Localizing the template
Translating interface text
Dictionary files
Translating the interface
Summary
Chapter 8: Extending Symfony
Bridging to other frameworks
Multiple inheritance
Summary
Chapter 9: Optimizing for Performance
HTTP compression
Caching
Looking at the database
Caching your queries
Other tools to aid you
Summary
Chapter 10: Final Tweaks and Deployment
Editing the default pages
Disabling the application
Summary

What You Will Learn

  • 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

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.

By the end, you should have a good understanding of the development features of Symfony (for Propel as well as Doctrine editions), and be able to deploy a high-performance web site quite easily.

Authors

Table of Contents

Chapter 1: Getting Started with Symfony
Exploring Symfony
Coding guidelines
Installing Symfony
Summary
Chapter 2: Developing Our Application
The milkshake shop
Summary
Chapter 3: Adding the Business Logic and Complex Application Logic
The generated models
Retrieving data using the models
Retrieving the result set from the action
Plugins
Chapter 4: User Interaction and Email Automation
The signup module
Binding a form to a database table
Submitting the form
Changing the global rendering of forms
Customizing the rendering of the form
Creating a simple form
Automated email responses
Flashing temporary values
Creating a plugin
Packaging a plugin
Summary
Chapter 5: Generating the Admin Area
How Symfony can help us
Initializing generator
Customizing the admin generator
Handling foreign keys using admin generator
Customizing the layout
Securing the application
Summary
Chapter 6: Advanced Forms and JavaScript
Adding JavaScript code into the Symfony project
Creating more advanced admin modules
Autocompleting the search
Other JavaScript helpers
Summary
Chapter 7: Internationalizing our Global Positions
Internationalization and localization
Setting and getting the culture and language
The action
Adding culture to the routing
Localizing the template
Translating interface text
Dictionary files
Translating the interface
Summary
Chapter 8: Extending Symfony
Bridging to other frameworks
Multiple inheritance
Summary
Chapter 9: Optimizing for Performance
HTTP compression
Caching
Looking at the database
Caching your queries
Other tools to aid you
Summary
Chapter 10: Final Tweaks and Deployment
Editing the default pages
Disabling the application
Summary

Book Details

ISBN 139781847194565
Paperback228 pages
Read More