13.07.2015 Views

Software Engineering for Internet Applications - Student Community

Software Engineering for Internet Applications - Student Community

Software Engineering for Internet Applications - Student Community

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

interesting, etc. A mentor viewing this page would also beoffered links to content marked "show only to my mentor" bythe author.• /mentoring/request-<strong>for</strong>m -- a page whereby a member cansign up to request a mentor• /mentoring/request-confirm -- a script that processes thepreceding <strong>for</strong>m and adds a row to the mentor_mentee_maptable• /mentoring/sign-up -- a page that shows members who arerequesting mentors with at least the first 200 characters oftheir request underneath• /mentoring/request-detail -- a click-down page showingmore details of a member's request <strong>for</strong> a mentor• /mentoring/sign-up-confirm -- a script that accepts amember's agreement to serve as a mentor, updating a rowin the mentor_mentee_map table• /mentoring/admin/ -- a page showing summary statistics <strong>for</strong>the serviceModifications would likely be required to the following pages:• the page that shows a discussion <strong>for</strong>um question-andanswerexchange would add buttons to "mark this answeras closing the thread" to be displayed only to the user whoasked the question and only when the question has notpreviously been marked as closed• the page that displays a community member's profile wouldbe augmented with in<strong>for</strong>mation as to the number ofmembers mentored and the number of question-closingresponses submittedFor the purposes of this course you need not implement all of thesegrand ideas and indeed some of them don't make sense when acommunity is just getting started because the number of members isso small. If, however, some of these ideas strike you as interestingconsider adding them to your project implementation plan.8.13 Exercise 7: Refinement PlanPrepare a plan <strong>for</strong> how you're going to improve your discussion <strong>for</strong>umsystem, including any changes to data model, page flow, navigationlinks, page layout, annotation (help text), etc. Place this plan on yourteam server at /doc/planning/YYYYMMDD-discussion (if youXHTML-MP ExampleWe're not in the 1970s anymore.Connection closed by <strong>for</strong>eign host.The text in bold (above) is what the programmer types, simulating amicrobrowser request. The exchange looks a lot like what we'd see<strong>for</strong> a regular HTML browser. The main differences are the inclusionof the XML declaration and document type definition in the first twolines of the document, and the use of the namespace attribute,xmlns, in the opening html tag.A server wishing to distinguish between desktop and mobile userscould search the contents of the HTTP Accept header <strong>for</strong> the stringapplication/xhtml+xml;profile="http://www.wap<strong>for</strong>um.org/xhtml", which issupposedly required by the XHTML Mobile Profile specification(http://www1.wap<strong>for</strong>um.org/tech/documents/WAP-277-XHTMLMP-20011029-a.pdf). By contrast, a desktop browser, if it lists xhtmlamong the <strong>for</strong>mats that it accepts, will generally not refer to themobile profile. Here's what Microsoft <strong>Internet</strong> Explorer 6.0 supplies asan Accept header:image/gif, image/x-xbitmap, image/jpeg,image/pjpeg, application/vnd.ms-excel,application/vnd.ms-powerpoint, application/msword,application/x-shockwave-flash, */*Mozilla 1.4a (the open-source Netscape Navigator) does promise toaccept xhtml:172177

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!