About This Course
The scope of the course stays focused on building the API interaction. It covers multiple technologies working together, and topics only in relation to the finished project.
This unique course takes you through the steps of creating a simple web API to allow web visitors database interaction. A database is a 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 out 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. The 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.
What you will learn:
- Basic CSS – creating buttons
- jQuery – AJAX, Getting element values from a form, updating element inner HTML.
- 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!
What are the requirements?
- Frontend web development concepts
- API general understanding of what it is
What am I going to get from this course?
- Create a database connection using PHP
Who is the target audience?
- web developers
- anyone looking to connect front end code to a database
- web designers
Our Promise to You
By the end of this course, you will have learned how to connect AJAX to MySQL PHP API.
30 Day Money Back Guarantee. If you are unsatisfied for any reason, simply contact us and we’ll give you a full refund. No questions asked.
Get started today and learn more about connecting AJAX to MySQL PHP API.
|Section 1 - Start Here|
|Introduction To Creating An AJAX Database Interaction API||00:00:00|
|Resources Setup MySQL PHP Ready||00:00:00|
|Section 2 - Quick Intro To jQuery|
|Quick jQuery Intro And How To Add It To Your Web Pages||00:00:00|
|Working With jQuery||00:00:00|
|jQuery AJAX Methods||00:00:00|
|AJAX jQuery Source Code||00:00:00|
|Section 3 - Create PHP Endpoint|
|AJAX Post Content To PHP Endpoint||00:00:00|
|PHP Output As JSON Data||00:00:00|
|AJAX Send Multiple Values To PHP Endpoint||00:00:00|
|Source Code PHP AJAX Index||00:00:00|
|Source Code API||00:00:00|
|Section 4 - Adding MySQL Database|
|Create MySQL Database Table||00:00:00|
|Create Table MySQL||00:00:00|
|Connect To Database||00:00:00|
|Add Content To Database Via AJAX Frontend Code||00:00:00|
|Insert To MySQL||00:00:00|
|Insert And Update Database Content With AJAX||00:00:00|
|Get Data From Database Output As JSON||00:00:00|
|Dynamically Output New JSON Data||00:00:00|
|Get Data Output Into HTML||00:00:00|
|Web API Conclusion||00:00:00|
|Index Source Code||00:00:00|
|API.php Source Code||00:00:00|
|Section 5 - Code Snippets|
|Setup HTML Form Structure||00:00:00|
|AJAX Setup Form Data Serialize||00:00:00|
|Respond With JSON Data From Server||00:00:00|
|PHP Setup Response To AJAX||00:00:00|
|Frontend Messaging To User Ajax||00:00:00|
|Application Tweak And Bug Fix||00:00:00|
|Form Validations JSON Response Source Code||00:00:00|