
Explore what makes a good API by examining documentation quality, clear expectations, understandable error codes, speed, redundancy, scalability, and backward compatibility.
Install composer, the php dependency manager, to install your project's required packages and extensions from getcomposer.org using the terminal.
Explore what an integrated development environment is and how to choose an IDE you’re most comfortable with for yii2 development, with options like phpstorm, netbeans, sublime, and atom.
Install Postman to interface with the API and test the Yii2 restful services. Download Postman from the website, install it on your system, and start exploring the Yii2 restful application.
Download and set up the yii2 framework for a restful api, choosing between decompressed zip or composer, and configure a localhost environment with xampp to run the basic app.
Explore how yii2 controllers render pages such as home and login, define namespaces and actions, and create or test new actions in site and profile controllers.
Create a Yii2 rest API by structuring the API folders with config and modules, and enable versioning (v1 vs v2) to avoid breaking existing clients.
Learn how to enable json input for a Yii2 restful api by configuring the json parser to accept json format. Observe how json data posts are parsed.
Enable json response in the Yii2 application by configuring the web response format to json, then verify with postman so the server returns json instead of html.
Create four tables for a blog backend, including users, posts, categories, and comments, with fields like id auto-increment, slug, title, body, category_id, authentication_key, status, created_at, and unique keys.
This course will teach you how to Build and design your own web project with Yii2 framework, to consume services and APIs online.
In this course, you will learn the step-by-step processes to get started with API development with Yii2 for general consumption. You will learn how to use HTTP protocol to consume the resources your web services is meant to provide.
Are you a frontend developer, do you have a mobile product idea, do you want to create your own startup or you just want to build a technology but you need an API? This is course for you.
What are you going to learn?
Understand API and how it works better
Learn, what is HTTP and how it works
You will learn how to use postman to test API
How to properly install Yii2 framework
How to correctly structure your API project
You will understand how and when Gii comes to play
How to properly configure your response for consumption
How to send request to API and how to consume it
How to authenticate access to your API using different options
How to version your API if your update is not backward compatible
And many more.
Don't wait, and enroll today to take another step toward web services mastery!
Looking forward to having you in my course!