[[BackLinksMenu]] [[TicketQuery(summary=S2S_WEB_COMMONS_R2, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|)]] = Analysis = == Overview == The goal of this task is to create basic stuff needed for the Sophie2 Server. Server is moving to much more clear usage of MVC pattern. == Task requirements == * Create design for all actions that need to be implemented using HttpRequestHandler interface. This will be our controllers. * We'll need a site map for the server pages. * Whole business logic MUST be removed from JSP files. Maybe we will rewrite them entirely. * Provide helper classes that will allow jsp pages to be written without scriptlets which are extremely hard to maintain. * Provide simple tag library which will allow composition of different jsp in a whole page. For example navigation bar and navigation items, skeleton tag for (header,navigation,content,footer). * Basic Guidelines for testing handlers and jsp. == Task result == Source code, Site Map, Handlers Diagram == Implementation idea == * Create components using jsp:include tag for site skeleton. * Create ELResolver which will support ProLib objects and properties. This will allow to exclude scriptlets entirely, and write jspx pages - valid xml java server pages. * Create a jsp template page from which to copy-paste every new jsp needed for new functionality. * Research how to integrate Selenium or/and other open source non-gpl testing frameworks which will allow us to create functional tests for jsp pages. == Related == [wiki:S2S_WEB_COMMONS_R1][[BR]] [wiki:S2S_WEB_BOOK_MANIPULATION_R1][[BR]] [wiki:S2S_WEB_BOOK_ACCESS_R0][[BR]] [wiki:S2S_WEB_BOOK_MANAGEMENT_R0][[BR]] [wiki:S2S_WEB_COMMENTS_PAGE_R0][[BR]] [wiki:S2S_WEB_RESOURCE_VERSIONING_R0][[BR]] [wiki:S2S_WEB_RESOURCE_SECURITY_R0][[BR]] [wiki:S2S_WEB_USER_RELATED_R1][[BR]] [wiki:S2S_WEB_INOFRMATIVE_R0][[BR]] [wiki:S2S_WEB_HELP_RESOURCES_R0][[BR]] [wiki:S2S_WEB_HOME_R0][[BR]] [wiki:S2S_WEB_SEARCH_R0][[BR]] == How to demo == * Show the new server, walk trough different sections = Design = ==Sections overview== There will be several sections introduced in this revision * Home * About * Server info * Browse resources * Login * Register * Forgotten password * Edit profile They are few common elements via different section of the server * Header - contain Logo(link to home page), search field, account management fields and navigation * Account management fields have 2 states * for logged users - allows them to logout and manage their details, as well as provide them * for non logged users - they should actually be logged as anonymous users, provide them with login, and forgot password functionality * Footer * contains server logo * links to * Sophie 2.0 community site * University of Southern California * The Andrew W. Mellon Foundation * Astea Solutions AD * Open popup with terms and conditions information Here are some drafts of what the new look and feel of s2s could look like: * Home page [[Image(s2s_home_logged.jpg)]] * Login section [[Image(s2s_login.jpg)]] = Implementation = ^(Describe and link the implementation results here (from the wiki or the repository).)^ = Testing = ^(Place the testing results here.)^ = Comments = * Site map as well as wire frames for the server will be part of the design