From this guide you'll learn how to create single page application (SPA) in minutes using AngularJs and Yii Framework 2.0. The application will implement a Create Read Update Delete (CRUD) data processing. User interface of this application will be implemented using AngularJs. Data will be provided by API created using Yii Framework 2.0.
There will be two applications:
Note: For easier maintenance it is recommended that you develop your RESTful APIs as a separate application which is separated from both website and admin parts of the application.
Since client and service are separated, technology stack used in each case varies.
For client application we use HTML, JS, and CSS. At least some knowledge of all three is mandatory to follow this tutorial.
CSS Bootstrap 3
For service part we'll use PHP and MySQL. As a PHP framework we'll use Yii Framework 2.0