Today’s tutorial explores data structures in Javascript and shows the use of an array of these data structures. The subject matter of the resultant program is a Book Catalogue. The Javascript handles the storage of this Book information in keeping with your web browser session as shown with the originally written book_structure.html where the salient Javascript method of interest is Array push. As you might imagine, a book catalogue can get big, and you may get sidetracted sidetracked and you may want to resume where you left off. In order to do this, continuing on with just HTML/Javascript you could use Cookies but for our tutorial today we are going to use PHP called book_structure.php. So how we got from the HTML/Javascript to a supervisory PHP/HTML/Javascript is shown here.
As you can see Javascript is a very flexible language able to handle a variety of coding practices and forms and can easily be used to maintain an Object Oriented coding approach, as well.
Please enjoy our live run tutorial (a reduced-functionality live run of just HTML/Javascript is available here).
If this was interesting you may be interested in this too.