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.
4.0 (86 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.
440 students enrolled Bestselling in Zend Framework 2
$19
$20
5% off
Take This Course
  • Lectures 37
  • Length 6.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 11/2015 English

Course 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!

What are the requirements?

  • You should be familiar with object-oriented programming (OOP)
  • Being familiar with PHP is a bonus, but not a strict requirement

What am I going to get from this course?

  • 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

What 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.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction
02:49

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

Section 2: Core Concepts
08:35

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

03:11

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.

15:53

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.

16:13

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.

08:04

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.

09: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.

05:49

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.

06:36

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.

Section 3: Preparing the Project
04:33

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.

09:38

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.

15:17

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.

12:37

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.

Section 4: Forms and Validation
17:17

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.

15:55

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.

05:45

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.

Section 5: Working with Databases
07:18

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

04:42

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

08:46

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.

15:19

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.

10:53

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.

19:57

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.

15:46

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.

19:53

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.

19:46

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.

06:28

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.

08:50

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.

05:04

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

Section 6: Users & Authentication
04:53

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

06:18

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.

19:28

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.

16:31

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.

04:37

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.

04:08

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.

06:20

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.

11:55

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.

Section 7: Conclusion
02:05

This lecture recaps on what was accomplished in this course.

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Bo Andersen, Lead Developer

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

I am a lead developer who works at a successful startup company. I have worked with programming for a decade, primarily with PHP and MySQL. I have worked with Zend Framework for a number of years and have solid experience with this framework. I also have experience with Java and the .NET Framework. 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.

Ready to start learning?
Take This Course