Re: [Web-SIG] Announcing bobo

2009-06-18 Thread Martijn Faassen
Hey, On Thu, Jun 18, 2009 at 3:55 AM, Sergey Schetinin wrote: [snip] >>  In particular you should be able to assign a >>  component to any URL in the same sense that you >>  can give an object any name.  You should also >>  be able to build relocatable URL trees which can >>  be "mounted" anywhere

Re: [Web-SIG] Announcing bobo

2009-06-18 Thread Jim Fulton
(Note that this discussion is getting rather dense. I suggest reading my reply all the way through befor responding to individual points. :) On Jun 17, 2009, at 6:42 PM, Sergey Schetinin wrote: On 2009-06-17, Jim Fulton wrote: On Jun 16, 2009, at 11:02 AM, Sergey Schetinin wrote: ... indee

Re: [Web-SIG] Announcing bobo

2009-06-18 Thread Etienne Robillard
Hi, It is suggested that most web frameworks authors aims at a very (wide?) audience and bet that most peoples are bozos, clowns, or idiots. I think this rationale might work in some cases, because users of thoses frameworks indeed might not have all those hard-core technical knowledges about, sa

Re: [Web-SIG] Announcing bobo

2009-06-18 Thread Sergey Schetinin
On 2009-06-18, Jim Fulton wrote: > (Note that this discussion is getting rather dense. I suggest reading my > reply all the way through befor responding to individual points. :) > > > On Jun 17, 2009, at 6:42 PM, Sergey Schetinin wrote: > > > > On 2009-06-17, Jim Fulton wrote: > > > > > On Jun 1

Re: [Web-SIG] Announcing bobo

2009-06-18 Thread P.J. Eby
At 02:46 AM 6/19/2009 +0300, Sergey Schetinin wrote: but wouldn't it be nice if we could finally just do things like from somebody_else.forum import ForumApp urlmap['/forum'] = ForumApp(db_config=...) The Folder example in the bobo docs does basically that, actually. I think perhaps you've mi

Re: [Web-SIG] Announcing bobo

2009-06-18 Thread Sergey Schetinin
On 2009-06-19, P.J. Eby wrote: > At 02:46 AM 6/19/2009 +0300, Sergey Schetinin wrote: > > > but wouldn't it be nice if we could finally just do > > things like > > > > from somebody_else.forum import ForumApp > > urlmap['/forum'] = ForumApp(db_config=...) > > > > The Folder example in the bobo do

Re: [Web-SIG] Announcing bobo

2009-06-18 Thread Sergey Schetinin
On 2009-06-19, P.J. Eby wrote: > So you could implement your urlmap above more or less like this: > > @bobo.scan_class > class UrlMap(dict): > > @bobo.subroute('/:name') > def subitem(self, name): > try: > return self[name] > except KeyError: > ..