Zend Framework 2: Learn the PHP framework ZF2 from scratch
4.3 (108 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
567 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Zend Framework 2: Learn the PHP framework ZF2 from scratch to your Wishlist.

Add to Wishlist

Zend Framework 2: Learn the PHP framework ZF2 from scratch

Learn how to code and become a professional web developer with the PHP framework ZF2 in just a few hours.
Bestselling
4.3 (108 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
567 students enrolled
Created by Bo Andersen
Last updated 11/2015
English
Current price: $10 Original price: $20 Discount: 50% off
1 day left at this price!
30-Day Money-Back Guarantee
Includes:
  • 6.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Have a coupon?
What Will I Learn?
Understand the theory of Zend Framework 2 in details
Develop professional applications in Zend Framework 2
Implement an enterprise-ready architecture in Zend Framework 2
Proficiently work with databases in Zend Framework 2
Implement login systems in Zend Framework 2
View Curriculum
Requirements
  • You should be familiar with object-oriented programming (OOP)
  • Being familiar with PHP is a bonus, but not a strict requirement
Description

Do you want to learn the PHP framework, Zend Framework 2, from scratch and become a professional in no time? Then this course is an excellent starting point for you to quickly learn the basics of Zend Framework 2 and to put your knowledge to work in just a few hours! This is your chance to harvest the knowledge that I have personally obtained through working with Zend Framework and other PHP frameworks for years. I am making all of this information available in an easy to understand language that you will understand even if you are not a professional PHP developer. Zend Framework is a popular PHP framework and will be an excellent addition to your CV - even if you are already familiar with other PHP frameworks such as Laravel, CakePHP, Symfony, Codeigniter, Yii Framework, Nette Framework, Phalcon, etc.

The course begins by explaining all of the essential theory that you will need to develop great PHP applications with Zend Framework 2, before putting it to use when implementing a blogging application step by step. You will learn how to work with databases, forms, input filters, users and more in this course, and we start at the beginning! No experience or knowledge of Zend Framework or any other PHP frameworks is required. Even if you have experience with other PHP frameworks, you will still benefit a lot from this course, and you will have a head start because Zend Framework is built on top of the MVC design pattern or framework. It is, however, not a requirement at all, just as no experience with PHP is required.

So, join me in this course and learn to build professional PHP applications with Zend Framework 2 today!

Who is the target audience?
  • This course is intended for people who either want to learn Zend Framework 2 and have no prior experience with this framework, or people who have basic experience with Zend Framework 2.
  • This course does not cover all of the details of Zend Framework 2, but covers the basics in details. If you are looking to become a Zend Framework professional, then this course is an excellent starting point, but the course is also highly useful for casual web developers who just want to learn the framework for their own personal use.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 37 Lectures Collapse All 37 Lectures 06:16:13
+
Introduction
1 Lecture 02:49

This lecture introduces the course, including what you will learn, and shows the application that will be developed in the course.

Preview 02:49
+
Core Concepts
8 Lectures 01:13:25

This lecture introduces the basics of Zend Framework 2 at a high level, and discusses the advantages of using this framework.

Preview 08:35

In this lecture, the structure and architecture of a Zend Framework 2 web application is discussed, and after watching this lecture, you should understand the MVC design pattern.

Web application architecture
03:11

This lecture takes a closer look at Zend Framework 2's module manager and discusses how it works, and how it enables the modular structure of ZF2. You should understand the basics of the module manager and module system after completing this lecture.

Module Manager
15:53

This lecture takes a closer look at Zend Framework 2's service manager and discusses how it works, and how it is used to manage services within ZF2. You should understand the basics of the service manager after completing this lecture.

Service Manager
16:13

This lecture takes a closer look at Zend Framework 2's event manager as well as event-driven systems in general. The advantages of such a system are discussed, and at the end of this lecture, you should have an idea of how events are used in ZF2.

Event Manager
08:04

This lecture discusses how routing works in Zend Framework 2, including the various route types. You will find examples of adding routes to ZF2, and at the end of this lecture, you should have a good idea of how to use routing in Zend Framework 2.

Routing
09:04

This lecture discusses the concept of view helpers, and briefly walks through the various view helpers that are shipped with Zend Framework 2. At the end of this lecture, you should understand the concept of view helpers and have an overview of which view helpers are at your disposal.

View helpers
05:49

This lecture discusses the concept of controller plugins, and briefly walks through the various controller plugins that are shipped with Zend Framework 2. At the end of this lecture, you should understand the concept of controller plugins and have an overview of which controller plugins are at your disposal.

Controller plugins
06:36
+
Preparing the Project
4 Lectures 42:05

This lecture introduces the dependency management tool Composer and walks through the basics that are required in order to use the tool to install Zend Framework 2. You should be familiar with the essential workings and commands of Composer at the end of this lecture.

Introduction to Composer
04:33

This lecture shows how to install Zend Framework 2 using Composer, including setting up a virtual host for the Apache web server. You should have a high level understand of how to install and set up Zend Framework 2, and should quite easily be able to adapt this to other platforms.

Installing Zend Framework 2
09:38

This lecture discusses the structure of the newly installed ZF2 application. After finishing this lecture, you should understand the project structure of Zend Framework 2.

Preview 15:17

This lecture walks through the process of adding a new module to a Zend Framework 2 application. After completing this lecture, you should be able to add a new module to a ZF2 application.

Preview 12:37
+
Forms and Validation
3 Lectures 38:57

This lecture introduces the concept of forms in Zend Framework 2 and shows how to use a form to add new blog posts. At the end of this lecture, you should have a decent understanding of how to implement forms in Zend Framework 2.

Adding new post form
17:17

This lecture adds an input filter to a form and uses this to validate a form's input data. When finishing this lecture, you should understand how to validate form data in Zend Framework 2.

Validation with input filters
15:55

This lecture binds data that was submitted with an HTML form to an object, and at the end of the lecture, you should be able to bind form data to your own objects.

Binding form data to objects
05:45
+
Working with Databases
12 Lectures 02:22:42

This lecture walks through the process of creating the tables that are needed to complete the subsequent lectures.

Creating the database schema
07:18

A database connection is set up in this lecture, and you should be able configure a database connection at the end of this lecture.

Configuring the database connection
04:42

In this lecture, the concept of a service layer is introduced, and a service layer is added to the application. After finishing this lecture, you should understand the advantages of implementing a service layer, as well as be able to implement a service layer within a Zend Framework 2 application.

Preview 08:46

In this lecture, you will learn how to insert data into a relational database within Zend Framework 2, and should be able to insert data into one or multiple tables at the end of the lecture.

Inserting posts into the database
15:19

An initializer is implemented in this lecture and is used to conveniently inject a database adapter into the application's repositories. At the end of the lecture, you should understand how initializers work and how to implement them.

Implementing an initializer
10:53

In this lecture, blog posts are retrieved from the database and displayed on a page. After completing this lecture, you should be able to retrieve data from a database in Zend Framework 2.

Displaying posts
19:57

In this lecture, pagination is added to the page that displays a list of blog posts. After this lecture, you should be able to implement pagination in Zend Framework 2 and be familiar with how pagination works.

Adding pagination of blog posts
15:46

This lecture adds a page that displays a single blog post. At the end of this lecture, you should be familiar with writing SELECT queries using the Zend\Db namespace.

Displaying a single post
19:53

This lecture goes through the process of adding functionality that is capable of updating blog posts within the database. After completing this lecture, you should understand how to write UPDATE queries by using the Zend\Db namespace.

Updating posts
19:46

This lecture goes through the process of adding functionality that is capable of deleting blog posts within the database. At the end of this lecture, you should understand how to write DELETE queries by using the Zend\Db namespace.

Deleting posts
06:28

This lecture discusses how to implement the ACID principle that is used in computer science, within Zend Framework 2. It takes a closer look at using transactions and shows an example of how to implement this in a repository. After watching this lecture, you should understand the advantages of using database transactions, and should be able to implement this in Zend Framework 2.

Using transactions
08:50

In this lecture, CSS stylesheets are added to the application. You will learn how to add stylesheets to pages in Zend Framework 2.

Improving design with CSS
05:04
+
Users & Authentication
8 Lectures 01:14:10

This lecture walks through the process of creating the table that is needed to complete the subsequent lectures.

Creating the database schema
04:53

This lecture walks through the process of adding the User module to the application. After completing this lecture, you should be able to add a new module to a ZF2 application.

Creating the user module
06:18

This lecture adds functionality that saves users to the database and encrypts passwords by using the Bcrypt encryption algorithm. After completing this lecture, you should understand how to encrypt passwords with Zend Framework 2 and should understand the main advantages of the Bcrypt algorithm.

Adding and saving users
19:28

This lecture adds login functionality to the application, and you will learn how to compare a hashed password with a clear text password in Zend Framework 2.

Logging in
16:31

This lecture adds log out functionality to the application, and you will learn how to log users out in Zend Framework 2, and should be able to implement this feature.

Logging out
04:37

This lecture shows how to use sessions in Zend Framework 2 and how data can be written to and read from sessions. You should be able to work with session data after completing this lecture.

Storing data in sessions
04:08

This lecture adds a layout that is specific to the User module and also shows how to change the layout within a specific controller action. At the end of the lecture, you should be able to add a layout to a given ZF2 module as well as for a particular controller action.

Adding a new layout
06:20

This lecture adds functionality that adds the currently logged in user as the author when creating a blog post. You should understand how to access the identity of a logged in user after completing this lecture.

Adding author to posts
11:55
+
Conclusion
1 Lecture 02:05

This lecture recaps on what was accomplished in this course.

Last words & summing up
02:05
About the Instructor
Bo Andersen
4.2 Average rating
607 Reviews
3,090 Students
3 Courses
Lead Developer

My name is Bo Andersen and I am a software developer from Denmark.

I am a software developer who has previously worked a successful company, which operates one of the largest websites in Denmark, before deciding to teach full time. I have worked with programming for a decade, primarily with web development. I have a bachelor's degree in computer science and have worked with programming in my spare time before, during and after completing my education.

If you would like to see my complete resume and experience, please have a look at my LinkedIn profile. I have also been blogging about programming subjects for a few years, so I encourage you to have a look at my website if you are curious.