Web Development · WDC-61

PHP and MySQL Restful API

12 hours 2 days
Last updated

PHP and MySQL Restful API is a 12-hour training course by IT Genius Institute. Representational state transfer หรือ REST คือการสร้าง Web Service ชนิดหนึ่งที่ใช้สื่อสารกันบน Internet ใช้หลัการแบบ Stateless คือไม่มี Session ซึ่งต่างจาก Web…

Training schedule

No public rounds are open right now — register your interest and we will contact you when the next round opens, or request an in-house session for your team.

Corporate training quote

PHP and MySQL Restful API Representational state transfer หรือ REST คือการสร้าง Web Service ชนิดหนึ่งที่ใช้สื่อสารกันบน Internet ใช้หลัการแบบ Stateless คือไม่มี Session ซึ่งต่างจาก Web Service แบบอื่น เช่น WSDL และ SOAP การทำงานของ RESTful Web Service จะอาศัย URI/URL ของ request เพื่อค้นหาและประมวลผลแล้วตอบกลับไปในรูป XML, HTML, JSON โดย response ที่ตอบกลับจะเป็นการยืนยันผลของคำสั่งที่ส่งมา และสามารถพัฒนาด้วยภาษา programming ได้หลากหลาย คำสั่งก็จะมีตาม HTTP verbs ซึ่งก็คือ GET, POST, PUT, DELETE

Objectives

  • มีความรู้ความเข้าใจเกี่ยวกับโครงสร้างและที่มา PHP และ MySQL Restful API
  • สามารถพัฒนาระบบงานบน WEB ด้วยการเขียน PHP ร่วมกับฐานข้อมูล MySQL
  • สร้างและพัฒนางานกับข้อมูลที่อยู่ใน Web Server
  • มีความรู้และความเข้าใจเกี่ยวกับระบบฐานข้อมูลบน Web

Who this course is for

  • นักเรียนนักศึกษา
  • ครู อาจารย์ วิทยากรที่สนใจ
  • นักวิชาการ นักไอที หรือผู้ดูและระบบ

Prerequisites

  • ความรู้พื้นฐานในการเขียน PHP & MySQL มาบ้าง
  • ความรู้พื้นฐานการในการออกแบบเว็บไซต์มาบ้าง

Curriculum

Module 1: รู้จัก REST & Restful

  • Rest คืออะไร
  • HTTP คืออะไร
  • ความแตกต่างระหว่าง REST และ RESTful
  • ความแตกต่างของ HTTP1 และ HTTP2
  • รู้จัก Http Status Message ต่างๆ
  • รู้จัก Http Headers แบบต่างๆ

Module 2: ดาวน์โหลดและติดตั้งเครื่องมือสำหรับการพัฒนา RESTful API ด้วย PHP & MySQL

  • ติดตั้ง XAMPP สำหรับใช้งาน PHP & MySQL
  • ดาวน์โหลดและติดตั้ง Composer
  • ดาวน์โหลดและติดตั้ง Virtual Box
  • ดาวน์โหลดและติดตั้ง Vagrant
  • ดาวน์โหลดและติดตั้ง Visual Studio Code พร้อมส่วนเสริมที่จำเป็น
  • ดาวน์โหลดและติดตั้ง Git
  • ดาวน์โหลดและติดตั้ง NodeJS และ NPM
  • ดาวน์โหลดและติดตั้ง Postman สำหรับไว้ทดสอบ API

Module 3: Building API Website

  • Creating Components
  • Creating Pages
  • Cleaning The URL
  • Creating Database
  • Creating Database Class
  • Creating Forms Class
  • Creating Helper Class
  • Creating Apiusers Model Class
  • Creating Apiusers Website Register
  • Creating Apiusers Website Login

Module 4: Building API Endpoints

  • Creating API User Model
  • API End Point Create User
  • API User Check User Credentials Endpoint
  • API Article Model
  • API CreateArticle Endpoint
  • API EditArticle Endpoint
  • API DeleteArticle Endpoint
  • API Get Latest Articles Endpoint
  • API Categories Model
  • API GetCategories Endpoint
  • API GetCategoryList Endpoint
  • API GetArticlesByCategories Endpoint

Module 5: Consuming API Building Single Page Application

  • Setting Up Template
  • Styling Auth Form
  • Setting Up Template
  • Styling Template
  • Making Template Interactive
  • User Registration Process
  • Testing Registration Process
  • User Login Process
  • Testing Login
  • User Logout Process
  • Create Article UI
  • Get Category
  • Testing Get Categories
  • Get Category List
  • Get Category List Testing

Module 6: Working with Basic Auth

  • Basic Auth Process
  • Setting Up Basic Auth Template
  • Handling_Basic_Auth_At_Endpoint
  • Handling_Basic_Auth_At_Endpoint Testing
  • Implementing Basic Auth to Endpoint

Module 7: Working with PHP & JWT (JSON Web Tokens)

  • What is JWT
  • Setting up JWT Template
  • Generating JWT Token
  • Checking JWT Token
  • Handling JWT At EndPoint
  • Consuming And Testing JWT

Module 8: Guzzle Basic & Request

  • What is Guzzle
  • Guzzle Installation Basic Request
  • Guzzle Request
  • Guzzle Asynchronous Request
  • Guzzle Concurrent Request
  • Guzzle Sending Query String
  • Guzzle Sending Request Data

Frequently asked questions

Who is PHP and MySQL Restful API for, and what background is needed?

Built for นักเรียนนักศึกษา · ครู อาจารย์ วิทยากรที่สนใจ · นักวิชาการ นักไอที หรือผู้ดูและระบบ Background you should have: ความรู้พื้นฐานในการเขียน PHP & MySQL มาบ้าง · ความรู้พื้นฐานการในการออกแบบเว็บไซต์มาบ้าง Not sure the fit is right? Talk to our team on LINE @itgenius or call 02-570-8449.

How much does PHP and MySQL Restful API cost and how long does it run?

THB 6,500 (currently THB 5,850 on promotion). The course runs 12 hours. The fee covers course materials, lunch and refreshments throughout. Pay by bank transfer to the company account, confirm it on our payment page, and we can issue the receipt or tax invoice in your company's name.

Do I get a certificate?

Yes. Everyone who completes the course receives a Certificate of Completion from IT Genius Institute. Each certificate carries its own number, and anyone holding that number can verify it online on our certificate page, so you can add it to your portfolio or pass it to HR as evidence of training.

Where does the training take place, and is there an online option?

You can attend onsite at IT Genius Institute or arrange to join online, and we also run it as a private in-house session for your team. Ask about dates and venues on LINE @itgenius or call 02-570-8449.

What if I fall behind or miss a session — can I retake it?

Yes. You may retake the same course free of charge in a later round, under the institute's conditions. Tell our team which course and round you attended, and we will check it and offer you the rounds that still have seats. Ask us on LINE @itgenius or call 02-570-8449.

How do I enrol, or request a quotation for my company?

Enrol online with the registration form on this page. You can register several attendees at once and enter your tax ID and billing address for the tax invoice. Or request a company quotation straight from the quote button. For anything else call 02-570-8449 or reach us on LINE @itgenius.

Instructors

Run this course for your whole team

We run this course in-house, tailored to your stack.

Corporate training quote