Ruby is a great language to use to create a dynamic website. Here's how to use it to do CGI scripting. Using eRuby ERB templating to seperate the HTML from the script makes CGI a perfect alternative to using the Rails framework. Easy and faster than you would expect. So easy in fact that you may forget about using Rails all together.
Yes, you can run Ruby on Windows and eRuby on Windows IIS web servers. Ruby has many features to process text files and to do system management tasks as languages like Perl or Python do. Ruby is also a great web scripting language. Follow this tutorial and you can use Ruby on your Windows IIS web server by setting up eRuby to process *.rhtml pages.
Ruby on Rails is Model-View-Controller web-application framework. Rails uses ActiveRecord database abstraction classes to work with SQL tables. However, sometimes it is more convenient to work with plain SQL queries(without any model classes) for specific database operations.
SUSIE is a simple image gallery that is an opensource eRuby application. It is interesting because it shows how Ruby, a powerful and fully object oriented programming language can be used to do the tiniest of tasks. Ruby can be used as a fast procedural code language that rivals PHP and still do things in OOP that Java and C# cannot.
How to setup a Windows development PC and a shared web host environment so you can start developing Ruby web applications in the same way you do PHP, embedded in HTML. Ruby is easy to learn and has features that make it more useful than other web scripting languages. Now you can use eRuby to create robust web applications and websites.
If you want create a dynamic web page that works on more than just MySQL then try Ruby DBI. Ruby DBI will help you create a single database interface for connecting your web application to multiple database types like MySQL, PostGreSQL and SQL Server. This article also explains some of the typical mistakes made when installing Ruby DBI.
The Rails framework takes most of the headache away from developing these relationships and almost entirely eliminates the need to write low-level queries to your database. If you've spent time writing those queries, Rails' ActiveRecord will make sense, but for those of you who are just getting started this can be confusing.
This article is not intended to be a booster piece for Rails nor is it an expose. It’s simply an introduction to the technology. It contains both praise and criticism. At times the criticism might appear a bit heavy handed (especially to Rails enthusiasts), but don’t be fooled. Using any Web application framework is going to be tricky, whether it’s J2EE, ASP.NET, or PHP. In the long run, you can be a lot more productive with Rails than you can be with many other Web application development platforms, but it takes time to learn the ropes.