I like it personally, looking at the f# implementation so far I think the end result is something much easier to understand, and certainly more concise than routing implementations I've seen written in C#, where they are sans pattern matching etc.
On Wed, Apr 13, 2011 at 4:12 PM, John Simons <[email protected]>wrote: > Hamilton, > > Apart from the speed optimisations, why write your own routing? > Couldn't u have used the ASP.NET one? > > Cheers > John > > > ------------------------------ > *From:* hammett <[email protected]> > *To:* [email protected] > *Sent:* Wednesday, 13 April 2011 2:06 PM > *Subject:* Re: New Routing > > After the optimizations it takes less than half the time of asp.net's > counterpart. Promising! > > > On Tue, Apr 12, 2011 at 12:01 PM, hammett <[email protected]> wrote: > > I've pushed to https://github.com/castleproject/Castle.MonoRail3 a new > > routing lib, in very early stages. It's totally inspired on merb, so > > the syntax is something like > > > > /something -> literal match > > /:name -> named parameter > > (/something) -> ( ) denote optional > > > > the default route is /:controller(/:action(/:id))(.:format) which is > > quite self-explanatory > > > > Please please please code review my implementation. I'm sure it can be > > improved in zillions of ways. I'm going to do some perf comparissons > > today. Btw, do we have a license for dotTrace? > > > > -- > > Cheers, > > hammett > > http://hammett.castleproject.org/ > > > > > > -- > Cheers, > hammett > http://hammett.castleproject.org/ > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to castle-project-devel+ > [email protected]. > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Castle Project Development List" group. > To post to this group, send email to [email protected] > . > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/castle-project-devel?hl=en. > -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
