Ruby and Rails
                for womens


        railsgirls.com/belem




@luizsanxes
Malala Yusafzai
programming
   languages
synchronous and
   asynchronous
think different
Ada Lovelace
Ruby language

1995, Japan, Yukihiro "Matz"
Matsumoto.
Interpreted, object-oriented and
people.
Inspired by: Python, Perl, Smalltalk,
Eiffel, Ada and Lisp.
result.rb




$ ruby result.rb

Jully's code is 100% complete
duck_typing.rb




$ ruby duck_typing.rb

9
grapes and apples; grapes and apples;
object
class
fruit.rb




$ ruby fruit.rb

Benefits of banana: acts on the vision, skin and mucous
Interactive Ruby
            Shell
Ruby Gems



gem install rails

gem list

gem uninstall haml
web applications
Ruby on Rails

2004, EUA, David Heinemeier
Hansson.

Convention over Configuration

Don't Repeat Yourself

Model-View-Controller
meta framework
                      Web Layer
                      ActionController

                                              Tests/Specs
                  ORM                         Test::Unit
                  ActiveRecord


                         HTTP Client
                                                    Templating
                                                    Erb
                                                                 railties
                         ActiveResource

                                                Web Server
                                                Mongrel




slideshare.net/adamwiggins/rails-metal-rack-and-sinatra
sites oriented
              database
Create
Read
Update
Delete
Model, View and
     Controller
creating a
                        project

$ rails new market
$ cd market
creating a crud

$ rails generate scaffold product
name:string value:decimal
unit:string
Model
View
Controller
creating a data
                structure

$ rake db:create
$ rake db:migrate
executing the
                   application

$ rails server
show me the
      code
References
Portuguese
> aprendaaprogramar.rubyonrails.pro.br
> eustaquiorangel.com/tutorial-ruby
> why.nomedojogo.com
> caelum.com.br/apostila-ruby-on-rails

English
> sapphiresteel.com/The-Book-Of-Ruby
> guides.rubyonrails.org
> github.com/bryanbibat/rails-3_0-tutorial
thanks

@tasafo




@guru_pa

Ruby and Rails for womens