Live data from Hacker News

Rails is not your application

blog.firsthand.ca

31–32 of 32 posts

Re: Rails is not your application

#31
post #8
post #3

Sounds like you shouldn't be using Rails if this is your philosophy. I'm of the school of thought that if you're going to use a framework when building an app, then you should lean on it for just about any task that it will let you. Especially if you're using a well-maintained and widely used framework like Rails. There are multiple benefits to this approach. For one thing, it makes it easier to onboard new team memb…

> Sounds like you shouldn't be using Rails if this is your philosophy. > You'd be better off just using Sinatra and including > ActiveRecord, and whatever other Rails libraries you want > to use. What seriously? Something doesn't fit inside Rails' neat cutouts so obviously the solution is to get rid of Rails? This smacks of "if you don't like Rails, go somewhere else." Just because you're using a framework doesn't me…

If you have customer and credit card model, I'd implement the checkout process inside Order and OrderItem model classes. It would probably use an AASM state machine to represent the progress through the purchase etc.

Re: Rails is not your application

#32
post #26
post #25

Earlier quoted context omitted.

I would only reach for service-oriented architecture after the application is very mature and it is apparent which parts will benefit by moving to their own services.

or the moment you have more than one application running. (which for many products is day #1)

I'd like to hear more on how you setup your service architecture afex (if time permits). Sounds like exactly what I'm trying to accomplish. Thanks in advance!
Post reply on HN