Your SlideShare is downloading. ×
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Ruby In Enterprise Development
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Ruby In Enterprise Development

651

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
651
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Ruby/Rails in Enterprise Development Ye Zheng yzheng@thoughtworks.com © ThoughtWorks 2008
  • 2. ThoughtWorks • Enterprise Development Experience • Ruby/Rails Development Experience • Agile Methodology © ThoughtWorks 2008
  • 3. Agenda • Language/Framework in Enterprise Development • Ruby in Enterprise Development • Last Mile in Enterprise Development © ThoughtWorks 2008
  • 4. Language in Software Development © ThoughtWorks 2008
  • 5. class User include Permission set_super_role Role::GlobalAssurance deny :add_comment, Role::DepartmentHead ... grant :manage_groups, Role::GlobalAssurance ... end © ThoughtWorks 2008
  • 6. Framework in Software Development © ThoughtWorks 2008
  • 7. MVC C onv Test entio n Ov er C o nfigu ration Automation Directory Structure … © ThoughtWorks 2008
  • 8. Enterprise Development © ThoughtWorks 2008
  • 9. Polyglot Programming (I) © ThoughtWorks 2008
  • 10. Polyglot Programming (II) © ThoughtWorks 2008
  • 11. Ruby as a … • Development Language • Glue Language • Language for Legacy System • … © ThoughtWorks 2008
  • 12. Ruby App Ruby App Ruby App Ruby App Ruby App … Java EE Server © ThoughtWorks 2008
  • 13. Legacy System Case New Ruby Application Legacy Database Legacy Application Procedure Asset 3rd Party Search Management Components © ThoughtWorks 2008
  • 14. Last Mile in Enterprise Development • People • Automation • Design for Automated Testing of Nonfunctional Requirements • Decouple Design from Production Environment • … © ThoughtWorks 2008
  • 15. Automation namespace :svn do task :add do sh %(svn st | grep quot;^?quot; | awk -F quot; quot; '{printf quot;quot;%squot;nquot;, $2}' | xargs -r svn add) end task :commit do sh %(svn stat --ignore-externals) require 'readline' comment = Readline.readline(quot;[Comment]: quot;) sh %(svn ci -m quot;#{comment}quot;) end task :up do sh %(svn up}) end end task :commit => %w(svn:up default svn:add svn:commit) © ThoughtWorks 2008
  • 16. User Acceptance Test Environment © ThoughtWorks 2008
  • 17. Enjoy Programming! © ThoughtWorks 2008

×