3 options
Symfony 1.3 web application development : design, develop, and deploy feature-rich, high-performance PHP web applications using the Symfony framework / Tim Bowler, Wojciech Bancer.
- Format:
- Book
- Author/Creator:
- Bowler, Tim.
- Language:
- English
- Subjects (All):
- Symfony (Computer program).
- Application software.
- Web site development--Computer programs.
- Web site development.
- Physical Description:
- 1 online resource (228 p.)
- Edition:
- 1st ed.
- Place of Publication:
- Birmingham, U.K. : Packt Pub., 2009.
- Language Note:
- English
- Summary:
- Design, develop, and deploy feature-rich, high-performance PHP web applications using the Symfony framework
- Contents:
- Intro
- Symfony 1.3 Web Application Development
- Table of Contents
- Credits
- About the Authors
- About the Reviewer
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Downloading the example code for the book
- Errata
- Piracy
- Questions
- 1. Getting Started with Symfony
- Exploring Symfony
- The framework
- The Model-View-Controller pattern
- Controller
- Model
- Views
- Taking a look at the key features
- Forms and validation
- Plugins
- Internationalization and localization
- Generators
- Cache
- Testing
- Configuration files
- Coding guidelines
- Symfony-specific guidelines
- Installing Symfony
- Summary
- 2. Developing Our Application
- The milkshake shop
- Creating the skeleton folder structure
- Creating our database schema
- Configuring the ORM layer
- Configuring the database connection
- Using another database engine
- Generating the models, forms, and filters
- Building the database
- Creating the application modules
- Handling the routing
- The application logic
- Rendering the template
- Adding our routing rules
- Configuring template parameters
- Styling the pages
- Common installation problems
- Web server 404 error page
- A symfony 'Oop! An error occurred'
- Pages and debug bar do not render correctly
- 3. Adding the Business Logic and Complex Application Logic
- The generated models
- Populating the database
- Retrieving data using the models
- Defining the criteria
- Hydration
- Retrieving the result set from the action
- The template logic
- Returned results
- Using the DAOs
- Displaying the results
- Helpers
- Paginating our menu
- Adding the pager business logic
- Setting a configuration option.
- Amending the action
- Accessing the _POST, _GET, and _REQUEST variables
- Accessing the application and module configuration file
- Building up the routing
- Organizing a template with partials
- Creating the milkshake page
- Routing with an object
- Adding the route to the template
- Retrieving many-to-many results
- Accessing related objects in the action
- Accessing related objects in the templates
- DbFinderPlugin
- Finishing off the location page
- 4. User Interaction and Email Automation
- The signup module
- Binding a form to a database table
- A look at the generated base class
- Rendering the form
- Customizing form widgets and validators
- Removing unneeded fields
- Modifying the form widgets
- Adding form validators
- Form naming convention and setting its style
- Submitting the form
- Changing the global rendering of forms
- Customizing the rendering of the form
- Form security for the user
- Creating a simple form
- Automated email responses
- Adding the mailer settings to the application
- Creating the application logic
- The partial email template
- Flashing temporary values
- Creating a plugin
- Packaging a plugin
- 5. Generating the Admin Area
- How Symfony can help us
- Initializing generator
- Creating application and module
- Exploring list view
- Looking into the generated list view code
- Customizing the admin generator
- Customizing the edit view
- Handling foreign keys using admin generator
- Accessing application settings from generator.yml
- Using partials in the generated views
- Customizing the layout
- Securing the application
- Setting up credentials (permissions)
- Handling credentials in templates
- Tidying up the backend
- 6. Advanced Forms and JavaScript
- Adding JavaScript code into the Symfony project.
- JavaScript frameworks
- Using JavaScript helpers
- Adding JavaScript files into the header section
- Creating more advanced admin modules
- Installing the required plugins and libraries
- Creating an advanced admin module
- Adding file upload and thumbnails
- Handling many-to-many relations
- Adding jQuery calendar and TinyMCE widget
- Autocompleting the search
- Other JavaScript helpers
- 7. Internationalizing our Global Positions
- Refactoring the schema
- Rebuilding with test data
- Setting and getting the culture and language
- Preferred culture and language
- The action
- Adding culture to the routing
- Localizing the template
- Translating interface text
- Configuring i18n for the templates
- Dictionary files
- Translating the interface
- Adding the culture links
- Translating the static text
- 8. Extending Symfony
- Bridging to other frameworks
- Bridging with eZ Components
- Configuring the component with Symfony
- Using the component
- Bridging with the Zend Framework
- Extending the core classes with your own
- Multiple inheritance
- 9. Optimizing for Performance
- HTTP compression
- Caching
- Cache settings
- Caching globally
- Caching page-by-page
- Caching without the layout
- Caching with the layout
- Caching parts of a template
- Dynamic cache
- Cache storage
- Caching dynamic pages
- Looking at the database
- Setting limits and columns in the criteria
- Creating your own SQL statements
- Limit your queries
- Caching your queries
- ETags
- Less requests
- Stylesheets
- JavaScripts
- Other tools to aid you
- Firefox developer tools
- Database tools
- Deciding on your table types
- Accelerators
- memcached
- Caching database calls
- 10. Final Tweaks and Deployment
- Editing the default pages.
- Disabling the application
- Symfony on the server or not?
- Transferring your application to the server
- rsync
- Symfony and rsync
- Index.
- Notes:
- Description based upon print version of record.
- ISBN:
- 1-282-30503-4
- 9786612305030
- 1-84719-457-5
- OCLC:
- 798536435
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.