Tips and Tricks for Tweaking and Using Ruby and Rails for a Distributed Enterprise Application

speaker: Francis Sullivan

 

Spiceworks overview

updating remote installations

performance of ruby

avoiding deadlock

extensions for adding and modifying

scanner tweaks

 

 

Manage Everything IT… for Free!

You want a network you can manage, not a network that manages you! You wish you could have it… without spending a fortune. Your wish is granted.

The IT Tools You Need.

Spiceworks combines everything you need to manage IT in one easy-to-use application:

For IT Pros Like You

400,000 IT pros tell us what to build and share answers, product reviews & advice with each other.

Download now!

It takes less than 5 minutes to get started.

Your IT freedom is just a download away.Spiceworks IT Desktop

A Year of Innovation

with Gregg Pollack and Jason Seifer

HPricot – good for scraping websites

doc = Hpricot(open(“”)

http://code.whytheluckystiff.net/hpricot/

http://redhanded.hobix.com/inspect/hpricot01.html

 

Juggernaut – lets you do server push with rails

http://juggernaut.rubyforge.org/

Ambition

create SQL statements

http://errtheblog.com/posts/63-full-of-ambition

http://ambition.rubyforge.org/

 

Prawn

– easy ruby based PDF generation

http://prawn.majesticseacreature.com/

http://www.rubyinside.com/prawn-ruby-pdf-library-987.html

http://wiki.rubyonrails.org/rails/pages/HowtoGeneratePDFs

Capistrano

Ruby VMs

roo – spreadsheets

can open google docs!

http://roo.rubyforge.org/

http://rubyforge.org/projects/roo/

 

dtrace

skynet – map reduce for ruby

 

Data Fabric – easy chart data

http://blog.fiveruns.com/2008/7/9/introducing-data_fabric

merb

Mack Framework

Sinatra – easy quick way to build web application

Webby – generate static websites – rake task to

shoes – dsl for generating GUI applications

Hackety Hack – help kids learn programming

 

redmine –

Pool Party

RAD – Ruby Arduino Development – electronics (build robots)

http://rad.rubyforge.org/

 

Adhearsion – builds astrics – Voip

Rack

http://rack.rubyforge.org/

create a web frame work with only interfacing with Rack…

 

passenger

github

Starling – a light weight server for reliable distributed messageing

http://www.cmswire.com/cms/events/ruby-sunday-scaling-twitter-and-other-lessons-from-mr-cook-001221.php

http://www.slideshare.net/Blaine/scaling-twitter

http://www.justinball.com/2008/08/18/using-starling-workling-with-ruby-on-rails/

Ruby EventMachine

http://rubyeventmachine.com/

http://rubyforge.org/projects/eventmachine

 

Thin – fast, fast server..

Ebb

NeverBlock – really fast web server for Ruby…

Ruby: Past, Present, and Future

Yukihiro “Matz” Matsumoto

(creator of Ruby)

4,000 years ago we had one language (Babel)

That one language was “Fortran” 🙂

Hired by NaCl  – open source integrated

1999 – First book published

It should be “Rails on Ruby” since Rails is a DSL for the web built with Ruby…

Sometimes Smart People:  Just don’t understand the nature of ordinary brains..

 

Flexibility <–>Understandability

 

Ruby became “Enterprisy”

“There are under one million professional Ruby developer now and were projecting there will be four million plus by 2013”

Mark Driver, an analyst at Gartner (eweek.com)

Ruby focuses on programmers NOT computers.

Primary goal is to enjoy programming…

Matz: “I love meters”

 

Question from the audience: “Do you think you are learning how humans related to world by creating a language?”

Double-click to wow

Evan Phoenix – keynote…

Works for EngineYard – Rubinus lead developer (http://rubini.us/)

meme – an element of a culture or system of behavior that may be considered to be passed from one individual to another by nongenetic means, esp. imitation

 

alias_method_chain is AOP…

 

 

http://en.wikipedia.org/wiki/Why_the_lucky_stiff

 

_why's self-portrait from Why's (poignant) Guide to Ruby

 

Zed Shaw

http://www.zedshaw.com/

 

PickAxe book online

http://www.rubycentral.com/book/

 

in the ruby community, ideas spread quickly.. Things change quickly…

Who doesn’t like it?  The Enterprise… They consider it dangerous… (could he be talking about EA?)

Building and Maintaining a Ruby Infrastructure

 

Speakers: jeremey Hinegardner and Fernand Galiana

Work for:  Collect Intellect

copiousfreetime

gems:  amalgalite rabal htauth heel launchy …

 

 

mole – tells you about your rails application and it being used…

http://www.rubyinside.com/the-mole-spying-inside-your-rails-applications-457.html

http://liquidrail.com/2007/4/15/mole-plugin-inspect-the-rails/

 

ZiYa – charting the rails

World 1 – the grab bag world..

World 2 – the plugins world

World 3 – Gems – the one true path:

 

Primordial Gem – developer tools. – new project generation  -bones, consistent project layout, common tasks, base classes, etc..

 

Schema Management

Cruise Control – continuous integration’

 

~>  (twiddle wakka) 

~> 1.1 <=> 1.1.*

“~>” in dependency spec for Ruby Gems will ignore the “3rd” part of the version…

Should have a Internal Gem Server

 

Stickler – manage an internal gem server  (work in progress)