From ducasse@iam.unibe.ch Fri Sep 17 08:40:31 2004 From: =?utf-8?q?st=C3=A9phane?= ducasse To: smallwiki@list.inf.unibe.ch Subject: Re: Smallwiki 2 Date: Fri, 17 Sep 2004 10:40:31 +0200 Message-ID: <3C049882-0885-11D9-B490-000D932DAF46@iam.unibe.ch> In-Reply-To: <09282231-0884-11D9-8D12-000393CFE6C8@iam.unibe.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2717261784267196276==" --===============2717261784267196276== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit On 17 sept. 04, at 10:31, Lukas Renggli wrote: > Hi Alex and others, > >> I loaded it and runned it. It looks good! >> There is also some sunit test. > > thanks. I tried to improve the model a lot. Especially the problem > with the folders/pages is solved now, I think. It is in SCG StORE, > marked as broken: > > * I simplified the structure-hierarchy only to contain Page and > Resource; no concept of Folder anymore. But there are decorators that > can be wrapped around, e.g. to add children to a page. Currently I'm > thinking about putting a lot of functionality into those decorators, > this makes the structure hierarchy much more slim and easier to > understand I think. > > What I did so far is the ChildrenDecoration that works pretty well. I > started now with the VersionDecoration that should represent the > previous version; I'm still unsure about the details of this > decoration, it is pretty tricky. Other decorators like security, > logging, virtual folders, etc. will be added later on. I think such a > design is much better as it separates the different concerns in a > cleaner way. I'm very interested what everybody thinks about this > (radical) change in the design? this is interesting. I see the influence of seaside there :). If this cleaned up the design and make simpelr perfect As an example I would like to know if we could have this way: - external resource (files contained explicitly out of the image) - redirection > * I implemented a more robust way of looking up pages trough a path. > The new lookup has been taken out of the Structure hierarchy and is > put into a visitor. It supports (unix-)paths starting at current > position 'abc/def', paths starting at the root of the wiki '/abc/def', > relative paths '../abc' and all combinations of those. There are a lot > of tests. I think this will make everything much more easy to use, > especially for the end users. Excellent. Because I was always confused. > > * What is more, is that I updated the wiki syntax with better support > for tables: At ESUG I was asked if it is possible to align table-cells > different to the default behaviour given in the css-stylesheets. > SmallWiki 2 now supports an extended table syntax, maybe someone wants > to back-port this to SmallWiki 1? No we should not lose time with SWI. I will already try to make sure that what frederick did is not lost but for the rest we should go for SW2 as soon as possible. > > := + > := + > := "|" # default > | "|{" # left > | "||" # center > | "|}" # right > > Mhh, all these changes made break the whole command-pattern, the > context hierarchy and all the views of course. There will be some work > needed to adapt the changes. > >> I would like to help, what do you want me to do ? How could I help ? >> Lukas, perhaps we could meet each other. I am at the University >> everyday (especially the week end) until (very) late in the evening. >> Just tell me when you have a bit of time. > > Yes, this is a very good idea! I'm willing to spend one day a week to > do pair-programming on SmallWiki. Sometime by the end of the next week > would be fine. Excellent this is the best way to make sure something happen. Stef > > Cheers, > Lukas > > -- > Lukas Renggli > http://renggli.freezope.org > --===============2717261784267196276==--