Download presentation
Presentation is loading. Please wait.
1
Open Corpus Adaptation++ in GALE: Friend or Foe? David Smits Paul De Bra Eindhoven University of Technology June 6, 2011 ACM Hypertext 2011 Slide 1
2
GALE Architecture June 6, 2011 ACM Hypertext 2011 Slide 2
3
GAM Language Allows DM/AM descriptions in human readable/writable format In examples we use GALE enhanced Java code XML counterpart is GDOM Example (fictitious).gam file is http://htmlcourse.org/htmlcourse.gam June 6, 2011 ACM Hypertext 2011 Slide 3
4
Example GAM welcome.xhtml { #[visited]:Integer `0` event `#{#visited, ${#visited}+1};` } Full URI: http://htmlcourse.org/welcome.xhtml In welcome.xhtml: Welcome 1'> back to the HTML course. June 6, 2011 ACM Hypertext 2011 Slide 4
5
Example GAM (cont.) html.xhtml { #[visited]:Integer `0` event `#{#visited, ${#visited}+1};` } tables.xhtml { ->(extends) html.xhtml #suitability:Boolean !`${basic.xhtml#visited} > 0` } basic.xhtml {->(extends) html.xhtml} June 6, 2011 ACM Hypertext 2011 Slide 5
6
Example GAM (cont.) In html.xhtml: Tables Basic HTML data types June 6, 2011 ACM Hypertext 2011 Slide 6
7
Example GAM (cont.) In http://gale.win.tue.nl/elearning.xhtml #[read]:Integer `0` #[visited]:Integer `0` { event `if (${#suitability} && ${#read} < 100) #{#read, 100}; else if (!${#suitability} && ${#read} < 35) #{#read, 35};` } #knowledge:Integer !`avg(new Object[] {${<=(parent)#knowledge},${#read}}).intValue()` #suitability:Boolean !`${#s-prereq}` #s-prereq:Boolean !`and(${<=(prerequisite)#known})` #known:Boolean !`${#knowledge} > 70` event `#{#visited, ${#visited}+1};` June 6, 2011 ACM Hypertext 2011 Slide 7
8
Example GAM (cont.) html.xhtml { ->(extends) http://gale.win.tue.nl/elearning.xhtml } tables.xhtml {->(extends) html.xhtml <-(prerequisite) basic.xhtml } basic.xhtml {->(extends) html.xhtml } June 6, 2011 ACM Hypertext 2011 Slide 8
9
Distribution June 6, 2011 ACM Hypertext 2011 Slide 9
10
Security Run the Java code in a secured environment (using proven Java mechanics; protects server) Only allow reading/writing the user’s own user model (any application can read all info) Only allow modifying within the own application June 6, 2011 ACM Hypertext 2011 Slide 10
11
Questions What adaptation to allow/disallow? Are the security precautions enough? Is it desirable to store this information on the web? How do we support group adaptation? What can we do to make authoring easier? http://gale.win.tue.nl Thanks! June 6, 2011 ACM Hypertext 2011 Slide 11
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.