Why? I'm using mojolicious and thinking to use it's OOP style also, when I end up at the last part of the URL - the query that I'll be using will be already done based on controller classes that the URL goes through...- if that makes any sense
Andrei On Sunday, January 19, 2014 10:57:55 PM UTC+2, Michael Soulier wrote: > > Not really a mojolicious question. > > Mike > > On Jan 19, 2014, at 3:11 PM, LesPaul7String > <[email protected]<javascript:>> > wrote: > > > Hey guys, > > I'm developing a RESTful web service that will query multiple DBs and > return an XML response > > > > I'm looking to have RESTful routes like this: > > /cities/:id/neighborhoods/:id/:streets_id/house?number=12 > > > > In this case Cities.pm controller, but each city will have it's own DB > with different settings and table names, also each 'neighborhood' will have > different settings and will query different tables > > Can somebody guide me to a good architecture to achive this? > > > > Thanks > > > > -- > > You received this message because you are subscribed to the Google > Groups "Mojolicious" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > To post to this group, send email to > > [email protected]<javascript:>. > > > Visit this group at http://groups.google.com/group/mojolicious. > > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/groups/opt_out.
