Building PHP Applications With Symfony CakePHP and Zend Framework 1st Edition Bartosz Porebski Instant Download
Building PHP Applications With Symfony CakePHP and Zend Framework 1st Edition Bartosz Porebski Instant Download
https://ebookname.com/product/building-php-applications-with-
symfony-cakephp-and-zend-framework-1st-edition-bartosz-porebski/
https://ebookname.com/product/zend-framework-in-action-1st-
edition-rob-allen/
https://ebookname.com/product/zend-framework-2-0-cookbook-nick-
belhomme/
https://ebookname.com/product/php-architect-s-zend-
php-5-certification-study-guide-1st-ed-edition-davey-shafik/
https://ebookname.com/product/hockey-tough-second-edition-miller/
Cognitive Radio Networks 2008 1st Edition Yang Xiao
https://ebookname.com/product/cognitive-radio-networks-2008-1st-
edition-yang-xiao/
https://ebookname.com/product/panzer-divisions-of-the-waffen-
ss-1st-edition-rolf-michaelis/
https://ebookname.com/product/evidence-based-pediatric-
oncology-3rd-edition-ross-pinkerton/
https://ebookname.com/product/cliques-and-capitalism-a-modern-
networked-theory-of-the-firm-1st-edition-deborah-e-de-lange-auth/
https://ebookname.com/product/old-testament-survey-2nd-edition-
paul-r-house/
Don Quixote de la mancha Jarvis
https://ebookname.com/product/don-quixote-de-la-mancha-jarvis/
www.it-ebooks.info
Table of Contents
Title Page
Copyright
Dedication
Credits
Acknowledgments
Introduction
Comparative Approach
Source Code
Conventions
Contact Us
Errata
p2p.wrox.com
2
www.it-ebooks.info
Chapter 1: Introducing Symfony, CakePHP, and Zend
Framework
Requirements
Installation
Configuration
Hello World!
Structure
IDE Support
Object-Relational Mapping
Database Configuration
3
www.it-ebooks.info
Design
Symfony
CakePHP
Zend Framework
Chapter 5: Forms
Field Validation
Customizing Forms
Chapter 6: Mailing
SwiftMailer
Zend Mailer
PHPMailer
Chapter 7: Searching
Problem
Solutions
4
www.it-ebooks.info
Chapter 8: Security
CSRF
Chapter 9: Templates
Introducing AJAX
Autocomplete
Symfony
CakePHP
5
www.it-ebooks.info
Zend Framework
Symfony
CakePHP
Zend Framework
Feature Summary
Internationalization Defined
Symfony
CakePHP
Zend Framework
Introducing Testing
6
www.it-ebooks.info
Black-Box Registration Form Testing Using Functional
Tests
Benchmarking
Development Speed
Features
General
Symfony
CakePHP
7
www.it-ebooks.info
Zend Framework
Design Patterns
ORM
Databases
LDAP
Searching
Testing
Security
Web Services
Mailing
Templates
IDE
Javascript
AJAX
CMS
CodeIgniter
8
www.it-ebooks.info
Lithium
Agavi
CodeIgniter
Lithium
Agavi
Index
9
www.it-ebooks.info
10
www.it-ebooks.info
Building PHP Applications with Symfony™, CakePHP,
and Zend® Framework
Published by
Indianapolis, IN 46256
www.wiley.com
ISBN: 978-0-470-88734-9
11
www.it-ebooks.info
without either the prior written permission of the
Publisher, or authorization through payment of the
appropriate per-copy fee to the Copyright Clearance
Center, 222 Rosewood Drive, Danvers, MA 01923, (978)
750-8400, fax (978) 646-8600. Requests to the Publisher
for permission should be addressed to the Permissions
Department, John Wiley & Sons, Inc., 111 River Street,
Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008,
or online at http://www.wiley.com/go/permissions.
12
www.it-ebooks.info
For general information on our other products and services
please contact our Customer Care Department within the
United States at (877) 762-2974, outside the United States
at (317) 572-3993 or fax (317) 572-4002.
13
www.it-ebooks.info
For my beloved Olcia, who keeps inspiring me to achieve
goals I could have never dreamed of. The way you are able
to solve with your pure wisdom all the analyti-cally
unsolvable problems, your dedication, and your sense of
humor still amaze me every day. And the sweet cakes (no
PHP added) you baked for me while I was writ-ing this
book were simply delicious. I would also like to thank my
parents for their continuing faith and support.
For Agata.
—Karol Przystalski
—Leszek Nowak
14
www.it-ebooks.info
Credits
Executive Editor
Carol Long
Project Editor
Tom Dinse
Technical Editor
Wim Mostrey
Production Editor
Daniel Scribner
Copy Editor
Nancy Sixsmith
Editorial Director
Robyn B. Siesky
Editorial Manager
Rosemarie Graham
15
www.it-ebooks.info
Associate Director of Marketing
Ashley Zurcher
Production Manager
Tim Tate
Richard Swadley
Barry Pruett
Associate Publisher
Jim Minatel
Katherine Crocker
Proofreader
Word One
Indexer
Robert Swanson
Cover Designer
16
www.it-ebooks.info
Michael E. Trent
Cover Image
© Xiaoke Ma/istockphoto.com
17
www.it-ebooks.info
About the Authors
18
www.it-ebooks.info
Acknowledgments
19
www.it-ebooks.info
Introduction
—Mahatma Gandhi
20
www.it-ebooks.info
If you are actually looking for a vampire novel, put this
book back on the shelf. Immediately. If you are a
hard-core Assembler programmer who needs no web
interfaces at all, you might not be interested, either.
However, if you are involved in some kind of web
development, you will probably find this book useful. It is
thick and heavy enough to cover a wide range of topics
and provide various perspectives for all kinds of readers:
21
www.it-ebooks.info
deeper understanding of existing computer systems and
applications. We have prepared a whole part (Part 4,
“Comparison”) that is focused on comparing the three
frameworks and discussing their capabilities.
• Advanced non-web programmers, such as C++ application
engineers or database experts who want to explore the vast
world of web development, will find that this book is also a
good starting point for them. They might be delighted with
the object-oriented approach of PHP5, the rapid building
process made possible with the frameworks, and all the
advanced features provided by them. Meanwhile, the
comparative approach provides a broad view of web-specific
problems, and the tutorial side of the book prevents being
stuck simply with more trivial tasks.
Comparative Approach
22
www.it-ebooks.info
kind. This makes comparisons difficult. No wonder many
discussions are based on stereotypes, personal opinions,
and unverified data.
Basics
23
www.it-ebooks.info
Chapter 1: Introducing Symfony, CakePHP, and
Zend Framework—One of the biggest hardships with
most frameworks is how to get started. This chapter
addresses that problem with a comprehensive tutorial
starting with a general discussion of web application
frameworks, their structure, and the underlying
Model-View-Controller (MVC) pattern. We also briefly
present all available frameworks and explain why we
chose Symfony, CakePHP, and Zend Framework for
detailed comparison.
24
www.it-ebooks.info
application. The address book example presented in this
chapter explains how to use tools to develop web
applications quickly and efficiently.
Common Tasks
25
www.it-ebooks.info
Exploring the Variety of Random
Documents with Different Content
back
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com