+ All Categories
Home > Documents > Fachpraktikum Graphische Benutzungsoberflächen Sommersemester 2008 Mark Giereth, Steffen Koch,...

Fachpraktikum Graphische Benutzungsoberflächen Sommersemester 2008 Mark Giereth, Steffen Koch,...

Date post: 26-Mar-2015
Category:
Upload: ian-gomez
View: 215 times
Download: 3 times
Share this document with a friend
Popular Tags:
6
Fachpraktikum Graphische Benutzungsoberflächen Sommersemester 2008 Mark Giereth, Steffen Koch, Christoph Müller, Guido Reina, Christiane Taras, Harald Bosch Aufgabe 5: RSS/ATOM Proxy
Transcript
Page 1: Fachpraktikum Graphische Benutzungsoberflächen Sommersemester 2008 Mark Giereth, Steffen Koch, Christoph Müller, Guido Reina, Christiane Taras, Harald.

FachpraktikumGraphische BenutzungsoberflächenSommersemester 2008

Mark Giereth, Steffen Koch, Christoph Müller, Guido Reina, Christiane Taras, Harald Bosch

Aufgabe 5: RSS/ATOM Proxy

Page 2: Fachpraktikum Graphische Benutzungsoberflächen Sommersemester 2008 Mark Giereth, Steffen Koch, Christoph Müller, Guido Reina, Christiane Taras, Harald.

Traditional browser-webserver interaction is form-based On submit content of previous (HTML-)page is dropped According to an http-request including aparameters a new (HTML-)page is

recieved and displayed

Web Container

Institut für Visualisierung und Interaktive Systeme – Universität Stuttgart 2

Basic concept of the RSS-Feed-Proxy

Feed Proxy NewsFeeds

Iterative Polling Cycle 1

Browser

Iterative Polling Cycle 2

http - request

http - response

http - request

http - response

Browser

AJAX-Handler

Using asynchronous JavaScript and XML it is possible to update content partially Advantage of such an approach is reduction of bandwidth and increased usability

(may not be true for the visually impaired) by better responsiveness Iterative tasks can be accomplished by polling

Page 3: Fachpraktikum Graphische Benutzungsoberflächen Sommersemester 2008 Mark Giereth, Steffen Koch, Christoph Müller, Guido Reina, Christiane Taras, Harald.

Institut für Visualisierung und Interaktive Systeme – Universität Stuttgart 3

Functionality of the Feed Proxy

Three requests allowed Use AJAX to perform requests (test by browser) and

handle results Encode parameters in requests (get or post)

Web Container

Feed Proxy NewsFeeds

Iterative Polling Cycle 1

http - request

http - responseBrowser

subscribe_feedsunsubscribe_feeds

get_subscribed_feeds

xml-response

Page 4: Fachpraktikum Graphische Benutzungsoberflächen Sommersemester 2008 Mark Giereth, Steffen Koch, Christoph Müller, Guido Reina, Christiane Taras, Harald.

First steps of client development

Download Apache Tomcat 6.xhttp://tomcat.apache.org/download-60.cgi

Install it by unzipping it into arbitrary folder Test Tomcat by starting it and browsing to:

http://localhost:8080

Checkout the feed proxy project Adapt localconfig.properties file within project Run ANT task „deploy“ on project Try to browse to:

http://localhost:8080/FeedServer/feed.server?action=subscribe_feeds&feedUrl=

Place your developments under corresponding subfolders of „web“

Institut für Visualisierung und Interaktive Systeme – Universität Stuttgart 4

Page 5: Fachpraktikum Graphische Benutzungsoberflächen Sommersemester 2008 Mark Giereth, Steffen Koch, Christoph Müller, Guido Reina, Christiane Taras, Harald.

Institut für Visualisierung und Interaktive Systeme – Universität Stuttgart 5

Requirements for the client

Subscription of new feeds Selection of subscribed feed resulting in display of feed

entries Errors have to be presented appropriately Automatic update of all feeds Availability of new articles has to be signaled to the

user Feed sites as well as news have to be accessible by click

(open in new window) CSS has to be used Loading-bar should be displayed when ajax request is

performed

Page 6: Fachpraktikum Graphische Benutzungsoberflächen Sommersemester 2008 Mark Giereth, Steffen Koch, Christoph Müller, Guido Reina, Christiane Taras, Harald.

Fragen?


Recommended