Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS AWS Certified Developer - Associate CompTIA Security+
Photoshop Graphic Design Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Mindfulness Personal Development Personal Transformation Meditation Life Purpose Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Big Data
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee

This course includes:

  • 2.5 hours on-demand video
  • 9 articles
  • 2 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
Development Database Design & Development AJAX

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
Rating: 4.5 out of 54.5 (77 ratings)
1,335 students
Created by Laurence Svekis
Last updated 11/2019
English
English [Auto]
30-Day Money-Back Guarantee

What you'll learn

  • Create a database connection using PHP
  • Use JSON objects within JavaScript
  • INSERT, UPDATE and GET content from a database into javascript

Course content

6 sections • 32 lectures • 2h 27m total length

  • Preview04:53
  • Preview05:26

  • Quick jQuery intro and how to add it to your web pages
    04:43
  • Working with jQuery
    06:54
  • jQuery Ajax methods
    07:25
  • AJAX jQuery Source Code
    00:16

  • AJAX post content to PHP endpoint
    07:02
  • PHP output as JSON data
    05:24
  • AJAX send multiple values to PHP endpoint
    05:20
  • Source Code PHP AJAX index
    00:23
  • Source Code api
    00:04

  • Create MySQL database table
    02:26
  • Create table mysql
    00:06
  • Connect to Database
    04:19
  • Add content to database via AJAX frontend code
    06:42
  • Insert to mySQL
    05:53
  • Insert and update Database content with AJAX
    09:43
  • Get data from Database output as JSON
    09:21
  • Dynamically output new JSON data
    07:34
  • Get data output into HTML
    05:47
  • Web API conclusion
    07:14
  • Index Source Code
    00:40
  • API.php source code
    00:32
  • Course Resources
    00:00

  • Setup HTML form structure
    05:28
  • AJAX setup form data serialize
    05:42
  • Respond with JSON data from server
    05:50
  • PHP setup response to AJAX
    04:41
  • Frontend messaging to user AJAX
    09:31
  • Application Tweak and bug fix
    06:42
  • Form validations JSON response Source Code
    00:26

  • Bonus Lecture
    01:13

Requirements

  • HTML and JavaScript basics
  • Frontend web development concepts
  • API general understanding of what it is

Description

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!

Who this course is for:

  • web developers
  • anyone looking to connect frontend code to a database
  • web designers
  • JavaScript developers and jQuery Developers

Instructor

Laurence Svekis
Instructor, GDE, Application Developer
Laurence Svekis
  • 4.3 Instructor Rating
  • 41,752 Reviews
  • 706,532 Students
  • 369 Courses

I'm here to help you learn, achieve your dreams, come join me on this amazing adventure today
Google Developers Expert - GSuite

Providing Web development courses and digital marketing strategy courses since 2002.

Innovative technology expert with a wide range of real world experience. Providing Smart digital solutions online for both small and enterprise level businesses.

"I have a passion for anything digital technology related, enjoy programming and the challenge of developing successful digital experiences. As an experienced developer, I created my first computer applications in 1990, and my first website in 1998.  I enjoy sharing my knowledge with others and want to help you share in the wonderful opportunities that the internet provides."

"Learning, understanding with a strong passion for education.  The internet has provided us with new opportunities to expand and share knowledge."

Want to learn more about becoming a web developer, do you want to experience the freedom that technology provides for us? Learn how to bring amazing things to life online.  Technology connects us all in many ways.  It opens up doors to those who embrace it and learn how to make those connections real.

"My courses are designed to help you achieve your goals, learn and update skills"

Background : An experienced web application developer, having worked on multiple enterprise level applications, hundreds of websites, business solutions and many unique and innovative web applications.  Web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP and MySQL. Anything to do with web creation and digital experience. Passionate about everything to do with web application development, programming to online marketing with a strong focus on social media and SEO. 

"Understanding technology provides a means to better connect with users.  It also opens so many doors.   Knowledge is the key to success and I want to help you experience what technology has to offer. I'm passionate about web technologies, and look forward to sharing my knowledge and experience with you!"

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.