The Complete AJAX Fundamentals Course [Video]
Video
Video
$44.99
Subscription
$15.99
What do you get with a Packt Subscription?
This book & 7000+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with Video + Subscription?
Download this video in MP4 format, plus a monthly download credit
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
What do I get with Print?
Get a paperback copy of the book delivered to your specified Address*
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do I get with Print?
What do you get with video?
What do you get with video?
What do you get with Audiobook?
What do you get with Exam Trainer?
Video
$44.99
Subscription
$15.99
What do you get with a Packt Subscription?
This book & 7000+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with Video + Subscription?
Download this video in MP4 format, plus a monthly download credit
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with a Packt Subscription?
This book & 6500+ ebooks & video courses on 1000+ technologies
60+ curated reading lists for various learning paths
50+ new titles added every month on new and emerging tech
Early Access to eBooks as they are being written
Personalised content suggestions
Customised display settings for better reading experience
50+ new titles added every month on new and emerging tech
Playlists, Notes and Bookmarks to easily manage your learning
Mobile App with offline access
What do you get with eBook?
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do I get with Print?
Get a paperback copy of the book delivered to your specified Address*
Download this book in EPUB and PDF formats
Access this title in our online reader
DRM FREE - Read whenever, wherever and however you want
Online reader with customised display settings for better reading experience
What do I get with Print?
Get a paperback copy of the book delivered to your specified Address*
Access this title in our online reader
Online reader with customised display settings for better reading experience
What do you get with video?
Download this video in MP4 format
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with video?
Stream this video
Access this title in our online reader
DRM FREE - Watch whenever, wherever and however you want
Online reader with customised display settings for better learning experience
What do you get with Audiobook?
Download a zip folder consisting of audio files (in MP3 Format) along with supplementary PDF
What do you get with Exam Trainer?
Flashcards, Mock exams, Exam Tips, Practice Questions
Access these resources with our interactive certification platform
Mobile compatible-Practice whenever, wherever, however you want
-
Free ChapterHistory of AJAX
-
HTTP Protocol and the Role of AJAX
-
What is HTTP/2 and HTTP/3
-
Synchronous Versus Asynchronous Code
-
AJAX – The Basics
-
JSON and XML
- What Is XML and How Does It Differ to HTML?
- Parsing XML Data Using the DOMParser Method
- Parsing XML Data - Finishing Off Our Example
- JSON Introduction and Similarities to JavaScript
- How to Use the JSON Method
- Example of a JSON Object and XML Object
- Similarities and Differences Between JSON and XML
- XML Is Sometimes Easier to Use than JSON
- Summary
-
Constructor Functions
- Section Introduction
- First AJAX Example
- The XMLHttpRequest() Object Is a Constructor Function
- What Is a Constructor Function?
- What Is the NEW Keyword?
- What Happens If You Don't Use the NEW Keyword?
- Introduction to the new.target Property
- Using the new.target Property to Throw a Custom Error
- Constructor Functions Are a Little More Complex
-
Original AJAX – XMLHttpRequest()
- Section Introduction
- Why Learn about the XHR Object
- How to Set Up an AJAX Request
- What Is the readyState Property?
- Using the readyState Property
- What Is the onreadystatechange Event Handler?
- responseText Property, and the Danger of not Listening for readyState of 4
- Status Codes
- Checking for Status Code
- Replacing onreadystatechange with the Onload Event Handler
- ResponseType Property
- The onerror Event
- The onprogress Event (Tracking Download Progress)
- Monitoring Upload Progress
- Challenge (Listening for Progress and Load Events) - Introduction
- Challenge (Listening for Progress and Load Events) - Setting Up Our Code
- Challenge (Listening for Progress and Load Events) - Finishing Off Our Challenge
- Submitting a POST Request
- Creating Our PHP Server and Finishing Off Our POST Request
-
Section 9: Modern AJAX – Fetch Basics
- Section Introduction
- Fetch Introduction
- What Are Promises?
- Fetch Is Asynchronous
- Promises - and Using the then () Statements
- Promises - and Using the catch() Statements
- Fetch Uses Callback Functions
- Fetch - Under the Hood
- What Is the Event Loop? How I View It
- Fetch Returns a Promise
- Fetch Has Similar Syntax to jQuery
- Take a Step Back - Fetch Summary
- What Is the Response Object?
- How Do You Work with Readable Streams?
- What Is the Json() Method
- Using the Json() Method to Access Our JSON Data
- Fetching External Data – Complete Example
- Challenge Introduction – XHR Versus Fetch Versus Async
- Challenge - Building Our XHR Request
- Challenge - Building Our Fetch Request
- Challenge - A Glimpse into Async/Await
-
Modern AJAX - Streams
-
Modern AJAX – Fetch Advanced Concepts
- Section Introduction
- Fetch Recap
- Using the json() and text() Method to Access Our Data
- Comparing json() to JSON.parse()
- Request Interface and Headers Interface to Define Our Fetch Options
- Challenge Introduction - Building Two Fetch Requests
- Challenge - Setting Up Our HTML
- Challenge - Using fetch () to Retrieve Our IP Address
- Challenge - Using fetch () to Retrieve Our Image
- What Is the URL Interface Object?
- Challenge – Error Handling
- Error Handling with Fetch
- Using the OK Property to Throw Errors
- Challenge - Improving Our Code to Incorporate Error Handling
- POST Fetch Request
-
Async/Await – Improving Our fetch () Code
- Event Loop - Introduction
- Having Fun – Micro Versus Macro Tasks Explained by Looking at the Code
- Creating Our Own Promise to Execute Code Off the Main Thread
- Async/Await - Introduction
- Async Example - It Returns a Promise
- Await - Introduction
- Async and Await (Advanced Example)
- Async/Await - Final Example
- Challenge Introduction - Improve Our Code Using Async/Await
- Challenge Solution - Refactoring Our Image Fetch Call (Using Async/Await)
- Challenge Solution - Refactoring Our IP Fetch Call (Using Async/Await)
- Challenge Solution - Error Handling with a TRY and CATCH Block
-
Conclusion
About this
video
AJAX refers to how browsers make HTTP requests to servers asynchronously, listen for results, and then do something with the data when it is received. AJAX is about speed and efficiency.
Understanding web development is an ongoing process. To give you a foot up, this course has gone all out to structure an all-encompassing, focused, AJAX course, which will be delivered to you in a way that will benefit you the most.
Knowing AJAX is crucial if you want to become a full-stack developer, as it will allow you to make server requests and listen for incoming data asynchronously. It has been noted that AJAX can get tricky at times, and I do not dispute this, but with correct training, which includes explaining the fundamentals in a simple way, you will learn to master and love AJAX.
If you want to become a full-stack web developer, you need to know about AJAX and that is what this course is all about.
This course takes you through the history of AJAX, HTTP protocol, and the role of AJAX. You will also explore HTTP/2 and HTTP/3, synchronous and asynchronous code. This course will also take you through the basics of AJAX, JSON, XML, and constructor functions. Lastly, you will learn modern AJAX such as fetch basics and streams.
By the end of the course, you will become a pro in AJAX fundamentals.
All resources and code files are placed here: https://github.com/PacktPublishing/The-Complete-AJAX-Fundamentals-Course
- Publication date:
- May 2022
- Publisher
- Packt
- Duration
- 11 hours 51 minutes
- ISBN
- 9781804619926