Загрузка...

Creating our first little Slim-App example - The ULTIMATE Web-API course with PHP & Slim [Ep. 002]

In the second episode of "The ULTIMATE Web-API course" we will build our first little example app. At first we need to install some more utilities like the PHP binaries and configure the system variable called "path", so that our terminal/console actually knows how to execute those PHP files. We will use a server stack called "winnmp", because it's easy and lightweight. It will provide the PHP binaries, as well as some other things like a mysql (mariadb) installation - which we will need later anyways. Then we will register our first route (the path that the request is going to like "robbelroot.de/my-route") and send a corresponding response to the client.

🌐 Video resources: (coming soon) https://robbelroot.de

📖 Chapters
00:00 Intro
02:07 Alternatives for like Mac
02:30 Adding PHP to Path
03:46 Getting Slim
05:04 First code file
08:01 Installing PSR Implementation
08:17 Creating a Slim instance
09:54 Registering a route
10:35 Sending response data
11:04 Running our app
12:00 Outro

HASHTAGS: #slim #php #webapp #framework #webprogramming #programming #tutorial #course

Видео Creating our first little Slim-App example - The ULTIMATE Web-API course with PHP & Slim [Ep. 002] канала RobbelRoot
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять