What is Ajax?
Working of Ajax.
- An event occurs on a web page, such as an initial page load, form submission, link or button click, etc.
XMLHttpRequestthe object is created and sends the request to the server.
- The server responds to the request.
- The response is captured and then the server responds back with response data.
What we are going to do?
In this tutorial, we will create a Django model for storing a list of famous web series(name, poster). We will have a form on a webpage and when users start searching for the web series the server will show the results based on users queries, and this all will happen in real-time, something like google does with a google search.
Writing whole code in a medium blog is obviously not an option and definitely not a good idea. So I have created a youtube tutorial for the same, do check that, and by doing so you are also supporting me.