Phalcon is a full-stack PHP framework packed with the same features as all the rest, but with one important difference: Phalcon is the fastest PHP framework ever built! Instead of being written in PHP and loaded dynamically by your application, Phalcon is a C-language extension that loads in your RAM as a PHP module, which makes it blazing fast.
In this course, Envato Tuts+ instructor Manish Kumar will teach you how to get started with the Phalcon PHP framework by building a simple REST API. You'll learn how to set up a development environment, how to define a database schema and API endpoints, and how to implement create, read, update and delete (CRUD) operations to persist data to an SQL database.
If you've never used Phalcon before, learn everything you need to know in our course: Get Started With Phalcon.
1.Introduction3 lessons, 06:03
2.Create a REST API With Phalcon6 lessons, 37:29
3.Conclusion1 lesson, 01:58
There is a wide range of PHP frameworks out there. All of them claim to be special in one way or another. One of those PHP frameworks is Phalcon. There is no doubt that it's a full state PHP framework backed with all the features that a traditional framework should offer, but it will be your mistake to consider just another PHP framework. What makes Phalcon very unique and special is it's speed and the way it loads and runs. In fact, it's the fastest PHP framework ever built. It's not one of those frameworks that you will download and extract into a directory to use it. Rather, it's an extension written in C language that loads in your RAM as a PHP module. Which makes it blazing fast, i mean very, very fast, like two to three times more fast. Phalcon is also built upon a very powerful, but easy to understand, use pattern called dependency injection, you just initialize a service once, and then use them virtually anywhere to load the application. It makes it more loosely coupled and less dependent. Hi, my name is Manish Kumar your instructor for this course on creating a restful API with Phalcon by .plus you will need some basic PHP knowledge to work through this course. Experience with any PHP framework is also a plus. Do check out my next lesson where I will walk you through some of the interesting things that you will be taking home from this course. Till then, chow.
1.2 What We'll Be Building
Hey everybody welcome back, in this quarter we will be creating a simple restful API. Well, the idea here is that we have a hypothetical mobile application that needs to consume an API. This API will be providing create, update, delete, and search functionality to this app. Now we won't be covering every single aspect of creating restful API in this course. If you want that, I encourage you to read some of the documentation after this course. But instead, the main purpose of this course is to give you a hands on experience for getting started with Phalcon. You will be learning a lot of interesting things throughout this course, but some of them are starting with creating the basic structure for our Phalcon project, creating restful endpoints, creating models and validations, creating the database, connecting it with your API, defining some get requests for fetching record and running number plates for cars. By the way, this API is going to be all about cars, then we will go through post, put and lead request for create, update and remove operations and lastly some testing. It's going to be very interesting course, I'm really excited about it. So let's start it without further ado.