hangout with ruby

22
RUBY ON RAILS: THE BEGINNING HANGOUT WITH RUBY

Upload: fabian-rinaldi

Post on 16-Jul-2015

39 views

Category:

Technology


0 download

TRANSCRIPT

R U B Y O N R A I L S :

T H E B E G I N N I N G

H A N G O U T W I T H R U B Y

- A N O N Y M

When it comes to building your application, as long as you

understand what is going on, the language or framework

is irrelevant. It’s the execution that matters, so go out

there and build something -

F A B I A N R I N A L D I@fabianrinaldi

https://github.com/fabrinal

Let the chart talk….

H I S T O R Y O F

R U B Y

• Ruby was conveived by

Yukihiro “Matz”

Matsumoto at February

1993

• “Ruby's class library is an

object-oriented

reorganization of Perl

functionality--plus some

Smalltalk and Lisp stuff”

• “You don't have to

switch(to Ruby), just learn

and try it. You may find

yourself comfortable

enough with Ruby to

decide to switch to it.”

Where to use Ruby (just name a

few)

“Going into (not even close) deep”

R U B Y L A N G U A G E

B E H A V I O U R• Almost everything you manipulate in Ruby is

an object, even the result of manipulation is

also an object

• Variety in many ways

• meta programming

• And many more

B O R I N G S E S S I O N S ,

C O D E S A M P L E S

How to “gets” in and “puts” out

M A K E A D E C I S I O N

R E P E A T A G A I N P L E A S E

R E P E A T A G A I N P L E A S E

4 W O R D S … . D A T A

4 W O R D S … . D A T A

R A I L S : T H E F R A M E W O R K

Rails, is an open source web application

framework written by Ruby by Rails Core Team

of Basecamp Developers lead by David

Heinemier Hansson. First release in 2004

T H E Y A R E U S I N G R A I L S

https://thecoderfactory.com/posts/top-15-sites-built-with-ruby-on-rails

M O D E L V I E W

C O N T R O L L E R

M O D E L V I E W

C O N T R O L L E R

S C A F F O L D I N G

With scaffolding command, rails can construct

model, view, controller needed for basic CRUD

application website automatically

http://repl.it/languages/Ruby

Cobain ruby dulu yuks, trus nanti liat demonya rails yah…