From: Edward G. <edw...@ra...> - 2009-08-03 15:35:53
|
I agree with Praveen, in the spirit of "Make simple things easy, and more sophisticated things possible". The current implementation is not restrictive in the sense that more involved dispatching strategies cannot be achieved, so it should be left alone: "Less is more". Edward On Mon, 2009-08-03 at 09:59 -0400, Praveen Ray wrote: > I dispatch to my own module and then do all sort of custom dispatching > from there. I would say the Yaws core should stay from adding a > complicated routing module. Rails/Merb routers are examples. They seem > super fancy - the implementation is quite involved and yet 90% of the > people use it only for simple routing, bypassing all the power and > complexity. > > > 2009/8/3 Claes Wikström <kl...@ta...> > > Garrett Smith wrote: > > If appmods supported regexes, for example, I'm talking about > this: > > > > appmod = <"^/$", root_page_handler> > > > > Is there a way to handle this without writing a custom > rewrite mod? > > > > > > No, there is not - we've been talking some time now > about extending the appmod selection algorithm. It's a > bit to naive now. I guess regexs would work fine as well > although it'll be slow. > > /klacke > > > > *********************************************************************** > > This e-mail and its attachments are confidential, legally privileged, may be subject to copyright and sent solely for the attention of the addressee(s). > Any unauthorized use or disclosure is prohibited. Statements and opinions expressed in this e-mail may not represent those of Radialpoint. > > Le contenu de ce courriel est confidentiel, privilégié et peut être soumis à des droits d'auteur. Il est envoyé à l'intention exclusive de son ou de ses > destinataires. Il est interdit de l'utiliser ou de le divulguer sans autorisation. Les opinions exprimées dans le présent courriel peuvent diverger de celles de Radialpoint. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ Erlyaws-list mailing list Erl...@li... https://lists.sourceforge.net/lists/listinfo/erlyaws-list *********************************************************************** This e-mail and its attachments are confidential, legally privileged, may be subject to copyright and sent solely for the attention of the addressee(s). Any unauthorized use or disclosure is prohibited. Statements and opinions expressed in this e-mail may not represent those of Radialpoint. Le contenu de ce courriel est confidentiel, privilt peut e soumis es droits d'auteur. Il est envoy l'intention exclusive de son ou de ses destinataires. Il est interdit de l'utiliser ou de le divulguer sans autorisation. Les opinions exprim dans le prnt courriel peuvent diverger de celles de Radialpoint. |