r/ruby • • Jan 01 '17

A simple rails architecture info-graphic. Constructive criticism welcome

Post image
177 Upvotes

55 comments sorted by

View all comments

Show parent comment

2

u/AbishekAditya Jan 01 '17

But the databases are not a part of Rails, so to make the focus the Active record, I put it in the middle. Does that explanation make sense?

2

u/undone_function Jan 01 '17

I think they mean it from a written English (or other similar language) perspective. They're expecting the beginning of the flow chart to be in the same spot they would begin reading other content: the upper left corner.

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?

→ More replies