1 Rails for the Ruby-Impaired John Paul Ashenfelter CTO/Transitionpoint.

Slides:



Advertisements
Similar presentations
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 15 Introduction to Rails.
Advertisements

Chapter 15 © 2010 by Addison Wesley Longman, Inc Origins and Uses of Ruby - Designed by Yukihiro Matsumoto; released in Use spread rapidly.
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.
Web Applications Development Using Coldbox Platform Eddie Johnston.
Web App Frameworks aka The Luke and Josh Variety Hour.
Sakai on Rails Integrating Ruby and Sakai David Adams, Virginia Tech.
1 JRuby on Rails GAO ANG Sun Functional Campus Ambassador 1.
Ruby on Rails by Manik Juneja Ruby On Rails. Ruby on Rails by Manik Juneja Rails is a Web Application development framework. Based on the MVC pattern.
Fast Track to ColdFusion 9. Getting Started with ColdFusion Understanding Dynamic Web Pages ColdFusion Benchmark Introducing the ColdFusion Language Introducing.
Ruby on Rails a popular web application framework, aimed to increase the speed and ease of web development Ruby on Rails, Tim Zappe.
24-Jun-15 Rails. What is Rails? Rails is a framework for building web applications This involves: Getting information from the user (client), using HTML.
27-Jun-15 Rails. What is Rails? Rails is a framework for building web applications This involves: Getting information from the user (client), using HTML.
Groovy & Grails Jean Barmash CTO, EnergyScoreCards.com
Ruby on Rails Creating a Rails Application Carol E Wolf CS396X.
Irma & Robert. Irma & Robert  Ruby on Rails is an open source web application framework for the Ruby programming language. It is often referred to as.
© Internna Technologies 1 IWebMvc Features, Possibilities & Goals.
Ruby on Rails: An Introduction JA-SIG Summer Conference 2007 Michael Irion The University of Tulsa.
Chapter 3.1 – RoR: An introduction Maciej Mensfeld Presented by: Maciej Mensfeld RoR: An introduction dev.mensfeld.pl github.com/mensfeld.
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/
Ruby on Rails Web development that doesn’t hurt. Ruby on Rails Framework written in the Ruby programming language for database- backed web applications.
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.
Ruby on Rails. What is Ruby on Rails? Ruby on Rails is an open source full-stack web framework. It is an alternative to PHP/MySQL. It can render templates,
Ruby on Rails CSCI 6314 David Gaspar Jennifer Garcia Avila.
Rails and Grails. To get started Make sure you have java installed You can get the sdk and jre at:
UC Berkeley Hello Rails. Review: MVC Goal: separate organization of data (model) from UI & presentation (view) by introducing controller –mediates user.
Chapter 4.1 – Deeper into Rails Maciej Mensfeld Presented by: Maciej Mensfeld Deeper into Rails mensfeld.pl github.com/mensfeld senior.
Marc Ziss Z Consulting Code Name 'Oryx' Web application scaffolding Easy to dynamically display pages based on the data model of.
Java Users Group Charleston, SC June 25, 2008 Introduction to Grails by Jason McDonald.
An Introduction To Building Groovy Web Applications With Grails Jeff Brown – Principal Software Engineer Object Computing Inc.
1 Dr Alexiei Dingli Web Science Stream Introducing Rails.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Ruby on Rails Your first app. Rails files app/ Contains the controllers, models, views and assets for your application. You’ll focus on this folder for.
CWCW System Demo Campus Web Council of Wisconsin.
Who uses it? MichaelMoore.com What's it all about? Rapid Development Clean, Pragmatic Design.
Yii Development. -Yii stands for Yes It Is ! -a fast -Secure -high performance -PHP framework for developing web 2.0 applications. -simply a fine tool.
Lecture 11 Rails Topics SaaSSaaS Readings: SaaS book Ch February CSCE 740 Software Engineering.
Higher Express Banner-APEX Integration Framework
Arnold Geraldo Designing and Making of The Online Auction Website Using CakePHP Framework.
The Active Record Paradigm Databases in Database-Centric Web Site Development.
Ruby on Rails (Slides modified by ements-2ed.shtml)
2006 JavaOne SM Conference | Session BOF-2521 | Rapid Web Application Development with Grails Graeme Rocher Managing Director Agilize it
Selenium and Selenium on Rails. Agenda  Overview of Selenium Simple Selenium Tests Selenium IDE  Overview of Selenium on Rails  Problems with Selenium.
Ruby/Ruby on Rails Yasushi Osonoi Open Dream corporation
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?
Ruby on Rails Evaluation – Cognitive Dimensions Joshua Sunshine
Chapter 15 © 2013 by Pearson Overview of Rails - Rails is a development framework for Web-based applications - Based on MVC architecture for applications.
Introduction to Ruby&Rails Yuri Veremeyenko Monica Verma.
Date : 3/04/2010 Web Technology Solutions Class: PHP Web Application Frameworks.
Introduction to information systems RUBY ON RAILS dr inż. Tomasz Pieciukiewicz.
Ruby on Rails. Web Framework for Ruby Designed to make it easier to develop, deploy, and maintain web applications Design with Model-View-Controller –almost.
BIT 286: Web Applications ASP.Net MVC. Objectives Applied MVC overview Controllers Intro to Routing Views ‘Convention over configuration’ Layout files.
1 NetBeans New and Cool Sun Microsystems, Inc.. 2 Goal of the Talk Learn how NetBeans IDE can help you become more productive Learn about the new features.
Know Your GlassFish Gem Jacob Kessler. Overview ● Fast, simple, easy – gem install glassfish – glassfish. ● Everything from GlassFish to serve a Ruby.
GlassFish Gem Vivek Pandey Sun Microsystems, Inc.
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 ブライアン レオナルド
Mid-Hudson Valley Linux Users Group Ruby on Rails Web Development is Fun Again MHVLUG Meeting Jan 7 th 2009 Sean Dague sean.dague.net.
Visual Web & AJAX with Netbeans 6.0 Your Name Sun Campus Ambassador Your Address.
Web Technology Solutions
What is Laravel ? By Georgi Genov.
Ruby Tooling in NetBeans
Ruby, Rails, GUIs, and More
Ruby on Rails by Manik Juneja
Rails 11-Nov-18.
Ruby on Rails by Manik Juneja
Presentation transcript:

