Building a Site with Angular and PHP

PHP is the most widely-used web programming language in the world, and Angular is one of best-known JavaScript frameworks today. This course will teach you to create a Single-Page Application (SPA) with Angular and connect it to a PHP backend.
Course info
Level
Intermediate
Updated
Dec 20, 2017
Duration
3h 51m
Table of contents
Description
Course info
Level
Intermediate
Updated
Dec 20, 2017
Duration
3h 51m
Description

Angular is probably the most widely used JavaScript framework today, and PHP is the most-used web programming language by a wide margin. In this course, Building a Site with Angular and PHP, you'll learn to combine the powers of both technologies. You start with an introduction to Angular, and then set up a PHP backend with a JSON interface and database storage. Next, you'll explore TypeScript, a prerequisite for Angular, and finally dive right into the JavaScript framework and its concepts. When you have finished this course, you'll not only have a good understanding of Angular, but you'll also have learned how to connect your app to a PHP backend.

About the author
About the author

Christian Wenz is an author, consultant and trainer focusing on web technologies. He wrote or co-wrote over 100 books, is a fixture at international developer conferences since 2001, is a Microsoft Most Valuable Professional (MVP) for ASP.NET, an ASPInsiders member, and main author of the Zend PHP 5.5 certification.

More from the author
PHP Web Application Security
Intermediate
5h 18m
1 Sep 2016
What's New in PHP 7
Intermediate
1h 45m
3 Dec 2015
More courses by Christian Wenz
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Christian Wenz, and welcome to my course, Building a Site with Angular and PHP. I'm an independent developer and architect and support many companies in everything web, including web performance and web application security. Angular is one of the hottest JavaScript frameworks of today, and PHP is the most widely used web server technology. In this course, we're going to use both technologies together. First, we will set up our system. Then, we will discover TypeScript, a new language, which makes development of Angular and JavaScript applications much easier. After a fast-paced introduction to Angular, we will create a PHP-powered server backend, which our clients at application will talk to. Finally, we will add some more features like database storage and client-side routing. Some of the major topics that we will cover include setting up an Angular application with the Angular CLI, familiarizing ourselves with the most important and common Angular features, implementing a PHP server returning JSON data and communicating from it from Angular, enabling back and forward browser support with routing, and publishing our Angular app on a web server. By the end of this course, you will know both the fundamentals of Angular and how to make the most of PHP as your server backend. Before beginning the course, you should at least be a little familiar with PHP and JavaScript. You do not need to know Angular or TypeScript. That's what the course is for. From here, you should feel comfortable diving into Angular with the many, many courses Pluralsight has to offer on different aspects of the framework. I hope you'll join me on this journey with the Building a Site with Angular and PHP course, at Pluralsight.

Getting Started
Hi, and welcome to Pluralsight. My name is Christian Wenz, and I will be your guide through the maze that is Building a Site with Angular and PHP. In this course, you will learn one of the most famous and most widely-used JavaScript frameworks out there, Angular, and combine it with the powers of the server technology number one, PHP. We will learn Angular from scratch, how it is used, what features it has, and then we will bring PHP to the mix, create a server backend, and then consume that backend from our Angular application. So hold on tight and get ready for Building a Site with Angular and PHP here at Pluralsight.

TypeScript in a Nutshell
Hi, and welcome to TypeScript in a Nutshell. My name is Christian Wenz, and I'm your guide through building a site with Angular and PHP. And although Angular and PHP are both not relevant for TypeScript, TypeScript is very relevant for development of Angular. So we need to learn at least a little bit of TypeScript in order to be able to learn Angular and then combine it with PHP. Angular itself is written in TypeScript, a language developed by a team within Microsoft. The first release was in 2012, and development is still going on strong. The project lead, by the way, is Anders Hejlsberg, which you may known from, well, Turbo Pascal or Delphi or C#. So we need to learn a little bit of TypeScript, which we will do in this module.

Angular in a Nutshell
Hi, and welcome to Angular in a Nutshell. I am Christian Wenz, your guide through Building a Site with Angular and PHP, and in this module, as the title suggests, we will learn the basics of Angular. We have already installed it, so it's time to put it to life. We will first learn about the terminology used by Angular, and then we will start expanding our application. We create modules, components, we do data binding, and much more, and we'll actually have a working application at the end of this module. Are you excited? I certainly am, so let's go.

PHP as an Angular Backend
Hi, and welcome to PHP as an Angular Backend. I'm Christian Wenz. I guided you through setting up an Angular application and filling it with life, but so far it's still static. We always have the same list of countries and states. This will change now. We will use PHP to set up a server backend where all the countries, all the states will be stored in the database, and we will have an API that will give those information to the Angular application. So buckle up, let's go.

More Angular
Hi and welcome to More Angular, the final module of building a site with Angular and Php. I am Christian Wenz, and in this module we will spice up our application a little bit more. For instance we will add a database backend to our service, we will add routing support for our application and we will see a few more Angular features in action. So this will be a module with quite a bit of coding, so better get ready, we are about to start.