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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

isn't worth the programming and system administration ef<strong>for</strong>t. Theuser database should have a facility <strong>for</strong> recording the reliability of auser's name and email address since the name is likely to becomemore reliably known over time and the email address less likely.To contribute to an accountable and identified environment the userdatabase should be able to store a personal URL <strong>for</strong> each user. Ifthis is a Yahoo! Geocities page it won't contribute too much toaccountability and identification. On the other hand if the URL startswith "http://research.hp.com/personal/" it will give other users someconfidence. Since one of the sad features of the Web as architectedin 1990 is that URLs rot, a user database needs an extra field to keeptrack of what has happened when a robot tries to visit the recordedURL. If a URL has not been reachable on several separate occasionsover a one-week period, it is probably safe <strong>for</strong> a computer program toassume that the URL is out of date and stop displaying it publicly.The user database should record privacy and contact preferences. IsJane User willing to let you show her email address to the public? Toother registered users? Is Joe User willing to let you spam him withnews of the site?4.3 Content DatabaseThe content of an online learning community always includesquestions and answers in a discussion <strong>for</strong>um. A programmer mightstart by building a table <strong>for</strong> discussion <strong>for</strong>um postings. Among the sixrequired elements of online community magnet content is listed first.Most online learning communities offer published articles that aredistinguished from user-contributed questions. A programmer wouldthere<strong>for</strong>e create a separate table to hold articles. Any well-crafted sitethat publishes articles provides a facility <strong>for</strong> users to contributecomments on those articles. This will be another separate table.Is a pattern emerging here? We distinguish a question in thediscussion <strong>for</strong>um table because it is an item of content that is not aresponse to any other discussion <strong>for</strong>um posting. We distinguisharticles from comments because an article is an item of content thatis not a response to any other content item. Perhaps therepresentation of articles, comments on articles, questions, answers,etc. should be unified to the maximum extent possible. Each is acontent item. Each has one or more authors. Each may optionally bea response to another content item.62193.2.79.250 - - [06/Mar/2003:09:12:00 -0500] "GET/dogs/philip-and-george-sm.jpg HTTP/1.1" 200 9574"http://philip.greenspun.com/dogs/george" "Mozilla/4.0(compatible; MSIE 5.0; Windows NT; DigExt)"152.31.2.221 - - [06/Mar/2003:09:12:00 -0500] "GET/comments/attachment/44949/FriendsProjectCar.jpgHTTP/1.1" 200 36340"http://philip.greenspun.com/materialism/cars/nsx.html""Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"193.2.79.250 - - [06/Mar/2003:09:12:00 -0500] "GET/comments/attachment/35069/muffin.jpg HTTP/1.1" 200 15017"http://philip.greenspun.com/dogs/george" "Mozilla/4.0(compatible; MSIE 5.0; Windows NT; DigExt)"152.31.2.221 - - [06/Mar/2003:09:12:01 -0500] "GET/comments/attachment/77819/z06.jpg HTTP/1.1" 200 46996"http://philip.greenspun.com/materialism/cars/nsx.html""Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"151.199.192.112 - - [06/Mar/2003:09:12:01 -0500] "GET/comments/attachment/137758/GT%20NSX%202.jpg HTTP/1.1"200 12656"http://philip.greenspun.com/materialism/cars/nsx""Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC)"152.31.2.221 - - [06/Mar/2003:09:12:02 -0500] "GET/comments/attachment/171519/photo_002.jpg HTTP/1.1" 20045618"http://philip.greenspun.com/materialism/cars/nsx.html""Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"151.199.192.112 - - [06/Mar/2003:09:12:27 -0500] "GET/comments/attachment/143336/Veil%20Side%20Skyline%20GTR2.jpg HTTP/1.1" 200 40372"http://philip.greenspun.com/materialism/cars/nsx""Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC)"147.102.16.28 - - [06/Mar/2003:09:12:29 -0500] "GET/photo/pcd1253/canal-street-43.1.jpg HTTP/1.1" 302 336"http://philip.greenspun.com/wtr/applicationservers.html""Mozilla/4.0 (compatible; MSIE 5.01;Windows NT)"147.102.16.28 - - [06/Mar/2003:09:12:29 -0500] "GET/photo/pcd2388/john-harvard-statue-7.1.jpg HTTP/1.1" 302342 "http://philip.greenspun.com/wtr/applicationservers.html""Mozilla/4.0 (compatible; MSIE 5.01;Windows NT)"147.102.16.28 - - [06/Mar/2003:09:12:31 -0500] "GET/wtr/application-servers.html HTTP/1.1" 200 0"http://www.google.com/search?q=application+servers&ie=ISO-8859-7&hl=el&lr=" "Mozilla/4.0 (compatible; MSIE 5.01;Windows NT)"The first line can be decoded as follows:A user on a computer at the IP address 193.2.79.250, who is nottelling us his login name on that computer nor supplying an HTTPauthentication login name to the Web server (- -), on March 6, 2003287

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

Saved successfully!

Ooh no, something went wrong!