1 / 9

Miscellaneous

Miscellaneous. Week 13 INFM 603. Agenda. Images PHP/MySQL LDAP jQuery. Images in with PHP/MySQL . Before running following example make sure Drop table “docs” in database myDB ; grant all on myDB.docs to student@localhost identified by “ goodbyeWorld ”;

luna
Télécharger la présentation

Miscellaneous

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. Miscellaneous Week 13 INFM 603

  2. Agenda • Images PHP/MySQL • LDAP • jQuery

  3. Images in with PHP/MySQL • Before running following example make sure • Drop table “docs” in database myDB; • grant all on myDB.docs to student@localhost identified by “goodbyeWorld”; • Example: (ImagesEx1 Folder) • Execute scripts in the following order: • creatingDocumentsTable.php, • insertingDocument.php, • retrievingDocument.php • Example: (ImagesEx2 Folder) • Access retrievingDocumentForm.html

  4. LDAP Access • Campus ldap logins • http://www.cs.umd.edu/faq/ldaphtaccess.html • Example: • http://www.cs.umd.edu/~nelson/LDAP/

  5. jQuery • JavaScript library that allows • Event Handling • HTML document traversing • Ajax Interactions • Main site • http://jquery.com/ • Example from JQuery site • $("p.neat").addClass("ohmy").show("slow"); • You can execute it by visiting the jQuery site

  6. jQuery Fundamentals • You need access to the jQuery library by either downloading it or relying on other mechanism (e.g. Google’s CDN) • Next statement allow us to wait until the document is ready to be manipulated (DOM is fully loaded) $(document).ready(function() { // this is the ready event }); • The above code should appear in a .js file that is included the main html file • Example: jQueryBasics.html

  7. jQuery • List of events • http://api.jquery.com/category/events/ • Shortcut for $(document).ready • http://docs.jquery.com/Tutorials:Multiple_%24%28document%29.ready%28%29 • General documentation • http://docs.jquery.com/Main_Page

  8. JQuery User Interfaces • JavaScript library based on Jquery • http://jqueryui.com/ • Example: DatePicker.html • See Demos • http://jqueryui.com/demos/

  9. Additional Info • http://jquerymobile.com/ • References (via Safari online) • iPhone Apps • http://proquest.safaribooksonline.com/book/programming/iphone/9781449380236 • Android Apps • http://proquest.safaribooksonline.com/book/programming/android/9781449399122

More Related