• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Shoes
 

Shoes

on

  • 1,233 views

LV Ruby Group Meetup from 8/24/11 Presentation on Ruby Shoes.

LV Ruby Group Meetup from 8/24/11 Presentation on Ruby Shoes.

Statistics

Views

Total Views
1,233
Views on SlideShare
1,230
Embed Views
3

Actions

Likes
0
Downloads
14
Comments
1

3 Embeds 3

http://www.hanrss.com 1
https://bb4.utc.edu 1
http://www.techgig.com 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • We can supply : Desiccant packets , TOP ONE Anti-mold chip/sticker for shoes .

    Function : Absorb moisture keep dry ; Resist mildew effectively ,keep shoes healthy !

    Any further requirement , please refer Facebook: Dingxingdesiccant
    Or talk to me on Skype: Keenest696
    E-mail: scottzhong@dg-dx.com
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Shoes Shoes Presentation Transcript

    • SHOES!!!
      policeman (3.0)
      sweet desktop apps in ruby
      Jeremy Woertink
    • Making sweet sweet love to desktop apps
      • Cross OS Compatible
      Win 7, Vista, XP; OSX Tiger, Leopard, Snow (Lion coming soon); Ubuntu
      • Uses Ruby (1.9.1. no need for a pre-install)
      • Easy to learn API
      • Built with Cairo (http://cairographics.org/)
    • The "Tiny Toolkit"
      • Sketchy video support
      • No tabbed controls
      • No toolbars
      • No Web controls
    • LUCKILY......
      ...everything can be simulated in some way.
    • Dirty Shoes
    • How does it work?
      • No effing clue.....
      Chipmunk, bloopsaphone, sqlite, C stuff, built-in ruby, NodeBox, Processing.....
    • Poor Shoes
    • What are some downsides?
      • C-extension gems(special compilation needed)
      • Different Linux distros(some don't work)
      • Strict Ruby version(1.9.1 with related issues)
      • No UI Helpers(no drag and drop UI like Visual Studio)
      • Windows memory management *
      • Weak "graphic" support(color, gradient, resizing issues)
      Don't fret! It's still in active development :)
    • Clown Shoes?
    • What the hell is it for?
      • Learning Programming
      • Learning Ruby
      • Passing time
      • Building small "widget" apps
      • Mini games (tetris clone, etc)
      • http://the-shoebox.org/
    • Running Shoes!
    • Getting started
      • Download (http://shoesrb.com/downloads)
      • Install
      • Create *.rb file with code
      • Read some tutorials
      • http://cloud.github.com/downloads/shoes/shoes/nks.pdf
      • http://shoesrb.com/manual/Hello.html
      • https://github.com/ashbb/shoes_tutorial_walkthrough
      • Run!
    • Simple shoes
    • Lets see some code!
      Shoes.app do
      para "Hello World"
      end
    • That's it! Questions?
    • JUST KIDDING!
    • Ok, here's more examples
      Shoes.app:title=>'Sample'do
      button"Click"do
      alert"WHOA!"
      end
      end
    • and more....
      Shoes.app:width=>640,:height=>480do
      background"#f90"
      @self=self
      button"Change Color"do
      bgcolor=ask_color("Pick a new background color")
      @self.appdo
      background bgcolor
      end
      end
      end
    • and more....
      Shoes.appdo
      @self =self
      left, top =nil, nil
      line_sizes = {large:10, medium:5, small:1}
      line_color, line_width = red, line_sizes[:medium]
      stroke line_color
      strokewidth line_width
      animate 24do
      b, x, y = @self.mouse
      line(left, top, x, y) if b ==1
      left, top = x, y
      end
      button("clear") { background "#fff" }
      button("New Color") { @self.stroke ask_color("Pick a new background color") }
      list_box items: ["Large", "Medium", "Small"], choose:'Medium'do |selected|
      @self.strokewidth line_sizes[selected.text.downcase.to_sym]
      end
      end
      # BAM! Paint program in 18 lines of ruby :)
    • What else is there?
    • Just a few things....
      • images (background, image, drawing)
      • file diaglog (save, open)
      • download (like XMLHttpRequest)
      • text fields
      • text areas
      • radio buttons
      • check boxes
      • progress bar
      • video support
      • links
      • timers for events
      • paragraphs and headers
      • multiple windows
      Check the manual for more:
      http://shoesrb.com/manual/Shoes.html
    • Your turn.