Download presentation
Presentation is loading. Please wait.
Published byMay Dalton Modified over 8 years ago
1
Lukas Renggli, April 2003Slide 1 SmallWiki Smalltalk Wiki Design
2
Lukas Renggli, April 2003Slide 2 Design Not a question about … good, bad performance using every design pattern But a question about … better, worse extensibility, simplicity, naturally Simple things should be simple and complex things should be possible. --- Alan Kay
3
Lukas Renggli, April 2003Slide 3 Goals for Today Understanding The basics of the current design Most important design decisions Design flaws Questioning Discussing
4
Lukas Renggli, April 2003Slide 4 Goals for SmallWiki Everything is an Object Extensibility Components Web server Storage Test suites Open source Dialect independent
5
Lukas Renggli, April 2003Slide 5 Client - Server SwazooServer StructureServer Request Response Client Web Browser
6
Lukas Renggli, April 2003Slide 6 Composites Structure: Folder, Page, Resource, … Title, Parent, Version, Properties, … Url, Root, Template, Renderer, … Document: Paragraph, Text, Link, … Representation of the wiki string Template: WikiTitle, ActionList, … Relative position on the page Content of the component
7
Lukas Renggli, April 2003Slide 7 Structure FolderPageResource 1 * predecessor children 1 0..1 childrendata, mime-typedocument title, predecessor, properties, parent parent 1 1
8
Lukas Renggli, April 2003Slide 8 Document Component Horizontal Rule Document Composite 1 * List Text Preformatted Paragraph Mail Internal Link External OrderedList UnorderedList Header … Table Document …
9
Lukas Renggli, April 2003Slide 9 Template Responsibilities Relative position on the page Content of the component Template>>for: anAction Wiki Title Path Actions Refs Page Title Content Search Page Title Content Actions
10
Lukas Renggli, April 2003Slide 10 Summary Structure general information template composite renderer class Page document composite Template Visitor
11
Lukas Renggli, April 2003Slide 11 Visitor Rendering HTML Wiki Syntax Latex Searching References Text :Folder :Resource:Page :Document :Paragraph :Text:Link:Text :Header … :Template
12
Lukas Renggli, April 2003Slide 12 Serving ch1: Folderroot: Folder pa1: Page HTTP-GET /ch1/pa1?action=EditPage 1: process2: process 3: process 4: processAction :EditPage 5: execute 6: render 7.1: template :Visitor 8. render 7.2: renderer :Template 9.1*: accept :Document 9.2*: visit and
13
Lukas Renggli, April 2003Slide 13 Codeing Inspiration comes from the act of writing. --- Steven Dunn
14
Lukas Renggli, April 2003Slide 14 Future Short Term Public Beta More Components Long Term Become the killer Wiki Port to other Dialects Integration with Seaside
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.