From: "F. Senault" Date: 2008-03-26T02:04:58+09:00 Subject: Re: Ruby? Le 24 mars � 22:27, Gib Let a �crit : > But what type of things would you use Ruby for within a website? And > would you use HTML for example, to create the structure, or is it all > done in Ruby? Well, you can do everything in Ruby that can be done with a programming language, including writing a webserver from scratch... Now, the common usage is : - templating (ala PHP / ASP - what you suggest above, a mix and match of Ruby code and HTML code), - database connections (to use with the templates), - user authentication modules, - interfacing with mail servers, - miscellaneous content generation (e.g. generating images or PDF on the fly). A web framework like Rails offers to do all of the above ; some are lighter, and some applications can be designed to work with other systems (like user authentication modules that could be called directly from any kind of web application). Fred -- People like us Know how to survive There's no point in living If you can't feel the life We know when to kiss And we know when to kill If we can't have it all Then nobody will (Garbage, The World Is Not Enough)