RESTful Services Example
http://ngapis.newsomegraphix.net/schedules
Web Design Prototype:
- First things first, this is NOT an exercise in UX or UI design.
- This is meant to be quick and dirty to provide samples of javascript code.
- I am using PHP with the Laravel 5 framework to capture and process my requests.
- I am connecting to a MySQL database.
- I am using a custom script to render and make calls to my PHP scripts. I am NOT using OAuth or any other client side framework.
- In fact I could have just used PHP without the Laravel framework. With all of the configuration Laravel requires, it might have been easier. :)
- This script highlights the use of objects and function overrides in Javascript.
- I am also using the JQuery library to manipulate the pages' DOM.
- I am also using traditional functions and making use of client side sessions.
- Each screen is a new javascript file and object.
- I suppose I could have used some sort of lazy loader to make the loading of object files more efficient.
- I make use of the HTTP verbs, like "GET","POST","DELETE"
- I do not make use of any other client side libraries to manipulate any other data.
- Looks like there is a bug in here that requires the user press the sign-in button twice.
- This has to do with the missing Laravel Session and missing csrfToken. I will fix that later.