Presentation is loading. Please wait.

Presentation is loading. Please wait.

1212 / Department of Computer Science Adaptive Hypermedia 2ID20 Prof. dr. Paul De Bra.

Similar presentations


Presentation on theme: "1212 / Department of Computer Science Adaptive Hypermedia 2ID20 Prof. dr. Paul De Bra."— Presentation transcript:

1 1212 / Department of Computer Science Adaptive Hypermedia 2ID20 Prof. dr. Paul De Bra

2 1212 / Department of Computer Science AHA! Adaptive Hypermedia Architecture Main characteristics: –adaptive web server extension –conditional inclusion of fragments –adaptive link hiding or annotation –adaptation in local or remote pages –pages in html or xml format –flexible user model (arbitrary concepts and attributes) –event-condition-action rules –graphical authoring tool for concept relationships –forms and multiple-choice tests

3 1212 / Department of Computer Science AHA! Engine Architecture local files user model combined DM/AM external servers adaptation engine webserverend-user

4 1212 / Department of Computer Science

5 1212 / Conditional Inclusion of Objects When AHA! retrieves a page it creates a parse stream for it. AHA! includes objects when an tag is encountered in parse stream: 1.a resource to include is selected 2.the concept associated with that resource is determined 3.that concept’s adaptation rules are executed 4.the resource is inserted into the parse stream The included data may contain tags itself –As a result objects may include other objects –There is a danger of infinite recursive object inclusion

6 1212 / Department of Computer Science Fragments and Objects in (X)HTML Embedded fragments here something for knowledgeable users here something for beginners –fragment is chosen depending on the “knowledge” attribute of concept “tutorial.intro” Included objects –object is chosen by evaluating a casegroup for “tutorial.concept1” in the domain / adaptation model – tag is used in SMIL, in (X)HTML

7 1212 / Department of Computer Science Object Inclusion in DM/AM Here is an example of part of a DM/AM for object inclusion: tutorial.object1 … file:/tutorial/xml/empty.xhtml 1 file:/tutorial/xml/frag1.xhtml 2 file:/tutorial/xml/frag2.xhtml

