Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Introduction to Ruby on Rails
Transcript of Introduction to Ruby on Rails
Why Ruby ?
What is Ruby ?
What is Rails ?
Sites build with Ruby on Rails
Full Stack Framework
Includes everything needed to create a database-driven web application using the Model-View-Controller pattern.
Being a full-stack framework means that all layers are built to work seamlessly together
Less Code. Requires fewer total lines of code than other frameworks spend setting up their XML configuration files.
Convention over Configuration
Rails shuns configuration files in favor of conventions, reflection and dynamic run-time extensions. Your application code and your running database already contain everything that Rails needs to know!
A High Level Programming Language like Perl, Python, Tcl/TK.Object-Oriented Like Smalltalk, Ada, Java.
Originated in Japan and Rapidly Gaining Mindshare in US and Europe.
Created by Yukihiro Matsumoto or fondly known as Matz
Ruby is becoming popular exponentially in Japan and now in US and Europe as well. Following are greatest factors:
Easy to learn
Very easy to extend
Less Coding with fewer bugs
An extremely productive web-application framework. Written in Ruby by David Heinemeier Hansson.You could develop a web application at least ten times faster with Rails than you could with a typical Java framework.An open source Ruby framework for developing database-backed web applications.
Metaprogramming techniques use programs to write programs. Ruby is one of the best languages for metaprogramming, and Rails uses this capability well. Rails also uses code generation but relies much more on metaprogramming for the heavy lifting.
Rails introduces the Active Record framework, which saves objects to the database. The Rails version of Active Record discovers the columns in a database schema and automatically attaches them to your domain objects using metaprogramming.
Rails creates simple automated tests you can then extend. Rails also provides supporting code called harnesses and fixtures that make test cases easier to write and run. Ruby can then execute all your automated tests with the rake utility.