Your SlideShare is downloading. ×
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
The Why Of Ruby
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

The Why Of Ruby

1,029

Published on

Simple introduction to Ruby and what it can do for you, not just technically, but professionally. Promotional presentation for our user group.

Simple introduction to Ruby and what it can do for you, not just technically, but professionally. Promotional presentation for our user group.

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,029
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Transcript

    • 1. why ruby? cs 320
    • 2. programming is fun.
    • 3. you just don’t know it yet.
    • 4. I was a designer. I hated programming.
    • 5. my clients wanted interactive websites...
    • 6. I learned Ruby in 2005 and fell in love...
    • 7. want to make a desktop app that runs on Mac, Windows, and Linux?
    • 8. Shoes.app do para "Item name" @name = edit_line button "Add to list" do @names.append do para @name.text end @name.text = "" end button("Clear the list") {@names.clear} @names = stack :width=>"100%", :height=>"90%" end
    • 9. how about a simple iPhone-enabled site?
    • 10. require 'sinatra' require 'pathname' get "/" do dir = "./files/" @links = Dir[dir+"*"].map { |file| file_link(file) }.join erb :index end helpers do def file_link(file) filename = Pathname.new(file).basename "<li><a href='#{file}' target='_self'>#{filename}</a></li>" end end use_in_file_templates! __END__ @@ index <html> <head> <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/> <style type="text/css" media="screen">@import "/stylesheets/iui.css";</style> <script type="application/x-javascript" src="/javascripts/iui.js"></script> </head> <body> <div class="toolbar"> <h1 id="pageTitle"></h1> </div> <ul id="home" title="Your files, sir." selected="true"> <%= @links %> </ul> </body> </html>
    • 11. want to make CSS easier to read and use?
    • 12. @the-border: 1px; @base-color: #111; #header { color: @base-color * 3; border-left: @the-border; border-right: @the-border * 2; } #header { color: red; a{ font-weight: bold; text-decoration: none; } } #footer { color: (@base-color + #111) * 1.5; }
    • 13. got a great idea and want to get it out there quickly?
    • 14. got a big site that’s hard to maintain?
    • 15. Want to change your life?
    • 16. Don’t just do something...
    • 17. ...do something you love to do.
    • 18. Ruby makes us happy.
    • 19. so... if you have an interest in this and you want to learn...
    • 20. ...we’ll help you get there.
    • 21. Open House • Dooley’s Pub • 5:00 to 7:00 Thursday, October 1st • Presentations, prize drawing
    • 22. @ecruby on Twitter
    • 23. Thanks for your time!

    ×