Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

all

  • Loading branch information...
commit 6cfc3f019b8962f3d953b276559a6a89523e8d86 1 parent c138d0a
@ciberch ciberch authored
Showing with 60 additions and 40 deletions.
  1. +1 −1  .rvmrc
  2. +59 −39 cc/index.md
View
2  .rvmrc
@@ -1 +1 @@
-rvm use 1.9.2@presos
+rvm use 1.9.2-p290@presos
View
98 cc/index.md
@@ -1,4 +1,4 @@
-title: Ruby Apps on Cloud Foundry
+title: Ruby for #ContributingCode
!SLIDE
@@ -10,6 +10,13 @@ title: Ruby Apps on Cloud Foundry
![main](/img/head2.jpg)
<% end %>
+
+!SLIDE vcenter
+
+## Follow along
+
+### [http://studios.cloudfoundry.com/cc](http://studios.cloudfoundry.com/cc/index.html)
+
!SLIDE
<%= include "../shared/intro_paas.md" %>
@@ -23,41 +30,77 @@ title: Ruby Apps on Cloud Foundry
<%= include "../shared/cfdotcom.md" %>
-!SLIDE vcenterH2
+!SLIDE
-## Getting Your Hands Dirty
+## Ruby is…
-!SLIDE vcenter
+- Dynamic
+- Open source programming language
+- Focus on simplicity and productivity.
+- Elegant syntax that is natural to read and easy to write.
-## WiFi
+!SLIDE
-### `vmair`
+## Ruby Syntax
-!SLIDE vcenter
+ # The Greeter class
+ class Greeter
+ def initialize(name)
+ @name = name.capitalize
+ end
-## Follow along
+ def salute
+ puts "Hello #{@name}!"
+ end
+ end
-### [http://studios.cloudfoundry.com/cc](http://studios.cloudfoundry.com/cc/index.html)
+ # Create a new object
+ g = Greeter.new("world")
+
+ # Output "Hello World!"
+ g.salute
+
+More at http://www.ruby-lang.org/en/
!SLIDE
-<%= include "../shared/started.md" %>
+## Ruby Web Frameworks
-!SLIDE vcenter
+### Sinatra
-## Signup Promo Code
+- Detection of Sinatra apps via `require 'sinatra'`
+- Runs on Thin or Webrick
+### Rack
-### [`ContributingCode`](https://my.cloudfoundry.com/signup/ContributingCode)
+- Detection via `config.ru`
+- No web server added
!SLIDE
-## Assumptions for Demos
+## Rails
-### You have [RVM](http://beginrescueend.com/) installed
+- Web Development Framework
+- MVC Architecture
+- Written in Ruby
+- Convention over Configuration
+- RESTful
+- Agile
+- Clean
-### You have Ruby `1.9.2` available
+!SLIDE
+## Rails on Cloud Foundry
+
+- Supports 3.0, 3.1 and 3.2
+- Runs on Thin or Webrick
+- Detection of Rails apps via presence of `config/environment.rb`
+
+!SLIDE vcenter
+
+## Assumptions for Demos
+
+### You have [RVM](http://beginrescueend.com/) with Ruby `1.9.2` available
!SLIDE vcenterH2
@@ -115,8 +158,6 @@ title: Ruby Apps on Cloud Foundry
<%= include "../shared/mongodb.md" %>
-## Talk about MongoDB at 2:00pm
-
!SLIDE
<%= include "../shared/redis.md" %>
@@ -174,27 +215,6 @@ You can then use `VMC::Client`
haml :apps
end
-!SLIDE
-
-## Ruby Web Frameworks
-
-### Sinatra
-
-- Detection of Sinatra apps via `require 'sinatra'`
-- Runs on Thin or Webrick
-
-### Rails
-
-- Supports 3.0, 3.1 and 3.2
-- Runs on Thin or Webrick
-- Detection of Rails apps via presence of `config/environment.rb`
-
-
-### Rack
-
-- Detection via `config.ru`
-- No web server added
-
!SLIDE vcenter
## Demo
Please sign in to comment.
Something went wrong with that request. Please try again.