Wednesday, August 15, 2007

Finally, I was able to install, MySQL 5.0. I had problems with it before. I am not sure about why it worked now, but maybe its because I ran spybot on my system and found out that there was a script on my system that had messud up my security centre updates....
Well now I have entered into the cool part of ruby, which is the rails framework. The framework uses the WEBrick server, and all I had to do was just type

ruby script/server, at the command prompt, and that was enough to start the server. This dosent need any fancy XML configuration files like I was doing with Apache Tomcat in the days of JSP.

Then I simply opened my browser window and entered this url http://localhost:3000/
and viola:



Rails uses a Model View controller paradigm, and one has to create a controller, and give the controller a couple of actions.....
The controller is a .rb file which has a class inheriting from class ApplicationController.

Well I gotta go back to study, I will write some more later.
Went to a bookstore and saw this cute book on python.......who knows,that might be my next project......

No comments: