swazoo - aida
DESCRIPTION
SWAZoo - AIDA: A Smalltalk Web Application Server, by Janko Mivsek. (ESUG 2000, Southampton)TRANSCRIPT
![Page 1: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/1.jpg)
SWAZoo - AIDA
A Smalltalk Web Application Server Janko Mivsek Eranova d.o.o. Ljubljana, Slovenia On the sunny side of the Alps
![Page 2: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/2.jpg)
Contents
AIDA/Web demo architecture examples
SWAZoo goals
Discussion
![Page 3: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/3.jpg)
AIDA/Web
A Web server Framework for dynamic web applications
![Page 4: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/4.jpg)
Where is usefull?
Internet web sites, portals, e-shops, e-commerce,
newspapers, discussion forums, …
Intranet, Extranet Web based business apps B2B CRM, Document systems, Unified messaging ...
![Page 5: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/5.jpg)
Competition
Java IBM WebSphere ...
Microsoft
![Page 6: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/6.jpg)
AIDA/Web demo
![Page 7: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/7.jpg)
Download it and try!
http://www.eranova.si/aida complete source small demo
Open source
![Page 8: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/8.jpg)
Architecture
Original design ideas MVC for the Web WebElements Session management Security Persistent everything Smalltalk Server Pages
![Page 9: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/9.jpg)
Original design ideas
Web of objects … connected by object references
Web ob pages … connected by URLl links
![Page 10: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/10.jpg)
Original design ideas
Every object should be able to represent itself as a web page
Object references should be mapped to URL references and vice-versa (automatically!)
![Page 11: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/11.jpg)
MVC on Web
Complete separation of presentation from domain model
Observer pattern: domain object are not aware of presentation
![Page 12: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/12.jpg)
domain object
MVC on Web
a WebApp
domain object
observee
![Page 13: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/13.jpg)
MVC on Web
Multiple Views of the same object discussions - hierarchical/cronological
Registration of web print methods for different views
![Page 14: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/14.jpg)
MVC on Web
Web forms Input fields connected to domain object
attributes with a pluggable adapter Submit button Action methods
![Page 15: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/15.jpg)
WebElements
Smalltalk objects representing the elements of a web page text, url links, images, tables, input fields, …
Composite objects nesting of web elements reusable web components
![Page 16: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/16.jpg)
Complete path of a WebRequest
![Page 17: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/17.jpg)
Session management
Sessions used to separate users from each other
Web is stateless Session identification cookies parameter in an URL
Sessions are permanent and persistent
![Page 18: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/18.jpg)
Security
Access rights who is allowed to view or update my object? Access rights for each view separate right for update (form submit)
URL links to the prohibited objects are inactive
Authentication
![Page 19: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/19.jpg)
Security
SSL (Secure Socket Layer) SSLSocketAccessor Seamless integration in
AIDA/Web
![Page 20: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/20.jpg)
Persistent Everything
Almost all objects of AIDA/Web are persistent requests, sessions, security, …
Gemstone or Versant ODB used Lightweight TransactionMonitor Caching on a AIDA/Web side 35.000 hits/h
![Page 21: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/21.jpg)
Smalltalk Server Pages
Calls to Smalltalk from HTML static pages Like ASP, JSP, …
<AIDA WebStatistics printCounter>
![Page 22: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/22.jpg)
Examples
![Page 23: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/23.jpg)
SWAZoo
Smalltalk Web Application ZOO :-)) a CampSmalltalk project Merging all Web related work together Commanche, Hydrogen, ByteSmiths toolkit,
AIDA/Web VisualWave, VisualAge SST
![Page 24: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/24.jpg)
Internet related CS projects
Internet Client/Server framework Smalltalk Web Application Server SOAP XML
![Page 25: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/25.jpg)
SWAZoo
HTTP 1.1 server Virtual servers Resource hierarchy URL resolution HTTPRequest parsing
![Page 26: SWAZoo - AIDA](https://reader033.vdocuments.mx/reader033/viewer/2022050815/546de1a9af795967298b5523/html5/thumbnails/26.jpg)
Discussion
Smalltalk in e-commerce world?