Sunday, June 13, 2010

Learn about Ruby on Rails' capabilities
Ruby on Rails uses the Ruby programming language, and can be used on Windows or Linux variant servers but is particularly loved on Mac OS machines. Ruby on Rails can be used for any typical web programming function such as managing email, connecting to other web sites or servers, processing form information, storing information in a database, creating cookies in a web browser, and much more. It can connect to almost any type of database in the world but most commonly is used in conjunction with MySQL.
Learn about Ruby on Rails' syntax
Syntax is the wording and way that the language has to be used for it to work. Ruby On Rails can take a while to learn if you are used to a typical language like PHP, but after you have some experience with it, you will be able to do most tasks more quickly than with other languages. Here are some important things to learn about Ruby on Rails:
Ruby On Rails directory structure
* Filenames. Ruby on Rails uses a specific directory structure so you always know where certain files should be. The different types of files include controllers, views, models, and helpers.
* Delimiters. Because Ruby on Rails can be embedded with HTML you need to specify what part of the page is Ruby on Rails code and what part is just static HTML. To do this, you use <% and %>. For example:
<%= "Hello World!"; %>
would print "Hello World!" within a paragraph tag so you would browser would seeHello World!
.Ruby on Rails uses the Model-View-Controller (MVC) architecture for organizing application programming. It provides scaffolding which can quickly construct most of the models and views needed for a basic website. You can code Ruby on Rails in any text editor.
Source: www.host-shopper.com
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment