On 22 January 2013 12:22, Paul Robinson <[email protected]> wrote: > On 22 Jan 2013, at 11:24, doug livesey <[email protected]> wrote: >> I don't think that 'un-rails-like' is necessarily a bad thing, to be honest. > > It depends on your "religion". If you think that the power of rapid Rails > development is embodied by the mantra "convention over configuration", then > you are losing a lot of that power when you stop following the conventions. > > If you spend a lot of time configuring things to get a Rails app working, you > have to realise you're using Rails incorrectly.
IMO this is valid for setting up a rails app, not so much for writing an app in it. Sure, RESTy MVC is going to work well with some of your app, but most apps beyond trivial ones are going to stray from the paradigm in some way. I think the key is to work out where to do so. SOA'ing everything is probably as wrong as keeping everything on the Rails track (ha!). >> Your pain points there sound rather like getting past the point of Rails >> conventions and needing a new paradigm, which you've recognised. > > Maybe. I'm not sure that we need a new paradigm. An MVC framework written in > Ruby with a persistent SQL storage back-end with Models taking on some sort > of ORM responsibility is what Rails is brilliant at, and that's what I think > we need here. That's what I use in the app I'm writing right now, except for the bit (a controller) that communicates over a TCP socket to a job server to run synchronous tasks on other machines. That's not Railsy at all, but most of the app is. > It's possible we could look at other options - I scratch my chin thinking > about node.js a lot at the moment as we're heavily event-driven as an > architecture - but I am not convinced we need to involve new paradigms here > out of necessity. If you're already using Ruby (and you *really* need an evented server, most people don't) you should consider EventMachine, unless you really need JS there's no reason I can see to choose Node. You can always integrate an evented system into your existing setup, no need to rip everything out and start again. Will. -- Will Jessop System Administrator 37signals -- You received this message because you are subscribed to the Google Groups "NWRUG" 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/nwrug-members?hl=en.
