Zend Framework 2.0 by Example: Beginner’s Guide


Zend Framework 2.0 by Example: Beginner’s Guide
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
$25.49
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
$49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Master application development with Zend Framework 2.0
  • Learn about Zend Framework components and use them for functions such as searching, image processing, and payment gateway integrations
  • Integrate third-party services for media sharing and payment processing

Book Details

Language : English
Paperback : 228 pages [ 235mm x 191mm ]
Release Date : July 2013
ISBN : 1782161929
ISBN 13 : 9781782161929
Author(s) : Krishna Shasankar V
Topics and Technologies : All Books, Web Development, Beginner's Guides, Open Source, PHP, Web Development

Table of Contents

Preface
Chapter 1: Getting Started with Zend Framework 2.0
Chapter 2: Building Your First Zend Framework Application
Chapter 3: Creating a Communication Application
Chapter 4: Data Management and Document Sharing
Chapter 5: Chat and E-mail
Chapter 6: Media Sharing
Chapter 7: Search Using Lucene
Chapter 8: Creating a Simple Store
Chapter 9: HTML5 Support
Chapter 10: Building Mobile Applications
Appendix: Pop Quiz Answers
Index
  • Chapter 1: Getting Started with Zend Framework 2.0
    • Zend Framework 2.0
    • Introduction to Zend Server Community Edition (CE)
      • Zend Server CE – system requirements
    • Time for action – installing Zend Server CE
      • Configuring Zend Server CE
        • Zend Server CE – Administration Interface
    • Time for action – configuring Zend Server CE
    • MySQL
    • Time for action – installing MySQL
      • phpMyAdmin
  • Time for action – creating a database
  • Summary
    • Chapter 2: Building Your First Zend Framework Application
      • Prerequisites
      • ZendSkeletonApplication
      • Time for action – creating a Zend Framework project
      • Zend Framework 2.0 – modules
        • Zend Framework 2.0 – project folder structure
      • Time for action – creating a module
      • MVC layer
      • Zend Framework module – folder structure
      • Time for action – creating controllers and views
      • Zend Framework module – configuration
      • Time for action – modifying module configuration
      • Summary
      • Chapter 3: Creating a Communication Application
        • Zend\Form
        • Time for action – creating a registration form
        • Form validation
          • Zend\InputFilter
        • Time for action – adding validation to the registration form
        • Models and database access
          • TableGateway
        • Time for action – creating models and saving the form
          • Zend\Authentication
        • Time for action – user authentication
        • Summary
        • Chapter 4: Data Management and Document Sharing
          • Zend Framework 2 ServiceManager
          • Time for action – migrating existing code to ServiceManager
          • Database operations
            • More on TableGateway
          • Time for action – implementing an admin UI to manage users
          • Document management
          • Time for action – creating a file upload form
          • Managing file sharing
          • Time for action – implementing a file sharing system
          • Summary
          • Chapter 5: Chat and E-mail
            • Layouts and views
              • View helpers
                • The URL helper
                • The BasePath helper
                • The JSON helper
              • Concrete placeholder implementations
                • The HeadLink helper
                • The HeadMeta helper
                • The HeadScript helper
                • The HeadStyle helper
                • The HeadTitle helper
            • Time for action – using jQuery UI in a simple page
            • Building a simple group chat
            • Time for action – creating a simple group chat application
            • Sending mails
              • Zend\Mail\Transport
              • Zend\Mail\Message
              • Zend\Mime\Message and Zend\Mime\Part
            • Time for action – creating a simple e-mail form
            • Zend\EventManager
            • Time for action – setting module layout using ZF events
            • Summary
            • Chapter 6: Media Sharing
              • External modules
              • Resizing images
              • Time for action – resizing images using modules
              • The Photo gallery application
              • Time for action – implementing a simple photo gallery
              • Google Data APIs
                • The Google Photos API
              • Time for action – fetching photos from Google Photos
              • YouTube Data API
              • Time for action – listing YouTube videos for a keyword
              • Summary
              • Chapter 7: Search Using Lucene
                • Introduction to Lucene
                • Time for action – installing ZendSearch\Lucene
                • Indexing
                • Time for action – generating a Lucene index
                • Searching
                • Time for action – displaying search results
                • Indexing Microsoft Office documents
                • Time for action – indexing document files
                • Summary
                • Chapter 8: Creating a Simple Store
                  • Shopping cart
                  • Time for action – creating a store front
                  • The store administration
                  • Time for action – creating the Store Admin interface
                  • Payments with PayPal
                    • PayPal and Zend Framework 2.0
                  • Time for action – setting up PayPal
                  • PayPal Express Checkout
                  • Time for action – accepting payments using PayPal
                  • Summary
                  • Chapter 9: HTML5 Support
                    • HTML5 input elements
                    • Time for action – HTML5 input elements
                    • HTML5 view helpers
                    • Time for action – HTML5 view helpers
                    • HTML5 attributes
                      • Multiple file uploads
                    • Time for action – HTML5 multiple file uploads
                    • Summary
                    • Chapter 10: Building Mobile Applications
                      • Cloud-connected mobile applications
                        • Zend Studio 10
                        • phpCloud
                      • Time for action – configuring your phpCloud account
                        • PhoneGap and Zend Studio
                      • Time for action – building your first cloud-connected mobile application
                      • Native applications versus mobile web applications
                      • Time for action – testing as a native application
                      • Zend Server Gateway
                      • Time for action – creating a mobile search interface
                      • Summary
                      • Appendix: Pop Quiz Answers
                        • Chapter 1, Getting Started with Zend Framework 2.0
                        • Chapter 2, Building Your First Zend Framework Application
                        • Chapter 3, Creating a Communication Application
                        • Chapter 4, Data Management and Document Sharing
                        • Chapter 5, Chat and E-mail
                        • Chapter 6, Media Sharing
                        • Chapter 7, Search Using Lucene
                        • Chapter 8, Creating a Simple Store
                        • Chapter 9, HTML5 Support
                        • Chapter 10, Building Mobile Applications

                        Krishna Shasankar V

                        Krishna Shasankar V is a web developer with 7 years of extensive development experience in PHP. He leads a team of engineers at Lister Technologies developing enterprise class retail and e-commerce solutions. He is a Zend Certified Engineer in PHP 5 and Zend Framework. He also has a Bachelor's degree in Information Technology from Anna University, Chennai, and a Master's degree in Software Systems from Birla Institute of Technology and Science, Pilani. In his spare time, he enjoys music, photography, and travel (especially when combined). You can contact Krishna and leave some comments on his blog (www.clickoffline.com).
                        Sorry, we don't have any reviews for this title yet.

                        Code Downloads

                        Download the code and support files for this book.


                        Submit Errata

                        Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                        Errata

                        - 3 submitted: last submission 10 Mar 2014

                        Errata type: Technical | Page number: 41

                        "1. Registration page: The view for registration page is created in src/view/users/register/index.phtml."

                        Should read:

                        "1. Registration page: The view for registration page is created in view/users/register/index.phtml."

                        Errata type: Technical | Page number: 43

                        "6. Confirmation page: The view for the confirmation page is pretty straightforward, the view is created in src/view/users/register/confirm.phtml."
                        Should read: "6. Confirmation page: The view for the confirmation page is pretty straightforward, the view is created in view/users/register/confirm.phtml."

                        Errata type: Code | Page number: 67

                         

                        The bind method requires the User.php model to be updated to include:

                        public function getArrayCopy()
                        {
                        return get_object_vars($this);
                        }

                        Sample chapters

                        You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                        Frequently bought together

                        Zend Framework 2.0 by Example: Beginner’s Guide +    Liferay Portal 6 Enterprise Intranets =
                        50% Off
                        the second eBook
                        Price for both: £24.45

                        Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                        What you will learn from this book

                        • Install and configure Zend Framework 2.0
                        • Familiarize yourself with building Zend Framework 2.0 applications and get well versed with Zend Framework 2 MVC
                        • Discover how to use forms, validation, and authentication
                        • Understand models and database access
                        • Create a communications application including chat and e-mail
                        • Implement searches using Apache Lucene
                        • Build your own e-commerce store with PayPal integration
                        • Learn how to create HTML5 web applications

                        In Detail

                        ZF2 is the latest update to the well-known Zend Framework. This version has considerably eased the process of building complex web applications with minimal development effort using plug and play components. ZF2 also provides a highly robust and scalable framework for developing web applications.

                        "Zend Framework 2.0 by Example: Beginner’s Guide" will guide you through the process of developing powerful web applications using ZF2. It covers all aspects of Zend Framework application development right from installation and configuration; the tasks are designed in a way that readers can easily understand and use them to build their own applications with ease.

                        "Zend Framework 2.0 by Example: Beginner’s Guide" begins with the basic installation and configuration of the Zend Framework. As you progress through the exercises, you will become thoroughly acquainted with ZF2. With this book, you will learn about the basic concepts of building solid MVC web applications using Zend Framework 2.0. The detailed step-by-step instructions will enable you to build functionality such as a group chat, a file & media sharing service, search, and a simple store to name a few. You will also use a wide range of external modules to implement features that are not natively available. By the end of the book, you will be well versed in building complex, functionality-rich web applications using Zend Framework 2.0.

                        "Zend Framework 2.0 by Example: Beginner’s Guide" provides everything that you need for building functionality-rich web applications with simple real world examples and tasks.

                        Approach

                        "Zend Framework 2.0 by Example: Beginner’s Guide" is a step-by-step guide that aims to empower you to build web applications packed with some really exciting features using Zend Framework 2.0.

                        Who this book is for

                        If you are a PHP Developer who is new to Zend Framework, but you want to get hands-on with the product quickly, this book is for you. Basic knowledge of object oriented programming with PHP is expected.

                        Code Download and Errata
                        Packt Anytime, Anywhere
                        Register Books
                        Print Upgrades
                        eBook Downloads
                        Video Support
                        Contact Us
                        Awards Voting Nominations Previous Winners
                        Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                        Resources
                        Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software