Generic-user-small Robert Dziko... 2 posts

Dear Mr. Thomas

I like “Agile Web Development with Rails.” 2nd Edition, but it lacks explanations in some areas, especially how html templates work. For example, it isn’t explained what is the flow of control (how the web page is rendered) when a user with disabled JavaScript uses depot application. I know that I should be able to figure it out myself, but I’m not going to spend money on a book and then to be forced to figure out some things by myself.
So I would like to see in the 3rd edition detailed explanation of how rendering of web pages works in RoR.

Keep up the good work,
Robert

 
Dave_8_trans_small Dave Thomas Administrator 72 posts

To be honest, I’m not sure I understand the question. The page rendering works as described in the introductory chapter on erb, and is independent of whether the client has Javascript enabled.

Dave

 
Generic-user-small Robert Dziko... 2 posts

You are right, I didn’t formulate my question precisely.

My question is, where do all web page elements come from (like html tags etc.) when we use rhtml templates? In my opinion RoR templating system isn’t fully explained, I have difficulties to figure out where a web page element (like html tag) came from. When you use a RoR function in a template, could you give an example what this function will print in a web page send to a browser, please.

BTW I figured out flow of control when JavaScript is disabled.

Robert

3 posts, 2 voices