It's an interface that allows applications to communicate with each other.
#Server create folder structure diagram update
I know it's a bad practice but this is how you do things when you first get started using PHP 7 also if you are looking for these concepts you better use a PHP framework, most of them are built around these advanced concepts) so this tutorial can be as beginners-friendly as possible.įor the database you'll use MySQL, the most pouplar database for PHP applications.ĬRUD stands for Create, Read, Update and Delete and it refers to a set of operations that are common in most data-driven web applications in which you need to access a database to create and manipulate data.Īlso read PHP Image/File Upload Tutorial and Example What is an API?ĪPI stands for Application Programming Interface. In fact you can use it to build a small stock tracking app) with the most straightforward and simplest architecture (and file structure) i.e we are not going to cover advanced concepts such as MVC, routing or template languages (we will use PHP 7 itself as the template language. Throughout the tutorial we'll create a simple API (but in the same time it's a real-world API.
HTTP GET API Example: Implementing products/read.php.Connecting to A MySQL Database in PHP 7.
MySQL Database Design with Entity-Relationship Diagram.PHP and MySQL REST API Tutorial: Create a RESTful API (HTTP POST and GET Examples) Step by Step