54
TIM aka EPROG V2.0 Martin Schürrer 2. März 2009

JSUG - Tim aka EPROG2 by Martin Schuerrer

Embed Size (px)

DESCRIPTION

visit www.jsug.at for more stuff

Citation preview

Page 1: JSUG - Tim aka EPROG2 by Martin Schuerrer

TIMaka EPROG V2.0

Martin Schürrer

2. März 2009

Page 2: JSUG - Tim aka EPROG2 by Martin Schuerrer

Ruby Examples

Rails ExamplesWhy Rails?

TIMaka EPROG 2.0

What we didWhen to choose Rails

Page 3: JSUG - Tim aka EPROG2 by Martin Schuerrer

Ruby

Page 4: JSUG - Tim aka EPROG2 by Martin Schuerrer

Ruby

Dynamic typing

Fully object oriented

Metaprogramming

Interpreted

Page 5: JSUG - Tim aka EPROG2 by Martin Schuerrer

JSUGJSUGJSUGJSUGJSUG

Page 6: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 7: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 8: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 9: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 10: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 11: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 12: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 13: JSUG - Tim aka EPROG2 by Martin Schuerrer

„When I see a bird that walks like a duck and swims like a duck and

quacks like a duck, I call that bird a duck.“

Page 14: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 15: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 16: JSUG - Tim aka EPROG2 by Martin Schuerrer

Ruby on Rails

Page 17: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 18: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 19: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 20: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 21: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 22: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 23: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 24: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 25: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 26: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 27: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 28: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 29: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 30: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 31: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 32: JSUG - Tim aka EPROG2 by Martin Schuerrer

TIM

Page 33: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 34: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 35: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 36: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 37: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 38: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 39: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 40: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 41: JSUG - Tim aka EPROG2 by Martin Schuerrer

Lessons learned

Avoid Second-System SyndromeIf in doubt leave it out!

KISS Keep it Simple, Stupid

YAGNI You Ain't Gonna Need It

Release Early, Release Often

Use git ;)

Page 42: JSUG - Tim aka EPROG2 by Martin Schuerrer

When to choose Railsand when not to

Starting from a clean slate

WebAPP not WebSITE

CRUD Create Read Update Delete

RAD Rapid Application Development

Rails is Opinionated Software

Ruby

Page 43: JSUG - Tim aka EPROG2 by Martin Schuerrer

GET POST PUT DELETE

find create update destroy

SELECT INSERT UPDATE DELETE

Page 44: JSUG - Tim aka EPROG2 by Martin Schuerrer

POST /people/createGET /people/show/1POST /people/update/1POST /people/destroy/1

Page 45: JSUG - Tim aka EPROG2 by Martin Schuerrer

POST /peopleGET /people/1PUT /people/1DELETE /people/1

Page 46: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 47: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 48: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 49: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 50: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 51: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 52: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 53: JSUG - Tim aka EPROG2 by Martin Schuerrer
Page 54: JSUG - Tim aka EPROG2 by Martin Schuerrer