AJAX Vs RESTful API





Lets talk about AJAX and Restful API endpoints and how we can use these to communicate to external web services.

AJAX stands for Asynchronous JavaScript and XML. This allows external data to be accessed asynchronously. This means that elements on the page can be altered with new data without the page being refreshed.



REST stands for Representational State Transfer. This is the transfer of data which can be cached and is stateless.

Both AJAX and REST can work together. A RESTful API endpoint could be requested via AJAX which in turn updates the page asynchronously. However there are times when it may be best when AJAX is not used.

In this video I am going to talk about all of this and more.

======== RECOMMENDED PYTHON BOOKS ========

Python Crash Course:

http://amzn.to/2lRvw4l



Deep Learning with Python:

http://bit.ly/2ImP66J



The Quick Python Book, Third Edition:

http://bit.ly/2IkJIwC



Data Science at Scale with Python and Dask:

http://bit.ly/2jX6gsN



======== MY PROGRAMMING COURSES ========

Docker in Motion:

http://bit.ly/2vvz2sA



Skillshare courses:

http://skl.sh/2gI33M5



Udemy courses:

http://bit.ly/2iGhvIE



======== WEB HOSTING DEALS ========

Cloudways:

http://bit.ly/2CKb79b

= 20% off first 6 months

Digital Ocean: https://m.

do.co/c/9d4641c62263

= $10 off

Linode:

http://bit.ly/2CmoNq3



======== SUBSCRIBE TO THE NEWSLETTER ========

Join the Newsletter:

http://bit.ly/2fPlG3v



======== FOLLOW ME ========

Website:

http://howtocodewell.net



Facebook:

http://facebook.com/howtocodewell/



Instagram:

http://instagram.com/howtocodewell/



Twitter:

http://twitter.com/howToCodeWell



Pintrest:

http://pinterest.co.uk/howtocodewell/



Twitch:

http://twitch.tv/howtocodewell



======== MY CONFERENCE/USER GROUP TALKS ========

How to put your Docker image on a diet:

http://bit.ly/2y5KMly



Using a framework or not?

https://youtu.be/T8R3YTrqt6U



======== SUPPORT THE CHANNEL ========

Become a Patron:

http://bit.ly/2hmVKwX



Donate:

https://www.paypal.me/howToCodeWell



Help translate the videos:

http://bit.ly/2iEyxXB



======== VIDEO SETUP ========

Nikon D5300 Camera:

http://amzn.to/2u5jreD



Logitech HD Pro Webcam C920

http://amzn.to/2C5NNVJ



CRAPHY Photography Studio Lights:

http://amzn.to/2BThzOc



Rode Procaster Microphone:

http://amzn.to/2sH2WJ1



Rode VideoMic Pro:

http://amzn.to/2vmNF0D



Zoom H4NPro:

http://amzn.to/2kZrrvo

Subscribe to the HowToCodeWell newsletter