Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8505593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:21:55+00:00 2026-06-11T02:21:55+00:00

I am interesting in some manual/tutorial which I could not find. What is a

  • 0

I am interesting in some manual/tutorial which I could not find.

What is a lifecycle of Ruby Web application? Ruby is a scripting language. Same as PHP. But as I heard, Ruby is precompiled before running. So the questions are:

  • when precompilation is done?
  • how precompilation is working for different files and classes?
  • what is a lifetime of precompiled code?
  • how route is passed to ruby application from apache/nginx (example could be made based on sinatra)?
  • maybe there is a tutorial on how to make own simple web framework, or web page without any web frameworks, but with pure ruby.
  • where is session object located?
  • etc.

Every manual contains only information on how to use some framework, but how it is working internally, nothing is describing this.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T02:21:56+00:00Added an answer on June 11, 2026 at 2:21 am

    Ruby is “interpreted” just as PHP is, but this is also a form of compilation. What you might be confusing is that Ruby on Rails and Sinatra, as with most Ruby-based frameworks, are hosted as persistent processes. PHP tends to be interpreted for each request, though accelerators and web server modules do reduce the overhead of this process significantly.

    I wouldn’t suggest trying to make your own framework as this is a non-trivial task and even as an academic exercise would be of limited value. It’s best to study something like Sinatra to see how that’s implemented in order to learn more than to start from scratch.

    Rails is quite well documented. If you have a specific question about a component of the framework that can’t be answered by simply reading the source code, which is usually fairly well organized, you can post that here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently involved in some interesting programming language research which has, up until
Someone know some interesting and complete tutorial about how to create a Parent-Child dimension
I have found some interesting behavior and do not know why or how to
I find bloomberg providing information about some interesting quotes for example: http://www.bloomberg.com/quote/JPMVXYG7:IND/chart/ The question
I'm interesting in some design choices of C# language. There is a rule in
A web site I've been using has some interesting behavior... There is a form,
ruby has some edge cases which is hard to explain because parsing brings some
Clojure has some interesting features for representing types including but not limited to deftype
A friend of mine discovered some interesting behaviour in some Javascript code, which I
Sorry if this has been discussed somewhere else on stackoverflow (I could not find

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.