8 1212 / Department of Computer Science Adaptive Link Hiding and Annotation AHA! recognizes two classes of links: “conditional” and “unconditional”: link anchor The engine translates links to good, neutral or bad: link anchor AHA! inserts a stylesheet in the (x)html page to define the link colors: … a.Good:link { text-decoration: none; color: #0000FF } a.Good:visited { text-decoration: none; color: #0000FF } a.Neutral:link { text-decoration: none; color: #7C007C } a.Neutral:visited { text-decoration: none; color: #7C007C } …

9 1212 / Department of Computer Science XHTML+AHA Page Format This format is inherited from AHA! 2.0. It has embedded conditional fragments: … here some intro text …

10 1212 / Department of Computer Science AHA! and Standard XHTML AHA! 3.0 adds support for standard XHTML, with conditional object inclusion. Example of AHA! with XHTML … link anchor …

11 1212 / Department of Computer Science AHA! and XHTML+SMIL AHA! 3.0 adds support for XHTML+SMIL too. This is based on a Microsoft Internet Explorer extension. … …

12 1212 / Department of Computer Science AHA! and SMIL 2.0 AHA! 3.0 can perform adaptation to SMIL documents, by using the tag: … …

13 1212 / Department of Computer Science Setting up an adaptive site with AHA! To start using AHA! you should perform the following steps: 1.Download the Tomcat webserver (preferably using jwsdp 1.3 from www.javasoft.com) and start it at http://localhost:8080/admin/ 2.Install AHA! 3.0. We assume you use directory c:/aha on a Windows machine (but any directory on Windows or Linux should work) 3.Start Tomcat (with disconnected network!) and create a new context for AHA! 4.Perform the automatic configuration at http://localhost:8080/aha/Config 5.Restart the server and go to the configuration page again to create authors and applications

14 1212 / Department of Computer Science Creating an AHA! Context

15 1212 / Department of Computer Science Creating an AHA! Context (cont.)

16 1212 / Department of Computer Science Creating an AHA! Context (cont.)

17 1212 / Department of Computer Science Creating an AHA! Context (cont.)

18 1212 / Department of Computer Science AHA! Automatic Configuration The first time you go to http://localhost:8080/aha/Config the following message appears: The automatic configuration is then completed and you have to restart the Tomcat server. You can then login using “aha” and an empty password.

19 1212 / Department of Computer Science Configuring AHA! The configuration tool lets you create and edit manager properties, authors and applications. Note the conversion options between the XML authoring formats and the AHA! engine’s internal format.

20 1212 / Department of Computer Science AHA! Directory Structure Structure in the AHA! directory tree: –AHAstandard: contains all publicly needed DTDs –WEB-INF: AHA! configuration files and classes subdirectory tree (for servlets) –lib: class subdirectory tree for authoring applets –xmlroot: XML database storage for DM/AM and UM –author/authorfiles: all files used and created by the authoring tools: concept templates (types of concepts with their attributes) concept relationship types (with their adaptation rules) list of authors and for each author a directory with the author’s applications –for each AHA! application a subdirectory tree

21 1212 / Department of Computer Science The Concept Editor Lets you edit every aspect of DM/AM for an application: –add/remove/edit a concept –add/remove/edit attributes of a concept –add/remove/edit the suitability requirement of a concept –add/remove/edit a casegroup for the conditional inclusion of objects –add/remove/edit adaptation rules: each rule is tied to a triggering attribute each rule has a condition each rule has a series of actions executed when the condition is true each rule has a (possibly empty) series of actions executed when the condition is false

22 1212 / Department of Computer Science

23 1212 /

24 1212 /

25 1212 /

26 1212 /

27 1212 / The Graph Author Tool The Concept Editor shows many aspects of the AHAM reference model: –arbitrarily many concepts –each concept may have different attributes –event-condition-action rules used to provide “specific adaptation rules” –resources tied to concepts for page selectors –casegroup used for page constructors The Concept Editor is also missing AHAM structures: –there are no concept relationships –there are no “generic adaptation rules” The Graph Author Tool alleviates these shortcomings

28 1212 / Department of Computer Science

29 1212 / Managing an AHA! Application The Graph Author offers 4 buttons for managing whole applications: Create a new application. When you save the application it will be added to the list of applications you author. Open an application. You get a choice between the application of which you are the author. Save an application. This saves all the information the Graph author needs to recreate its presentation and also compiles the structures to the DM/AM format. Save to AHA!. This saves like the above button but also converts the DM/AM model to the internal format of AHA!.

30 1212 / Department of Computer Science Adding and Editing a Concept This button opens a dialog box to select a concept type and enter the corresponding properties:

31 1212 / Department of Computer Science Customizing the Graph View The graph with concept relationships can become cluttered with arrows. This button opens a dialog box that lets you select relationship types to show or hide. The graph with concept relationships can become very large. Scrolling becomes necessary but the overview is lost. With these buttons you can zoom in and out.

32 1212 / Department of Computer Science Defining Object Inclusion

33 1212 / Department of Computer Science Concept Relationship Types In the Graph Author concept relationship types are tied to generic adaptation rules. –Each rule may have a parameter to replace a default. –Only binary relationship types are possible. –When a specific adaptation rule is needed a generic rule (template) must be created and instantiated. –There is currently no authoring interface to create: concept templates concept relationship templates –There is no termination problem detection in the Graph Author Tool (but planned) and there is a confluence problem because authors have no control over the execution order of rules.

34 1212 / Department of Computer Science Concept Templates page concept access triggered by page access false bool false true false … knowledge_update 35

35 1212 / Department of Computer Science Concept Relationship Types Concept relationship types are defined by two files: one defines how the Graph Author presents it (color, arrow style) and whether it must be acyclic. The other one defines how it is translated to AHA! adaptation rules: prerequisite source.knowledge > var:50

36 1212 / Department of Computer Science Concept Relationship Types Here is the knowledge propagation relationship, used to propagate knowledge through the concept hierarchy: knowledge_propagation true parent knowledge parent.knowledge+(var:DIVIDE*_child.knowledge)

37 1212 / Department of Computer Science Standard AHA! Forms and Reports AHA! offers two standard forms and two standard reports: –The end-user can choose link colors through the “color configuration” form. By choosing colors a choice is made between link hiding (default) or link annotation. –The end-user can change the knowledge value for concepts where the knowledge attribute is marked as “changeable”. –AHA! can produce a list of pages the user has read (from this application). This is based on the visited attribute value. –AHA! can also produce a list of pages the user has not yet read. This is also based on the visited attribute. –AHA! can also present some other information like the user’s name, id and email address.

38 1212 / Department of Computer Science Custom Forms: the Form Editor

39 1212 / Department of Computer Science Multiple-Choice Tests AHA! can present multiple-choice tests: –Each test may consist of multiple questions. –Each question may have one or more correct answers. –The test may contain more questions than are asked. The choice is random. –A question may have more answers than are shown. The choice is random. –Explanations of answers may be given if the author has decided so. –A score is given and stored in the user model for the knowledge attribute of the concept associated with the test. –There is currently no authoring tool for creating multiple- choice tests.

40 1212 / Department of Computer Science Assignment This course consists of viewgraphs with notes and videos. You should use this (or other multimedia material) to produce an adaptive hypermedia application: –It must use AHA! version 3.0 (prerelease). –It must use XHTML+SMIL or SMIL 2.0. –It must be done in groups of two users. –It must be accompanied by a document motivating and explaining the design and implementation. You can get inspiration from the course part that describes other adaptive hypermedia systems and applications.


Download ppt "1212 / Department of Computer Science Adaptive Hypermedia 2ID20 Prof. dr. Paul De Bra."

Similar presentations


Ads by Google