1 / 10

NMD202 Web Scripting

NMD202 Web Scripting. Week10. What we will cover today. Week 9 - Ajax Next week presentation Assignment 1. Prototype. Students Submitted Prototype Daniel Atkins Daniel Korn Jess O’Neill Kieran Johnson Matthew Cox Nang Tip Sonya Pennington. Prototypes.

yoshi
Télécharger la présentation

NMD202 Web Scripting

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. NMD202 Web Scripting Week10

  2. What we will cover today Week 9 - Ajax Next week presentation Assignment 1

  3. Prototype • Students Submitted Prototype • Daniel Atkins • Daniel Korn • Jess O’Neill • Kieran Johnson • Matthew Cox • Nang Tip • Sonya Pennington

  4. Prototypes • MVC Implementations – the right way: • Make sure all requests are routed through the Controller, this helps authentication as well as the check is centralized in just one file.

  5. Prototypes • Cookies – cookies are only sent after the response is sent to the browser, so this will not work: • setcookie("hash", md5("pswd“)); • if(isset($_COOKIE["hash"]) • { • //Proceed to authenticated page • }

  6. Prototypes • Cookies – cookies are only sent after the response is sent to the browser, so this will not work: • setcookie("hash", md5("pswd“)); • if(isset($_COOKIE["hash"]) • { • //Proceed to authenticated page • }

  7. Prototypes • Format the text to store in the database – blogs, comments, etc • Use a js or Java applet WYSIWYG editor: • TinyMCE – http://tinymce.moxiecode.com

  8. Presentation • 5 - 10 minutes presentation, you should cover: • The Goal of your system and how you have achieved • Architecture overview of your system • Demonstration of the system • Design decisions • Problems faced in the implementation • How could you improve it • Questions and answers • Feedback from class

  9. Final Submission • Working System: • All screens are working • System only allows authenticated users • All queries sanitized • All data is validated • SQL dump • Usernames and passwords of users in the DB • Send via email subject : NMD202 - Assignment1Final – Student Name • All files should be archived zip file • All documentation and any other instructions to use the system should be attached

  10. Assignment 1

More Related