AJAX connection to MySQL PHP API

Learn how you can create a simple database API which can be accessed from frontend code, updated and more

4.30 (106 reviews)
Udemy
platform
English
language
Databases
category
instructor
AJAX connection to MySQL PHP API
1,580
students
2.5 hours
content
Nov 2019
last update
$59.99
regular price

What you will learn

Create a database connection using PHP

Use JSON objects within JavaScript

INSERT, UPDATE and GET content from a database into javascript

Why take this course?

The scope of the course stays focused to building the API interaction.  It covers multiple technologies working together, and topics only in relation to the finished project.

Want to access your MySQL database using JavaScript?  Let web visitors interact seamlessly with you MySQL database.  Add new content, update existing content, and query the database to return results! Databases provide so much power to your web applications, why not use them more.

This unique course takes you through the steps of creating a simple web api to allow web visitors database interaction.  Database is key to creating an amazing interactive dynamic experience for web users.  It lets you do more!

This course will open the door for you to build our a lot of COOL STUFF!  From the lessons of the course, you will be able to produce a wide range of uses for the code. Source code is included so you can practice along side the lessons, try it out for yourself and tweak it for your individual needs.

This course covers a lot of technologies and demonstrates them all working together to achieve the API objective.  

JavaScript and an understanding of the Document Object Model is an important foundation before starting this course.  We've designed the course to be fast paced step by step covering the essentials to build the web API.  Please note that the course overviews core technology used only within the course to build the API.  

What you will learn

  • Basic HTML - setting up simple elements to access from JavaScript
  • Basic CSS - creating buttons
  • jQuery - AJAX, Getting element values from a form, updating element inner HTML.
  • JSON - How to send JSON objects and how to retrieve JSON data and use it as objects within JavaScript.
  • PHP - How to get request variables, setup a mySQL database connection, looping of data, arrays, outputting content as JSON formatted.
  • RegEx - Check values as numeric
  • MySQL - Setup a database, connect to a database, phpmyadmin access, write queries to Update, select and insert data.   Prevent SQL injection.
  • See it all working together and much more!

By the end of the course you will have the knowledge on how to put it all together and create a simple API to interact with your database.  Use this course as a starting point to limitless options with this fully functional and customizable code.

I'm here to help you learn about APIs and ready to answer any questions you may have.  What are you waiting for enrol now and see what you can do!

Screenshots

AJAX connection to MySQL PHP API - Screenshot_01AJAX connection to MySQL PHP API - Screenshot_02AJAX connection to MySQL PHP API - Screenshot_03AJAX connection to MySQL PHP API - Screenshot_04

Reviews

Acs
January 7, 2022
Each section is well explained in full detail. The code samples are easy to follow and the examples dig deeper into the lecture main points.
Michael
August 29, 2020
I was stuck on a problem for work, this was a massive help, super grateful I found it. Some things didn't work as it's an older course, however all the answers you need are in the Q&A.
Stephan
February 29, 2020
Teilweise keine Erklärungen zu den Funktionen von jQuery gebracht. Aber ein guter Einstieg in die Verwendung von json Datensätzen.
Gwiza
January 31, 2019
Most courses either focus on frontend (javascripts) or PHPMysql. So I was confused how to make both work together. This course was exactly what I needed. and in only 2hours. He explains concepts quite well
Mark
December 2, 2018
Course was direct and to the point. As to not distract from the objective, very basic HTML and CSS was used in examples. The course was a bit cursory towards the end and could have provided more examples especially with interaction of user forms and the database. Overall, though a good basic beginners course.
Charles
December 30, 2017
I find it to be a bit confusing, sometimes, it seems that you are not sure if what you are coding will actually work, I would strongly recommend to have an outline of what you will cover in order to have the information a bit less confusing, also, making a bit more explanation on what is happening would help tons. One of the biggest problems I found is that you commit errors while coding, either typing wrong the code or function names and then correcting them off video and never telling you did. That is very confusing, although I do understand what you did after careful checking that makes it frustrating trying to review the code all the time.
Aaron
November 18, 2017
I appprciate the clarity of the instructor. He goes at a fast pace, which is ideal for video, since we can rewind and pause. I feel confident that I can learn the material.
James
July 9, 2017
Clear code writing, English language, explanations of data round trips, simple but effect examples, and pertinent to what I need at this time.
Robert
January 17, 2017
Very clean answer to adding data to MySQL via a form on the web... Tutor doesn't waste time and stays focused on showing you how to work with javascript and a php api to add and retrieve data to and from a MySQL database. Perfect for my needs... Many thanks...

Charts

Price

AJAX connection to MySQL PHP API - Price chart

Rating

AJAX connection to MySQL PHP API - Ratings chart

Enrollment distribution

AJAX connection to MySQL PHP API - Distribution chart

Related Topics

1029592
udemy ID
12/2/2016
course created date
9/12/2020
course indexed date
Bot
course submited by