Web Development with Zend Framework 2
Web Development with Zend Framework 2
Concepts, Techniques and Practical Solutions
About the Book
"Web Development with Zend Framework 2" is the first and only book about the brand new Zend Framework 2 - it's written for beginners as well as advanced users and it covers the fundamental concepts and brings tons of practical solutions for your daily business. "Web Development with Zend Framework 2" is the translation of the bestselling German book "Webentwicklung mit Zend Framework 2" with hundreds of downloads on Leanpub and Amazon.
Listen to what others say about the book:
"[..] a very good Zend Framework 2 book for beginners and advanced users [..] paves the way to Zend Framework 2. A Must-Have." (woy.ch)
"I just bought it and don't regret a single penny [..]. Yes, it's absolutely worth the money." (zfforum.de)
"Written in a very readable informal way, which makes makes reading fun. Personally, I favor this style of writing over the usual formal way of other development books." (blog.dirk-helbert.de)
Please note: Translation is work-in-progress and not all chapters of the original book are available in English yet. BUY NOW, START READING AND YOU WILL GET ALL UPDATES AND ADDITIONAL CHAPTERS FOR FREE and pushed automatically to your inbox once available.
- 1 Important notice for Amazon customers
- 2.1 Who is this book for?
- 2.2 Structure of this book
- 2.3 Repetitions
- 2.4 Code Downloads
- 2.5 How you can best work with this book
- 2.6 Found a bug?
- 2.7 Conventions used in this book
3 Zend Framework 2 - An overview
- 3.1 How Zend Framework 2 is being developed
- 3.2 Module system
- 3.3 Event system
- 3.4 MVC implementation
- 3.5 Additional components
- 3.6 Design Patterns: Interface, Factory, Manager, etc.
4 Hello, Zend Framework 2!
- 4.1 Installation
- 4.2 ZendSkeletonApplication
- 4.3 Composer
- 4.4 A first sign of life
- 4.5 Directory structure of a Zend Framework 2 application
- 4.6 The index.php file
5 A first custom module
- 5.1 Preparing the “Hello World” module
- 5.2 Autoloading
6 One time Request and back again
- 6.1 ServiceManager
- 6.2 Writing your own service
- 6.3 ModuleManager
- 6.4 Application
- 6.5 ViewManager
- 6.6 Summary
- 7.1 Registering a listener
- 7.2 Registering several listeners at the same time
- 7.3 Removing a registered listener
- 7.4 Trigger an event
- 7.5 SharedEventManager
- 7.6 Using events in one’s own classes
- 8.1 The “Application” module
- 8.2 Module-dependent behaviour
- 8.3 Installing a third-party module
- 8.4 Configuring a third-party module
- 9.1 Concept & mode of operation
- 9.2 Controller plugins
- 9.3 Writing your own controller plugin
- 10.1 Concept & mode of operation
- 10.2 Layouts
- 10.3 Writing your own View Helper
- 11.1 Entities, repositories & value objects
- 11.2 Business Services & Factories
- 11.3 Business events
- 12.1 Introduction
- 12.2 Definition of Routes
- 12.3 Matching test
- 12.4 Generation of a URL
- 12.5 Default Routing
- 12.6 Creative routing: A/B tests
13 Dependency injection
- 13.1 Introduction
- 13.2 Zend\Di for object graphs
- 13.3 Zend\Di for configuration management
14 Persistence with Zend\Db
- 14.1 Connecting to databases
- 14.2 Generating and executing SQL-Statements
- 14.3 Working with tables and entries
- 14.4 Organisation of database queries
- 14.5 Zend\DB alternative: Doctrine 2 ORM
- 15.1 Standard validators
- 15.2 Writing your own validator
- 16.1 Preparing a form
- 16.2 Displaying a form
- 16.3 Editing form entries
- 16.4 Validating form entries
- 16.5 Standard form elements
- 16.6 Fieldsets
- 16.7 Linking entities with Forms
17 Logging & Debugging
- 17.1 Introduction
- 17.2 FirePHP for Firefox
- 17.3 ChromePHP for Chrome
- 17.4 Zend\Log
- 17.5 Zend\Log with FirePHP
- 17.6 Zend\Log with ChromePHP
- 17.7 Using Zend\Log independent of the situation
- 17.8 Additional Zend\Log options
18 Unit Testing
- 18.1 Introduction
- 18.2 Testing a service
- 18.3 Testing a controller
19 User management
- 19.1 Introduction
- 19.2 User authentication
- 19.3 User sessions
- 19.4 Resources & roles
- 19.5 Zfc user
20 ZF2 on the command line
- 20.1 Introduction
- 20.2 Invocation via the Console
- 20.3 Console routes and request processing
- 21.1 Numerical, monetary and date formats
- 21.2 Text translations
- 21.3 Determining and configuring the locale
22 AJAX & Web services
- 22.1 AJAX with JSON
- 22.2 AJAX with HTML
- 22.3 RESTful web services
- 23 Sending emails
24 Sending an email
- 24.1 Sending a HTML email
- 24.2 Using templates for HTML emails
- 24.3 Sending emails with attachments
25 Navigations & Breadcrumbs
- 25.1 Generating navigations
- 25.2 Generating an application navigation
- 25.3 Generating breadcrumbs
26 Speeding up applications by caching
- 26.1 Introduction
- 26.2 Opcode cache
- 26.3 Zend\Cache
- 26.4 Identifying performance bottlenecks
27 Developers’ Dairy
- 27.1 Introduction
- 27.2 Envisioning
- 27.3 Sprint 1 - Code Repository, Development Environment and the initial Codebase
- 27.4 Sprint 2 - A custom module with add product functionality
- 27.5 Sprint 3 - Add a deal, show available deals
- 27.6 Sprint 4 - Order form
- 27.7 Sprint 5 - Make ZfDeals available as a ZF2 module
- 27.8 What’s next?
The Leanpub 45-day 100% Happiness Guarantee
Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
C++ Best PracticesJason Turner
Level up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Functional Design and ArchitectureAlexander Granin
Software Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
OpenIntro StatisticsDavid Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntro
A complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
R Programming for Data ScienceRoger D. Peng
This book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
C++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
I am a Software Engineer and I am in ChargeAlexis Monville and Michael Doyle
I am a Software Engineer and I am in Charge is a real-world, practical book that helps you increase your impact and satisfaction at work no matter who you work with.
In the book, we will follow Sandrine, a fictional character who learns to think in a new way enabling her to take a different course of action.
Invest In Digital Health - The Medical Futurist's GuideDr. Bertalan Mesko
Artificial Intelligence and Digital Health are booming. In this book, we explain why now it's a good time to invest in Digital Health and give recommendations on where to invest by looking at the top 24 technological trends we find the most promising.
Atomic KotlinBruce Eckel and Svetlana Isakova
For both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
The Hundred-Page Machine Learning BookAndriy Burkov
Everything you really need to know in Machine Learning in a hundred pages.
Mastering STM32Carmine Noviello
With more than 600 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the first guide around that introduces the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL.
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before...
The Future of Digital Health
6 BooksWe put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer...
Cisco CCNA 200-301 Complet
4 BooksCe lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301.
CCDE Practical Studies (All labs)
3 BooksCCDE lab
"The C++ Standard Library" and "Concurrency with Modern C++"
2 BooksGet my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library...
Modern Management Made Easy
3 BooksRead all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization.
Programming with Ease
3 BooksAlle drei Bände der Serie Programming with Ease in einem Paket. Darin findest du alles, was ich dir zu den wichtigsten Phasen der Softwareentwicklung im Hinblick auf Clean Code Development für langfristig hohe Produktivität sagen kann.Im Band Slicing findest du die Anforderungsanalyse im Rahmen eines iterativ-inkrementellen Vorgehensmodells aus...
2 BooksUnveil the power of Ansible and Vagrant with this bundle at a special price. You'll have everything you need to get started with Vagrant - learn the basics and how to create your virtual development environments, using Ansible as provisioner! About Vagrant Cookbook Vagrant Cookbook is a complete guide to get started with Vagrant and create your...
2 BooksDocker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes!
Growing Agile: The Complete Coach's Guide
7 BooksGrowing Agile: Coach's Guide Series This bundle provides a collection of training and workshop plans for a variety of agile topics. The series is aimed at agile coaches, trainers and ScrumMasters who often find themselves needing to help teams understand agile concepts. Each book in the series provides the plans, slides, handouts and activity...