Enviar pesquisa
Carregar
Palestra "Do PHP ao Rails" - FOCAI
•
0 gostou
•
725 visualizações
Almir Mendes
Seguir
Palestra
Leia menos
Leia mais
Tecnologia
Esportes
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 43
Baixar agora
Baixar para ler offline
Recomendados
Difference between VBscript & Javascript
Difference between VBscript & Javascript
Ai Lun Wu
Sinatra
Sinatra
Chien-An Cho
jAPS 2 0 - Presentation Layer Comparison
jAPS 2 0 - Presentation Layer Comparison
William Ghelfi
Rails-3-app-auto-generator-20100817
Rails-3-app-auto-generator-20100817
Tse-Ching Ho
从小书签到浏览器扩展的应用
从小书签到浏览器扩展的应用
Alipay
A different thought angular js part-2
A different thought angular js part-2
Amit Thakkar
Happy Coding with Ruby on Rails
Happy Coding with Ruby on Rails
Ochirkhuyag Lkhagva
Templates e o JavaScript
Templates e o JavaScript
evandrolg
Recomendados
Difference between VBscript & Javascript
Difference between VBscript & Javascript
Ai Lun Wu
Sinatra
Sinatra
Chien-An Cho
jAPS 2 0 - Presentation Layer Comparison
jAPS 2 0 - Presentation Layer Comparison
William Ghelfi
Rails-3-app-auto-generator-20100817
Rails-3-app-auto-generator-20100817
Tse-Ching Ho
从小书签到浏览器扩展的应用
从小书签到浏览器扩展的应用
Alipay
A different thought angular js part-2
A different thought angular js part-2
Amit Thakkar
Happy Coding with Ruby on Rails
Happy Coding with Ruby on Rails
Ochirkhuyag Lkhagva
Templates e o JavaScript
Templates e o JavaScript
evandrolg
Future of Web Development
Future of Web Development
Zeno Rocha
Engines
Engines
Fernand Galiana
Amplexor - Drupal Camp Romania 2015 - Front-end testing
Amplexor - Drupal Camp Romania 2015 - Front-end testing
Amplexor
Browserify
Browserify
davidchubbs
Html1
Html1
riddhimpopat
I motion
I motion
Fernand Galiana
Vmware
Vmware
sumit007c
RSpec. Part 1
RSpec. Part 1
Vladimir Dementyev
Flash Widget Tutorial
Flash Widget Tutorial
hussulinux
Hp26簡報 joyhsu
Hp26簡報 joyhsu
Joy Hsu
Arduino Project
Arduino Project
Almir Mendes
La Celula
La Celula
86588132
Deploying Rails Applications with Capistrano
Deploying Rails Applications with Capistrano
Almir Mendes
PresentacióN Pigmento 1
PresentacióN Pigmento 1
DIMonicaA
Palestra de SED - Stream Editor
Palestra de SED - Stream Editor
Almir Mendes
10+ Coisas Que Odeio Em Php
10+ Coisas Que Odeio Em Php
Almir Mendes
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Almir Mendes
Dicas de SSH
Dicas de SSH
Almir Mendes
Innovacion
Innovacion
luchoaviles
Palestra "Do PHP ao Rails"
Palestra "Do PHP ao Rails"
Almir Mendes
JRuby, Ruby, Rails and You on the Cloud
JRuby, Ruby, Rails and You on the Cloud
Hiro Asari
Comparing Hot JavaScript Frameworks: AngularJS, Ember.js and React.js - Sprin...
Comparing Hot JavaScript Frameworks: AngularJS, Ember.js and React.js - Sprin...
Matt Raible
Mais conteúdo relacionado
Mais procurados
Future of Web Development
Future of Web Development
Zeno Rocha
Engines
Engines
Fernand Galiana
Amplexor - Drupal Camp Romania 2015 - Front-end testing
Amplexor - Drupal Camp Romania 2015 - Front-end testing
Amplexor
Browserify
Browserify
davidchubbs
Html1
Html1
riddhimpopat
I motion
I motion
Fernand Galiana
Vmware
Vmware
sumit007c
RSpec. Part 1
RSpec. Part 1
Vladimir Dementyev
Flash Widget Tutorial
Flash Widget Tutorial
hussulinux
Hp26簡報 joyhsu
Hp26簡報 joyhsu
Joy Hsu
Mais procurados
(10)
Future of Web Development
Future of Web Development
Engines
Engines
Amplexor - Drupal Camp Romania 2015 - Front-end testing
Amplexor - Drupal Camp Romania 2015 - Front-end testing
Browserify
Browserify
Html1
Html1
I motion
I motion
Vmware
Vmware
RSpec. Part 1
RSpec. Part 1
Flash Widget Tutorial
Flash Widget Tutorial
Hp26簡報 joyhsu
Hp26簡報 joyhsu
Destaque
Arduino Project
Arduino Project
Almir Mendes
La Celula
La Celula
86588132
Deploying Rails Applications with Capistrano
Deploying Rails Applications with Capistrano
Almir Mendes
PresentacióN Pigmento 1
PresentacióN Pigmento 1
DIMonicaA
Palestra de SED - Stream Editor
Palestra de SED - Stream Editor
Almir Mendes
10+ Coisas Que Odeio Em Php
10+ Coisas Que Odeio Em Php
Almir Mendes
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Almir Mendes
Dicas de SSH
Dicas de SSH
Almir Mendes
Innovacion
Innovacion
luchoaviles
Destaque
(9)
Arduino Project
Arduino Project
La Celula
La Celula
Deploying Rails Applications with Capistrano
Deploying Rails Applications with Capistrano
PresentacióN Pigmento 1
PresentacióN Pigmento 1
Palestra de SED - Stream Editor
Palestra de SED - Stream Editor
10+ Coisas Que Odeio Em Php
10+ Coisas Que Odeio Em Php
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Arduino Project - Ciclo de palestras CEET Vasco Coutinho
Dicas de SSH
Dicas de SSH
Innovacion
Innovacion
Semelhante a Palestra "Do PHP ao Rails" - FOCAI
Palestra "Do PHP ao Rails"
Palestra "Do PHP ao Rails"
Almir Mendes
JRuby, Ruby, Rails and You on the Cloud
JRuby, Ruby, Rails and You on the Cloud
Hiro Asari
Comparing Hot JavaScript Frameworks: AngularJS, Ember.js and React.js - Sprin...
Comparing Hot JavaScript Frameworks: AngularJS, Ember.js and React.js - Sprin...
Matt Raible
Ride on the Fast Track of Web with Ruby on Rails- Part 2
Ride on the Fast Track of Web with Ruby on Rails- Part 2
A.K.M. Ahsrafuzzaman
Two database findings
Two database findings
Tobias Schmidt
Creating effective ruby gems
Creating effective ruby gems
Ben Zhang
Advanced RESTful Rails
Advanced RESTful Rails
Viget Labs
Advanced RESTful Rails
Advanced RESTful Rails
Ben Scofield
Rupicon 2014 Action pack
Rupicon 2014 Action pack
rupicon
Action Controller Overview, Season 2
Action Controller Overview, Season 2
RORLAB
Building Single Page Application (SPA) with Symfony2 and AngularJS
Building Single Page Application (SPA) with Symfony2 and AngularJS
Antonio Peric-Mazar
Ruby on Rails : RESTful 和 Ajax
Ruby on Rails : RESTful 和 Ajax
Wen-Tien Chang
StirTrek 2018 - Rapid API Development with Sails
StirTrek 2018 - Rapid API Development with Sails
Justin James
The Rails Way
The Rails Way
Michał Orman
ActiveResource & REST
ActiveResource & REST
Robbert
Rails 4.0
Rails 4.0
Robert Gogolok
More to RoC weibo
More to RoC weibo
shaokun
Using ArcGIS Server with Ruby on Rails
Using ArcGIS Server with Ruby on Rails
Dave Bouwman
Código Saudável => Programador Feliz - Rs on Rails 2010
Código Saudável => Programador Feliz - Rs on Rails 2010
Plataformatec
Rails::Engine
Rails::Engine
Flavian Missi
Semelhante a Palestra "Do PHP ao Rails" - FOCAI
(20)
Palestra "Do PHP ao Rails"
Palestra "Do PHP ao Rails"
JRuby, Ruby, Rails and You on the Cloud
JRuby, Ruby, Rails and You on the Cloud
Comparing Hot JavaScript Frameworks: AngularJS, Ember.js and React.js - Sprin...
Comparing Hot JavaScript Frameworks: AngularJS, Ember.js and React.js - Sprin...
Ride on the Fast Track of Web with Ruby on Rails- Part 2
Ride on the Fast Track of Web with Ruby on Rails- Part 2
Two database findings
Two database findings
Creating effective ruby gems
Creating effective ruby gems
Advanced RESTful Rails
Advanced RESTful Rails
Advanced RESTful Rails
Advanced RESTful Rails
Rupicon 2014 Action pack
Rupicon 2014 Action pack
Action Controller Overview, Season 2
Action Controller Overview, Season 2
Building Single Page Application (SPA) with Symfony2 and AngularJS
Building Single Page Application (SPA) with Symfony2 and AngularJS
Ruby on Rails : RESTful 和 Ajax
Ruby on Rails : RESTful 和 Ajax
StirTrek 2018 - Rapid API Development with Sails
StirTrek 2018 - Rapid API Development with Sails
The Rails Way
The Rails Way
ActiveResource & REST
ActiveResource & REST
Rails 4.0
Rails 4.0
More to RoC weibo
More to RoC weibo
Using ArcGIS Server with Ruby on Rails
Using ArcGIS Server with Ruby on Rails
Código Saudável => Programador Feliz - Rs on Rails 2010
Código Saudável => Programador Feliz - Rs on Rails 2010
Rails::Engine
Rails::Engine
Mais de Almir Mendes
Software Livre, que história é essa?
Software Livre, que história é essa?
Almir Mendes
[Rock'n Rails] Deploying Rails Applications with Capistrano
[Rock'n Rails] Deploying Rails Applications with Capistrano
Almir Mendes
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Almir Mendes
Arduino Project :: Giran Siege
Arduino Project :: Giran Siege
Almir Mendes
Integração contínua com Hudson CI
Integração contínua com Hudson CI
Almir Mendes
Palestra sobre AWK [Giran Siege]
Palestra sobre AWK [Giran Siege]
Almir Mendes
Palestra regex
Palestra regex
Almir Mendes
Palestra regex
Palestra regex
Almir Mendes
Palestra de PDO
Palestra de PDO
Almir Mendes
Distribuições Linux
Distribuições Linux
Almir Mendes
Entendendo como fazer um firewall pessoal
Entendendo como fazer um firewall pessoal
Almir Mendes
PHP Day - PHP para iniciantes
PHP Day - PHP para iniciantes
Almir Mendes
Mais de Almir Mendes
(12)
Software Livre, que história é essa?
Software Livre, que história é essa?
[Rock'n Rails] Deploying Rails Applications with Capistrano
[Rock'n Rails] Deploying Rails Applications with Capistrano
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Projeto Arduino - Hardware para fazer coisas legais - FOCAI
Arduino Project :: Giran Siege
Arduino Project :: Giran Siege
Integração contínua com Hudson CI
Integração contínua com Hudson CI
Palestra sobre AWK [Giran Siege]
Palestra sobre AWK [Giran Siege]
Palestra regex
Palestra regex
Palestra regex
Palestra regex
Palestra de PDO
Palestra de PDO
Distribuições Linux
Distribuições Linux
Entendendo como fazer um firewall pessoal
Entendendo como fazer um firewall pessoal
PHP Day - PHP para iniciantes
PHP Day - PHP para iniciantes
Último
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Enterprise Knowledge
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
naman860154
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Roshan Dwivedi
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Pooja Nehwal
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Martijn de Jong
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Michael W. Hawkins
Último
(20)
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
Palestra "Do PHP ao Rails" - FOCAI
1.
Almir 'm3nd3s'
http://www.almirmendes.com m3nd3s@gmail.com http://www.flickr.com/photos/bellalago/4874839499/ http://www.flickr.com/photos/tswicegood/3483353187
2.
It's me
3.
http://www.flickr.com/photos/chealion/2349587639
4.
http://www.flickr.com/photos/rdohms/4103026062
5.
http://www.flickr.com/photos/hlegius/3544338710
6.
Oi!
7.
8.
Por que mudar?
9.
Agilidade
http://www.flickr.com/photos/eriwst/3448608210
10.
10.times { |i|
puts i }
11.
12.
10.class => Fixnum
13.
Dojo
14.
http://reddevnews.com/articles/2007/11/01/testdriven-development-tdd.aspx
15.
Continuous Integration
16.
Ufa! Me
Time livrei dessa Você quebrou o build?
17.
Gambiarras http://www.flickr.com/photos/ricardo_ferreira/233163380/
18.
<?php echo “2Patos” +
“1Galinha” + “2Codornas” == “5 Pássaros?” // Acredite! Isto resulta em 1 (inteiro) ?>
19.
Mercado
20.
Então, o que
é o tal Ruby on Rails?
21.
http://www.flickr.com/photos/benmillett/306074038
A web framework that's optimized for programmer happiness and sustainable productivity.
22.
http://www.flickr.com/photos/arcticpuppy/4784727073 It lets you
write beautiful code by favoring convention over configuration.
23.
http://www.codinguide.com/2010/04/mvc-pattern.html MVC
24.
Exemplo Imagine
que eu precise gerenciar usuários, estes teriam apenas nome e e-mail.
25.
Instala a gem
rails $ gem install rails $ rails new meu_projeto Cria um novo projeto
26.
$ cd meu_projeto $
rails g model usuario nome:string email:string
27.
class CreateUsuarios <
ActiveRecord::Migration def self.up create_table :usuarios do |t| t.string nome t.string email t.timestamps end dnd def self.down drop_table :usuarios end end Migration
28.
$ rake db:migrate
Migration
29.
Model class Usuario <
ActiveRecord::Base end app/models/usuario.rb
30.
31.
Model u.save?()
Usuario.all u.update_attributes() Usuario.last(5) u.destroy() Usuario.find(12) u.valid?() Usuario.new u.errors Usuario.query u.new_record? Usuario.first() u.meu_atributo_x E muito mais...
32.
Controller class UsuariosController <
ApplicationController def index @usuarios = Usuario.all end end app/controllers/usuarios_controller.rb
33.
View
<ul> <% @usuarios.each do |u| %> <%= u.nome %> <% end %> </ul> Action app/views/usuarios/index.html.rb
34.
Gems
http://rubygems.org/ http://rubygems.org/
35.
Por onde começar?
36.
http://railsforzombies.org/ http://railsforzombies.org/
37.
http://rubyonrails.org/screencasts/rails3 http://rubyonrails.org/screencasts/rails3
38.
http://railscasts.com/ http://railscasts.com/
39.
http://guides.rubyonrails.org/ http://guides.rubyonrails.org/
40.
41.
RailsRumble
42.
www.rockandrails.com.br
Realização
43.
Almir 'm3nd3s' @m3nd3s http://www.almirmendes.com almir.mendes@giran.com.br
Baixar agora