RUBY ON RAILS It’s so rad. What we’ll cover  What is Ruby?  What is RoR?  Why RoR?  Developing with RoR  Deployment  Demo  Questions.

Slides:



Advertisements
Similar presentations
Chapter 15 © 2010 by Addison Wesley Longman, Inc Origins and Uses of Ruby - Designed by Yukihiro Matsumoto; released in Use spread rapidly.
Advertisements

Creating Web Services with Ruby on Rails Robert Thew Internet and Web Systems II.
Ruby on Rails Web development that doesn’t hurt By Mylore, Dung, Lee, Karen and Bryan.
Aneef Fashir Software Architect Assette. About Myself 5 years of experience in programming. BSc(Hons) in Computer Science and MIS. Currently working at.
Ruby on Rails Tutorial Peter Mosca April, Ruby on Rails Tutorial Ruby History Invented 12 years ago in Japan by Yukihiro Matsumoto Spent first 5.
Introduction to Model-View-Controller (MVC) Web Programming with TurboGears Leif Oppermann,
Software Freedom Day th September 2007 Asia Pacific Institute of Information Technology Colombo, Sri Lanka. Nazly Ahmed Scripting The Web.
Multiple Tiers in Action
-Uday Dhokale. What is it ??? Installation Requirements Features Demo.
CS 290C: Formal Models for Web Software Lecture 1: Introduction Instructor: Tevfik Bultan.
Lecture 4: Introduction to PHP 3 PHP & MySQL
PHP Scripting Language. Introduction “PHP” is an acronym for “PHP: Hypertext Preprocessor.” It is an interpreted, server-side scripting language. Originally.
Chapter 13 Web Application Infrastructure. Objectives Explain the components and purpose of a web application platform Describe several common webapp.
Session-01. Hibernate Framework ? Why we use Hibernate ?
INTRO TO MAKING A WEBSITE Mark Zhang.  HTML  CSS  Javascript  PHP  MySQL  …That’s a lot of stuff!
Oracle Application Express Summary. © 2009 Oracle Corporation Oracle APEX Roadmap APEX Introduced Interactive Reports Basis for Audit Vault Reporting.
DR. MOHAMMAD IQBAL THANKS TO ADITYA SENGUPTA Comparing Web Frameworks.
Any host All components deployed to SharePoint Client side code App Web created for app Wrapper deployed to SharePoint Components deployed to.
Introducing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
Ruby on Rails: An Introduction JA-SIG Summer Conference 2007 Michael Irion The University of Tulsa.
A little engineering on Rails Robert W. Hasker. Goals Intro to the Rails framework ▫Basic concepts: MVC, Active Record ▫A bit of Ruby Using Rails to build.
RUBY ON RAILS Mark Zhang. In this talk  Overview of Ruby on Rails  Core ideas  Show a tiny bit of example code  Touch on several general web development/
Rails and Grails. To get started Make sure you have java installed You can get the sdk and jre at:
CSS Class 6 Make image into a button Create button with button element Group related form elements Control tab order Process form data.
1 UTGB Shell An Open-Source Browser Framework for the Integration of Biological Data Taro L. Saito, Shin Sasaki, Budrul Ahsan and.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Web Application Programming Carol Wolf Computer Science.
DB Libraries: An Alternative to DBMS By Matt Stegman November 22, 2005.
L. Grewe LAMP, WAMP and... Motivaiton Basic Web Systems with Delivery of Static and Dynamic Web Pages html, css, media javascript (“dynamic” on client.
Rich Internet Applications for the Enterprise Creating RIA from your Oracle database using TURBO Enterprise Web 2.0 Presented By: John Krahulec Bizwhazee.
Introduction to Internet Programming (Web Based Application)
Codeigniter is an open source web application. It occupies a very small amount of space in the memory and is most useful for developers who aim to develop.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
PHP and MySQL by Example COMP YL Professor Mattos.
1 Dr Alexiei Dingli Web Science Stream Introducing Rails.
Ruby on Rails a high-productivity web application framework Curt Hibbs Curt Hibbs
Symfony web development framework is used to develop rapid, complex and large scale web applications faster and in an effective way.
The Active Record Paradigm Databases in Database-Centric Web Site Development.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
Templates, Databases and Frameworks. Databases: DBI Common database interface for perl Provides a functional,
MVC Design Pattern Web Developer at Crimshield, Inc Application Developer at IBM Present - Delta Developer at Tides.
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
1 A Framework for Automatic Web Application Generation Marc Battyani - Fractal Concept.
By Bearzx Dive Into Web Introduction To WEB
Ruby on Rails By S. Christopher Hellriegel. Overview 1. What is Ruby on Rails? 2. What is MVC? 3. Simple example 4. Wow, that was cool!
RUBY ON RAILS (RoR) Ishwor Khadka. Why Ruby on Rails?
Rich Web Applications for the Enterprise... Creating RWA from Your Oracle Database Presented By: John Krahulec Bizwhazee SEOUC Charlotte February 2009.
Web Development Technologies Advanced Web-based Systems Advanced Web-based Systems | Misbhauddin.
Date : 3/04/2010 Web Technology Solutions Class: PHP Web Application Frameworks.
Boost Developer Productivity with a 360- Degree View of Every Software Change by Using FinditEZ, Certified Microsoft Platform Ready for SQL Azure MICROSOFT.
Six Degrees of Separation Saahil Peerbhoy Amortya Ray Aaron Fernandes Ritika Virmani Swapneel Sheth Josh Poritz.
1 Rails for the Ruby-Impaired John Paul Ashenfelter CTO/Transitionpoint.
PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative.
Presented by Alexey Vedishchev Developing Web-applications with Grails framework American University of Nigeria, 2016 Intro To MVC Architecture.
JRuby on Rails Presenter Name
Ruby on What? A brief introduction to Rails Christopher Hoskin Faculty of History 12th Annual IT Support Staff Conference 21st June 2007, St. Catherine's.
JRuby on Rails Brian Leonard ブライアン レオナルド
Dive into web development
Chapter 13 Web Application Infrastructure
Web Technology Solutions
Interview Questions and Answers
Ruby, Rails, GUIs, and More
PHP / MySQL Introduction
Database Software.
CS4433 Database Systems Project.
UFCEUS-20-2 Web Programming
Web Application Development Using PHP
Presentation transcript:

RUBY ON RAILS It’s so rad

What we’ll cover  What is Ruby?  What is RoR?  Why RoR?  Developing with RoR  Deployment  Demo  Questions

What is Ruby?  Object-oriented language  Written in 1995 by some smart Japanese man  Influenced by PERL, Python, and Lisp (but mostly Python)  EASY to understand, simple syntax

What is RoR?  Full stack web application framework  Written in Ruby (duh)  Since 2004  Open Source  Focused on rapid application development

Why Ruby on Rails?  Rails is a framework  Python – TurboGears, Django  Java - JSP/Servlets, Struts  PHP – Cake, Symfony  Convention over Configuration  Super fast to get started writing useable code class Project < ActiveRecord::Base belongs_to :portfolio has_one :project_manager has_many :milestones end

Developing with RoR  Rails gives the developer a solid infrastructure to build a  web application  Model View Controller (MVC)  Model, the Object Relational Mapper  Automatically maps the database to objects  Very easy and natural to work with  Thin layer with SQL – dynamically generates SQL queries User.find_all User.find(:first, :conditions => [“user = ? AND password =?”], user, pass)  Controller, the logic of the application  View, provides HTML templates and UI helpers

Developing with RoR

 Support many database back-ends (db agnostic)  Oracle, MySQL, PosgreSQL, SQLite  Built-in support for AJAX  Built-in functional and unit testing  Code tests while you develop  Test templates are automatically generated  Rails comes with a complete toolbox of classes, helpers and utilities

Deployment  Rails apps are compatible with Unix and Windows  environments  Rails apps can be deployed on multiple web server  Configurations  Mod_rails (Phusion Passenger)  Mongrel/Mongrel Cluster (plus some Apache goodness for proxy)  FastCGI – running behind Apache or Lighty  CGI  WEBrick – a standalone Ruby web server, easy for development  Easy control of the deployment with Capistrano  A scripting tool to control the deployment of the application on multiple sites  Easy control of schema migration  rake migrate VERSION=3

Demo  Real-time demo of the “Blog in 15 Minutes” (so it will probably take at least 20)