• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Palestra "Do PHP ao Rails"
 

Palestra "Do PHP ao Rails"

on

  • 3,575 views

Palestra sobre experiência pessoal da migração do PHP para Rails. Ministrada no CEET Vasco Coutinho (http://ceetvascocoutinho.com.br/) - Ciclo de Palestras

Palestra sobre experiência pessoal da migração do PHP para Rails. Ministrada no CEET Vasco Coutinho (http://ceetvascocoutinho.com.br/) - Ciclo de Palestras

Statistics

Views

Total Views
3,575
Views on SlideShare
1,802
Embed Views
1,773

Actions

Likes
0
Downloads
5
Comments
0

3 Embeds 1,773

http://blog.giran.com.br 1768
http://www.almirmendes.com 3
url_unknown 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Palestra "Do PHP ao Rails" Palestra "Do PHP ao Rails" Presentation Transcript

    • Almir 'm3nd3s' @m3nd3s http://www.almirmendes.com m3nd3s@gmail.com http://www.flickr.com/photos/tswicegood/3483353187 Do PHP ao Rails
    • http://www.flickr.com/photos/mysticpenguin/3310104535/ Quem esse kra mesmo? Como vou saber? Ele não se apresentou.
    • Sou eu!
    • http://www.flickr.com/photos/chealion/2349587639
    • http://www.flickr.com/photos/rdohms/4103026062 PHP
    • http://www.flickr.com/photos/hlegius/3544338710 Linux + PHP
    • Oi!
    •  
    • Por que mudar?
    • 10 .times { | i | puts i }
    •  
    • CI http://www.dojosp.org/?p=59 TDD
    • http://www.flickr.com/photos/dhaun/5626938236 CI
    • Agilidade http://www.flickr.com/photos/eriwst/3448608210
    • Tempo é dinheiro http://www.flickr.com/photos/lindenbaum/345980717
    • 10 .class => Fixnum OO
    • Gambiarras http://www.flickr.com/photos/ricardo_ferreira/233163380/
    • <?php echo “2Patos” + “1Galinha” + “2Codornas” == “5 Pássaros?” ?>
    • Mercado
    •  
    • http://www.flickr.com/photos/hongiiv/2937154327
    • http://www.100loop.com/flex/mvc-e-flex/ MVC
    • $ rails –help Usage: rails COMMAND [ARGS] The most common rails commands are: generate Generate new code (short-cut alias: &quot;g&quot;) console Start the Rails console (short-cut alias: &quot;c&quot;) server Start the Rails server (short-cut alias: &quot;s&quot;) dbconsole Start a console for the database (short-cut alias: &quot;db&quot;) new Create a new Rails application. Comandos
    • Migrations http://www.flickr.com/photos/nickpix2008/2209582828/
    • Migrations
    • class Usuario < ActiveRecord :: Base end Model app/models/usuarios/usuario.rb
    • u = Usuario .new( :login => 'm3nd3s' ) Model
    • u.save() u.valid?() u.destroy Usuario .all Usuario .last(5) Usuario .find(1) Model ...
    • class UsuariosController < ApplicationController def index @usuario = Usuario .all end end Controller app/controllers/usuarios/usuarios_controller.rb
    • View <h1> <%= @usuario.title %> </h1> app/views/usuarios/index.html.rb
    • http://www.flickr.com/photos/laserstars/3086132328 Gostei, Por onde começo?!
    • Rails for zumbies
    • Rails 3 screencasts
    • Rails for zumbies
    • RailsGuides
    • Gems
    • RailsRumble
    • Adena
    • Almir 'm3nd3s' @m3nd3s http://www.almirmendes.com [email_address]