Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Collaboration On Rails

1,929 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Collaboration On Rails

  1. 1. Collaboration on rails 我是怎么学习并使用 RoR 的 Eric SUN The Same Space Inc
  2. 2. Why RoR
  3. 3. Why RoR <ul><li>MVC </li></ul><ul><li>Production </li></ul><ul><li>DRY </li></ul><ul><li>Plugins </li></ul><ul><li>Buildin Ajax </li></ul><ul><li>Framework </li></ul><ul><li>Ruby lib </li></ul><ul><li>… </li></ul>
  4. 4. 经验迁移 <ul><li>Migration of your programming Expr. </li></ul><ul><ul><li>OOP </li></ul></ul><ul><ul><li>HTML + JS </li></ul></ul><ul><ul><li>Database </li></ul></ul>
  5. 5. 适应 <ul><li>irb </li></ul><ul><li>Console </li></ul><ul><li>Logging </li></ul><ul><li>ActionMailer </li></ul><ul><li>Capistrano </li></ul><ul><li>Mongrel </li></ul><ul><li>More professional </li></ul>
  6. 6. Console <ul><li>debian:/home/trikr# ./script/console </li></ul><ul><li>Loading development environment. </li></ul><ul><li>>> company = Company.find_by_name(&quot;test&quot;) </li></ul><ul><li>=> #<Company:0xb6ea6b20 @attributes={&quot;name&quot;=>&quot;test&quot;, &quot;url&quot;=>&quot;test2&quot;, &quot;id&quot;=>&quot;22&quot;, </li></ul><ul><li>&quot;introduction&quot;=>nil, &quot;image&quot;=>nil, &quot;address&quot;= </li></ul><ul><li>>nil, &quot;plan_id&quot;=>&quot;3&quot;, &quot;created_at&quot;=>&quot;2006-08-22 23:21:00&quot;}> </li></ul><ul><li>>> company.projects.size </li></ul><ul><li>=> 1 </li></ul><ul><li>>> company.users.size </li></ul><ul><li>=> 1 </li></ul><ul><li>>> company.users.first </li></ul><ul><li>=> #<User:0xb724f664 @attributes={&quot;removed&quot;=>nil, &quot;login_at&quot;=>nil, &quot;role&quot;=>&quot;Admin </li></ul><ul><li>istrator&quot;, &quot;username&quot;=>&quot;asf&quot;, &quot;tel&quot;=>nil, &quot;sn </li></ul><ul><li>&quot;=>nil, &quot;id&quot;=>&quot;72&quot;, &quot;work_start_time&quot;=>nil, &quot;report_to&quot;=>nil, &quot;company_id&quot;=>&quot;22&quot;, </li></ul><ul><li>&quot;first_name&quot;=>&quot;asf&quot;, &quot;work_end_time&quot;=>nil, &quot; </li></ul><ul><li>general_info&quot;=>&quot;&quot;, &quot;password&quot;=>&quot;asf&quot;, &quot;last_name&quot;=>&quot;asf&quot;, &quot;email&quot;=>&quot;asf&quot;, &quot;create </li></ul><ul><li>d_at&quot;=>&quot; </li></ul>
  7. 7. Using logging
  8. 8. 人性化
  9. 9. 发现 RoR <ul><li>Plugins </li></ul><ul><li>Google is your good friends </li></ul><ul><li>站在巨人的肩膀上 </li></ul>
  10. 10. Enjoy and 挑战 RoR <ul><li>FCKEditor </li></ul><ul><li>RoR can do anything other web developing can do </li></ul>
  11. 11. 贡献 <ul><li>Give more then you can get more </li></ul><ul><ul><li>Plugins </li></ul></ul><ul><ul><li>Article </li></ul></ul><ul><ul><li>Blog </li></ul></ul>
  12. 12. Thanks <ul><li>趣客 www.trikr.com </li></ul><ul><li>在线协作项目管理软件 </li></ul>

×