collaboration on rails
Post on 21-Jan-2015
1.580 Views
Preview:
DESCRIPTION
TRANSCRIPT
Collaboration on rails我是怎么学习并使用 RoR的
Eric SUN
The Same Space Inc
Why RoR
Why RoR
• MVC• Production• DRY• Plugins• Buildin Ajax• Framework• Ruby lib• …
经验迁移• Migration of your programming Expr.
– OOP– HTML + JS– Database
适应• irb
• Console
• Logging
• ActionMailer
• Capistrano
• Mongrel
• More professional
Consoledebian:/home/trikr# ./script/consoleLoading development environment.
>> company = Company.find_by_name("test")=> #<Company:0xb6ea6b20 @attributes={"name"=>"test", "url"=>"test2", "id"=>"22","introduction"=>nil, "image"=>nil, "address"=>nil, "plan_id"=>"3", "created_at"=>"2006-08-22 23:21:00"}>>> company.projects.size=> 1>> company.users.size=> 1>> company.users.first=> #<User:0xb724f664 @attributes={"removed"=>nil, "login_at"=>nil, "role"=>"Administrator", "username"=>"asf", "tel"=>nil, "sn"=>nil, "id"=>"72", "work_start_time"=>nil, "report_to"=>nil, "company_id"=>"22","first_name"=>"asf", "work_end_time"=>nil, "general_info"=>"", "password"=>"asf", "last_name"=>"asf", "email"=>"asf", "created_at"=>"
Using logging
人性化•
发现 RoR
• Plugins
• Google is your good friends
• 站在巨人的肩膀上
Enjoy and 挑战 RoR
• FCKEditor
• RoR can do anything other web developing can do
贡献• Give more then you can get more
– Plugins– Article– Blog
top related