Interesting stuff. Thanks!
> On Fri, Nov 6, 2009 at 11:38 AM, Paul Spaulding <
pjs67...@gmail.com> wrote:
>
> > Dean, I would like to know more about this. Are you saying that you
> > use slashes in the Class definition files?
>
> > Class({
> > id: 'foo/bar'
> > ,...
> > })
>
> Precisely. This makes instances accessible at /foo/bar/<instance_id>
>
> It's proven to be a nice pattern. At first Kris suggested (and convinced me)
> that it was better to delimit packages with dots (something not possible in
> persvr currently), but then decided that having both -- slashes for network,
> dots for console, presumably made more sense. He fixed a few bugs associated
> with slashes in ids (there were just a few little things) so that's why I
> said "sorta supported" -- I don't think it's officially blessed but it's at
> least on the radar.
>
>
>
> > Does using slashes provide some benefit in Persevere over using
> > another separator such as an underscore as in id: 'foo_bar'?
>
> Not in particular. It just happens to be a very common paradigm, and aligns
> nicely with HTTP semantics. /foo/bar/baz/1 is a whole lot more logical than
> /foo_bar_baz/1 -- and it allows you to use relative path semantics. So
> /foo/bar/baz/1/../.. *should *equal /foo/bar (which, per my proposal, would
> be an alias to /Class/foo/bar -- pretty helpful). Also,
> /foo/bar/baz/1/../../ would give you /foo/bar/, already an alias to
> /Class/foo/bar.instances -- see the logic? Use another /.. and you're up to
> /foo. This obviously wouldn't work with underscores -- you'd have to fall