How to Build an Autocomplete System Using javascr and PHP
HDRips | MP4/AVC, ~141 kb/s | 1280x720 | Duration: 00:49:01 | English: AAC, 128 kb/s (2 ch) | 103 MB
Genre: Development / Programming
Greeting everyone and welcome to this course on how to build an autocomplete system using javascr and PHP.
Generally, an autocomplete system needs three different technologies:
Client-side language to communicate with the server: We will use javascr.
Server-side language capable of providing data to the client: We will use PHP.
Database to store data: To make our code as simple as possible we're going to use a file to store our data, but you can use a real database if you wish to.
The principle is simple but effective: when a user type a character in the text field, a search is done and the results are sent back to the navigator. The latter displays these results in a little frame located under the search field.We can then browse the results using the up and down arrow keys or the mouse cursor.If we choose one of the listed results, it will be automatically displayed instead of what was written by the user.
What are the requirements?
HTML/CSS: Basic knowledge to create a simple text field
PHP Basics:Things like variables, if statements, loops and arrays.
javascr: We will use events and a little bit of Ajax(mainly the XMLHttpRequest object).Dont worry if you're not familiar with these two,I will do a quick introduction to them in this course
What am I going to get from this course?
At the end of my course, students will be able to rapidly build their own autocomplete system using HTML5,CSS3,javascr and PHP.This system can be used in more advanced projects like building a search engine.
PLEASE SUPPORT ME BY CLICK ONE OF MY LINKS IF YOU WANT BUYING OR EXTENDING YOUR ACCOUNT