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
Related
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.
Is the Rails for Zombies course on CodeSchool useful?
I am thinking weather it is worth my time, taking it and if it really provides useful resources?
I haven't done any other CodeSchool courses till now. What do you think about the platform? Is it worth paying for other payed courses?
Are there any high quality free online web development courses?
It's meant just to get you excited with the awesome Rails features :)
It will give you the very basics of Ruby and Rails and nothing more.
Actually the framework is much more complicated and time consuming. If you really would like to work with it, that course might be a showcase of some of it's best features.
Anyway it's worth checking it out if you are Ruby or Rails beginner.
The best thing about the current ruby/rails eco-system is there are a multitude of learning resource options out there, and it should't be too hard for anyone to find the ones suited to their needs/aptitude/...
Try out the Rails For Zombies course and a few other CodeSchool courses for free, and decide for yourself if you like them, and want to go for the paid courses.
I am partial to Ruby on Rails Tutorial as the best free resource to learn web development with Rails. The book available for free online. It provides the best introduction to all the concepts & tools involved while working with ruby/rails to build web applications.
RailsCasts - both the free version & the premium version - would be my next recommendation in building up skills.
Take a look at the answers for Best online (free) resources for learning Ruby on Rails? to learn about more alternatives, and pick what works for you.
Quite a few people in the ruby community rave about Why's poignant guide to ruby as one of the best resources to learn ruby, but it didn't work for me. After spending a little time on it, I moved on to Learn to program which turned out to be a perfect fit for my style :-)
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.
I'm a college student trying to make a web community with friends. Although we are not experienced developers by any means, we have taken courses on JAVA and some web programming languages (PHP, JAVASCRIPT, CSS, HTML).
At this point, we need to decide on a web framework and begin learning. I have narrowed down my list to Ruby on Rails and Codeigniter, but I am really not sure why I should pick one over the other.
Thanks in advance.
Pick the one you want to learn and go with it.
I will personally recommend Rails because:
it teaches you a lot of best practices if you do things the Rails Way™
Ruby is a fun, easy-to-learn, expressive language
the community is really big, enthusiastic, and very helpful
there's great books and tutorials available all over the internet
There is nothing like the good framework. It highly depends on, in no particular order :
your skills
your tastes (Yes, it does matter a lot)
your willingness to learn
technical constraints. Your hosting company may support only Ruby or only PHP
...
I personally had the occasion to develop with CodeIgniter and I pretty much enjoyed it. It is light, well documented and leaves you with a lot of freedom.
I also have a good friend for whom Ruby On Rails is the only framework deserving the name of "framework".
If your project is ambitious, a good idea to make your point could be to make a trivial application like a TODO list with both framework and then pick the one that fits your need.
Hope this helps.
If there is no time constraint (as you need to learn both ruby lang and rails framework) and want to know the best practices, i would recommend RubyonRails.
If you have time constraint, then go ahead with Codeigniter. It is easy to learn and well documented.
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.
Am thinking about building a social networking site,that can function more like an application then a site,thus giving it better performance and user interface.
what am stuck up with here is which would be the best framework to try this out?
GWT-i have some experience(about 2 years) with Java and it looks easy but the forum appears dead.
Ruby on Rails- i visited the website today,went through a few tutorials and it looks easy to learn,but i never programmed on this 1 before.
Grails - i have heard that this is a very god framework and based on java,but i've never personally tried it.
What would you think would be the right choice?
it would be cool if you consider factors like performance,scalability and the widgets already available.I don't really care about the development time...i've got more than 2months!
Especially with a Java background, Grails would be a good choice. Grails is built on top of Spring and Hibernate, but makes using them much easier. No painful editing of XML config files.
Although, I'd make sure you evaluate using Ning and the existing open source projects before you bother building another one from scratch.
I'm not sure what you mean by "more like an application then a site". If what you mean is give the app a desktop application feel, then I think GWT fits more. Though if you want to have something really fast, (half the development time that you'd use to develop it in GWT), then I'd recommend rails. I haven't tried Grails before but it seems neat.
The best for you to use is ruby on rails if it about performance,scalability and the widgets
then you have no problem at all. It also has lots of gems/plugins that can help you so much
Read this book Grails in action.
It shows you how to make a social networking site using grails.
It uses an old version of Grails but you can adapt it.
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.
I dont know anything about Rails, but when searching about Rails Apps or coding, usually the developer use Wordpress CMS for their blog and not Rails
Is that because Rails prevent single user and not capable for creating a personal blog?
Why would anyone want to reinvent the wheel? You don't need to build an entire app/framework for your blog and personal website, but Wordpress does everything you would want from a blog engine, the best part being the infinite theming possibilities. Plus, its extremely customizable if you want to include your own code.
Ruby on Rails otherwise is more than capable of building powerful web applications like blog engines.
You'll also find developer blogs on Tumblr, Posterous (a rails app, I believe) and other free blogging services. I would guess that there number of developers (Rails or otherwise) out there see any real benefit in writing their own blogging software when there are plenty of existing options out there to choose from, many of them good.
One noteable exception is https://github.com/mojombo/jekyll which takes a different, more lightweight approach to blogging software. It's a Ruby app (not Rails) and I think I heard (or read) it referred to as blogging for hackers. I know some developers use this too.
Wordpress has been established for a long time and more people know about it. Hence, it is easier to find developers to work on your wordpress site vs a Rails site.
Rails is capable of creating a blog site as seen by numerous CMS such as Browser CMS, Radiant, etc. Also, https://github.com/fdv/typo created a very nicely done blogging engine for Rails which is in many ways comparable to Wordpress.
Anyway, Wordpress or Rails depends on what you are building, who you are building it for and who will manage it in the future. Hope this helps!
PS: It is much cheaper to hire a wordpress developer (PHP) on odesk vs Rails developer
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 9 years ago.
I'm working creating rails application and wondered where I can find good
tutorials on how to work with rails.
I used this blog that I thought was great in starting to learn rails:
http://fairleads.blogspot.com/2007/12/rails-20-and-scaffolding-step-by-step.html
I have just started working with rails and would like to learn more advanced rails now.
There are a lot of sources for learn Rails,
railscasts.com/
newwiki.rubyonrails.org/
http://www.ruby-forum.com/forum/3
these are free screencasts and forum, if you want a book I recommend you Rails Way by Obie Fernandez.
Definitely http://guides.rubyonrails.org/
There are also some really good commercial screencasts found here:
http://peepcode.com/
http://envycasts.com/
However, most of the more advanced tutorials are scattered amongst blog posts targeting specific problems or features. I used to have rubycorner.com in my google reader and would monitor it for useful content and subscribe to individual feeds of blogs I found had consistently good content.
Also, Apidock.com has rails, ruby, and rspec documentation in a great user interface along with a lot of useful user comments.
I completely disagree about the Rails Way. That is a good book once you already largely understand rails basics but it really isn't tutorial style. Different strokes for different folks I guess.
My advice is that you should look for a book that is more tutorial oriented and that has been released very recently because rails changes so fast that your book will be out of date in a blink. Pick your own project and follow along the tutorial adapting it for your projects needs. Invariably, unless you are doing something absurdly simple, you will find that the tutorials come up short and you will have to research solutions for yourself but that it the best way to learn.
Be very aware that almost all the tutorials online are out of date. Probably more than half the railscasts are for pre 2.0 rails. Rails Guides are pretty good and uptodate and have even started including notes for differences between versions.
Also get the RSS feeds for sites like Ruby Inside, Ruby Flow and Rails Inside. They are but a few Ruby/Rails blogs, and there are heaps more, but a good start, and a great way to find infor mation you would never have know about. A lot of material is not for the beginner, but don't let that overwhelm you, having alll the info there will pay off and there are some great getting started things on there sometimes that might be just what you are after.