1 / 7

AJAX 1 Assignment

AJAX 1 Assignment. The Pages. I have provided a old example of the admin area for the music site. Not all pages are in this example You only need to create the Artists and Albums pages The pull down to select albums should also be generated by AJAX calls. Artists Page.

osmond
Download Presentation

AJAX 1 Assignment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AJAX 1 Assignment

  2. The Pages • I have provided a old example of the admin area for the music site. • Not all pages are in this example • You only need to create the Artists and Albums pages • The pull down to select albums should also be generated by AJAX calls.

  3. Artists Page • The two fields that need to be editable are the name (text) and biography (textarea). • The user needs to be able to update, insert and view the artists. • The pull down to select the artists must be updateable and retain state when you update and insert records. • A response when you update and insert is necessary.

  4. Albums Page • The two fields that need to be editable are the name (text) and artists (pulldown). • The user needs to be able to update, insert and view the albums. • The pull down to select the albumsmust be updateable and retain state when you update and insert records. • A response when you update and insert is necessary.

  5. Mark breakdown • 10% Overall structure for wireframe and navigation • 10% functional design • 20% artists AJAX calls • 20% artists php code • 20% albums AJAX calls • 20% albums php code

  6. PHP code • The php code will generate a JSON file • Watch out that you stripslashes, nl2br and htmlspecialchar text before using it in the JSON file. • The code will use Exception handling by using try and catch. • The code will provide feedback to the user with indications of success and failure.

  7. AJAX Code • You can use jQuery binds to associate functions to code. • Have your code well formatted. • You will need to replace <br /> with \r before place data into text or textareas • You can use tiny_mce if you wish.

More Related