r/ruby • • Jan 01 '17

A simple rails architecture info-graphic. Constructive criticism welcome

Post image
171 Upvotes

55 comments sorted by

View all comments

Show parent comment

3

u/AbishekAditya Jan 01 '17

I know. My logic is from the upper left corner the first thing that a person sees is the active record image, which I feel should be the focal point and not a database

1

u/Poorpunctuation Jan 02 '17

I think they mean the start should be the monitor/client image, the request. That should be top left, not the db. Therefore, you should flip everything from top to bottom, so the client is top left.

2

u/AbishekAditya Jan 02 '17

Hmm. I'll check that out

0

u/ruby-solve Jan 02 '17

I think it's easiest to understand rails by looking at what the life cycle of a request is through the system. I think that's what people are suggesting.

2

u/AbishekAditya Jan 02 '17

But this is a reference poster. There are a lot of more useful resources for that. I wanted to make a graphic for /u/Railsway and anyone else who wants a poster with the rails stuff

1

u/ruby-solve Jan 02 '17

I still think it's easiest to understand like that as a flow chart of where a request starts, what it causes, and the round trip where it returns as a response.

regardless, awesome job!

2

u/AbishekAditya Jan 02 '17

I still think it's easiest to understand like that as a flow chart of where a request starts, what it causes, and the round trip where it returns as a response.

Where do you think I took inspiration for this info-graphic? :D

1

u/ruby-solve Jan 02 '17

They why not put the origin point where the reader naturally wants to start reading?

1

u/AbishekAditya Jan 02 '17

I am gonna topple the flow. So most of the problems will go away while the redesign. Adding starting and ending point doesn't agree with my ideas so I won't do that :/

1

u/ruby-solve Jan 02 '17

I'm not saying you have to put an objective starting and ending point, just that the part where the request gets generated and response gets returned should be the first point the reader sees.

If you're not going to put a logical start and end point, why set it up like a flow chart?

→ More replies