1 Rails for the Ruby-Impaired John Paul Ashenfelter CTO/Transitionpoint

2 Why Build a Web App?  Solve a (customer’s) problem

3 What Makes an Web App “Better”?  Good  Fast  Cheap

4 The Holy Grail of Web Apps  Build an application that solves a problem better, faster, and cheaper than anyone else

5 Keys to Successful Web Apps  Follow standards  Use best practices  Reduce, reuse, recycle code  Focus on quality and consistency  Gracefully respond to change

6 Why Is Rails So Hot?  Integrates/encourages best practices  Inherently agile  Keeps the framework out of the way  Convention over configuration  Self-contained  Extracted from real-life applications  Open source

7 Why Should I Care?  Hits the ColdFusion sweet spot easy to use flexible fast (development and run-time) everything is built-in  Java developers are adopting… and competing against you  Lots of real-world momentum

8 Learning from Ruby on Rails  Ruby and CFML are similar Scripting-oriented Dynamic (eg duck-typing)  Rails and CF Frameworks are similar Built for web applications MVC ORM options

9 Rails Components  Active Record migrations  Action Pack Action Controller Action View  Action Mailer  Active Support  Rake  Web 2.0/AJAX Prototype Script.alicio.us RJS  Generators  Plugins  Servers Webrick mongrel

10 Code: Create a Rails app  Create application skeleton You’ll be using the command line  Create the database Not much config for dev/mysql  Start server Server options Development modes  Generate a scaffold

11 ActiveRecord  Built-in ORM CRUD validation filters  transactions  callbacks (16!)  observers  migrations

12 Code: Making the db invisible  Conventions Names for keys, tables Magic columns  Migrations  ActiveRecord sugar has_XXX associations acts_as_XXX

13 Action Controller  routing REST  flash  filters before, after, around  caching  cookie, session management

14 Code: Interacting with the user  Default and custom routes  The “flash”  RESTful routes and methods

15 Action View  templates rhtml (embedded Ruby) rxml (Builder) rjs (AJAX)  helpers paging, form/field, formatting  layouts  partials and components

16 Code: Showing your work  Templates, layouts, and partials  Helpers  Forms  RJS (AJAX)

17 Code: Other Cool Stuff  fixtures and YAML  the vendor/ directory  plugins  capistrano  JRuby

18 Rails Lessons for Web Frameworks 1.Best practices are, well, best. 2.Make the database invisible 3.Easy things should be easy 4.Testing is crucial… and should be easy

19 Call to Action for CF Frameworks  More convention, less configuration  Pick an ORM and integrate it We need a migrations library  Pick a AJAX library and integrate it  Pick a testing library and integrate it And automate the creation  Don’t be afraid of the command line Leverage Ant for automation where possible

20 Getting Started Resources  Rails Environments InstantRails (Windows) Locomotive (Mac) >gem install rails (any Ruby installation)  Rails Editors Eclipse with RadRails (radrails.org) Textmate (Mac) Other plugins… (Netbeans, Dreamweaver, etc.)  Agile Web Development with Rails, 2 nd ed.

21 Thanks/Questions  John Paul Ashenfelter  Transitionpoint Consulting Training Mentoring