Code Refactoring Javaeye Rails1.X 2.X

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

  • + 404 Xu Li 11 months ago
    Many thanks for sharing your experience with us.
Post a comment
Embed Video
Edit your comment Cancel

1 Favorite

Code Refactoring Javaeye Rails1.X 2.X - Presentation Transcript

  1. 重构你的应用 ­­ 从 rails 1.x 到 2.x 
  2. Agenda  重构前后的变化  开发模式的改变  Database Migration  RESTful Resource  重构实例  数据校验  acts_as_xxx  Fat Model / Rich Domain Object  避免 monkey patch  javascript / css  优化  Q & A
  3. 重构前后的变化 +­­­­­­­­­­­­­­­­­­­­­­+­­­­­­­+­­­­­­­+­­­­­­­­­+­­­­­­­­­+­­­­­+­­­­­­­+ | Name                 | Lines |   LOC | Classes | Methods | M/C | LOC/M | +­­­­­­­­­­­­­­­­­­­­­­+­­­­­­­+­­­­­­­+­­­­­­­­­+­­­­­­­­­+­­­­­+­­­­­­­+ | Controllers          |  4508 |  3868 |      17 |     373 |  21 |     8 | | Helpers  

+ wearwear, 11 months ago

custom

870 views, 1 favs, 0 embeds more stats

More Info

© All Rights Reserved

Go to text version
  • Total Views 870
    • 870 on SlideShare
    • 0 from embeds
  • Comments 1
  • Favorites 1
  • Downloads 41
Most viewed embeds

more

All embeds

less

Flagged as inappropriate Flag as inappropriate
Flag as innappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

Categories