doulachan8217 2009-12-16 23:44
浏览 34
已采纳

重构PHP和Ruby on Rails的最佳实践

Wondering if someone can suggest a refactoring 'best practice' or more ideally a "check-list" that we can go through and refactor against common issues.

Some of these ideas were pretty good: http://my.safaribooksonline.com/9780321620293

But looking for more.

Thanks.

  • 写回答

1条回答 默认 最新

  • duanjue2560 2009-12-17 00:34
    关注

    I find the best place to start is Martin Fowler's original book, "Refactoring".

    See http://martinfowler.com/books.html for the book, and http://www.refactoring.com/ for a web version (basically).

    The most useful thing is the list of 'refactorings' available at http://www.refactoring.com/catalog/index.html

    This lists common issues and some of the techniques you can use to refactor them :)

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥30 Hyper-v虚拟机相关问题,求解答。
  • ¥15 TSM320F2808PZA芯片 Bootloader
  • ¥45 谷歌浏览器出现开发者工具无法显示已创建的,但您可以调试已部署的代码。 状态代码 404, net::ERR HTTP RESPONSE CODE FAILURE
  • ¥15 如何解决蓝牙通话音频突发失真问题
  • ¥15 安装opengauss数据库报错
  • ¥15 【急】在线问答CNC雕刻机的电子电路与编程
  • ¥60 在mc68335芯片上移植ucos ii 的成功工程文件
  • ¥15 笔记本外接显示器正常,但是笔记本屏幕黑屏
  • ¥15 Python pandas
  • ¥15 蓝牙硬件,可以用哪几种方法控制手机点击和滑动