开发者

Ruby on Rails 3 best practices example open source application [closed]

开发者 https://www.devze.com 2023-01-24 11:47 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling,开发者_运维技巧 or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

Please advice me some really great Ruby on Rails 3 application which i can use like example of best practices in Rails 3. The idea is i want to have the app on my hdd which i can use like reference when i have any questions how to implement some feature. It could be any blog engine, or app like Redmine does not matter but it should have almost all elements/functionality which is used to have any web application. And it should be done by using best practices from Ruby and Rails 3 point of view.


There are definitely many apps on github to learn from. However a lot of solutions are very unique for particular contexts and everyone is always at some stage in their learning. Even in the best apps you should be able to find plenty to disagree with.

Here's a list of a few notable ones.

This is rubygems.org, strong community effort, has a lot of neat practices: https://github.com/rubygems/gemcutter

This project isn't necessarily best practices, but it's so loud and has so many people involved in working out all kinds of initially-written crap, that it may shape into something interesting: https://github.com/diaspora/diaspora

This is a popular e-commerce rails app for you to build upon. Haven't read the code, but again, it's pretty popular, which means, well supported by community: https://github.com/railsdog/spree

For more check out awesome github's explore page: https://github.com/explore.

P.S. Bucketwise is a Rails2 app created by Jamis Buck (of 37signals and Rails core). It's still worth watching even if you're looking for Rails 3 insights.


I like the Getting Started with Rails guides. They're not really a complete app, but they are good examples of how things should be done and should be current.

You can also search on Github for Rails apps. The source code should be viewable, and if you have an account you can watch the various projects and see what's new.


Opinions of "best practices" vary widely. I would just read a ton of rails 3 code on github, and then read a ton more! By reading code, you will learn what is common in the rails world and develop your own best practices.


rails3-devise-mongoid is a good one

as is ror_ecommerce

0

精彩评论

暂无评论...
验证码 换一张
取 消