1 / 12

Project: ClassAvailability

By Kiet Huynh Brandon Lee. Project: ClassAvailability. Currently. UH Manoa web site contains a page that displays the class availability of a specified semester. It’s slow No search feature Have to scroll down a long page to find courses in listing. Proposed.

saxton
Download Presentation

Project: ClassAvailability

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. By Kiet Huynh Brandon Lee Project: ClassAvailability

  2. Currently • UH Manoa web site contains a page that displays the class availability of a specified semester. • It’s slow • No search feature • Have to scroll down a long page to find courses in listing

  3. Proposed.. • Redo the site in an updated language. • Use of Ajax • “Auto complete” like features (high server load) • Minimizes query calls (database hits) • Reduce amount of redundant info transfers • “looks better” • Use of JSP or JSF • Not sure which would be the better technology • Research the difference and which would be the better option. • Use of tomcat server

  4. Working Environment • Setting up working environment • Database • Is created, but need to connect to and manage • Downloading and installing SQL management server (what customer currently uses) on our computers and the server. • Connecting with database from server • Security is an issue • Finding an old computer to host as our server • Needs to be within the UH system so that its connection with the database doesn't need to be encrypted. • VNC • Establishing a connection to server

  5. Issues • Decide what technology • JSP or JSF? • Is JSF too new? Is JSP just “old” • Ajax • Seems to be several approaches in “architecture” use. • Database • Do we want to use the mock database or do we copy a portion for development?

  6. Ajax Technology • Several technologies coming together in powerful new ways. • standards-based presentation using XHTML and CSS; - dynamic display and interaction using the Document Object Model; • data interchange and manipulation using XML and XSLT; • asynchronous data retrieval using XMLHttpRequest; • JavaScript binding everything together.

  7. Pros Like desktop application than a webpage. Reduce the number of reloads when new data is fetched to the webpage Cons “Back” button of the browser may not give the desired result. Can’t bookmark the page. Browser compatibility issues because of Javascripts. Response time: Network latency Ajax

  8. Google Web Toolkit (JWT) • Open source • Write code in Java. JWT java convert source code to Javascript. • JWT can run in Eclipse • debugging feature of Eclipse can be used. • Checkstyle, Findbugs, Emma, etc.. ? • GUI is easy to create • Browser compatibility, Bookmark, “Back” button issues are solved.

  9. Current Ajax Application • Google Map • Google Suggest • Gmail

  10. Database Issues • Minimize number of database hits. • Solutions: • Try to do some kind of work upfront to decrease the overhead of each call • Hard code what you know in a array • Don’t fetch too much or too little data on each trip • Ajax design: Rather than loading everything initially, load a portion, and then additional data is fetch depending on user interactions. • http://ask.slashdot.org/askslashdot/05/12/05/2339256.shtml?tid=156&tid=4

  11. 1.0 Release • Be able to select a campus from a drop down list. • Be able to dynamically display courses available of the campus selected.

  12. Open ended questions • how will we use eclipse tools and other "tools" (pmd, find bugs etc) with JSP or JSF pages? • Is it still possible to use httpunit or something similar for test driven developement?

More Related