I'm new to RoR development and I'm searching for suggestion for finding best community gems.
我是RoR开发的新手,我正在寻找找到最佳社区宝石的建议。
E.g. for authentication/authorization? Is devise a good component? https://github.com/plataformatec/devise
例如认证/授权?设计是一个好的组成部分吗?https://github.com/plataformatec/devise
Is there any gem for produce a richer gui in views with easy?
有什么宝石可以轻松地在视图中生成更丰富的gui吗?
In few words, an experienced RoR developer what gems he installs after creating a new app?
简单地说,一个有经验的RoR开发人员在创建一个新应用程序后会安装什么gems ?
Regards, Giacomo
问候,Giacomo
6 个解决方案
#1
1
This is always basic in nearly all my apps.
这在我所有的应用程序中都是基本的。
gem 'devise'
gem "friendly_id", "~> 4.0.1"
gem 'omniauth-facebook'
gem "devise_mailchimp"
gem 'twitter-bootstrap-rails'
gem 'dragonfly', '~>0.9.11'
gem 'will_paginate'
gem 'will_paginate-bootstrap'
gem "mysql2", "~> 0.3.11"
gem 'thin'
and more. You can also visit http://railscasts.com/ you will get more ideas there.
和更多。你也可以访问http://railscasts.com/你会在那里得到更多的想法。
#2
4
To answer the question, Ruby Toolbox is a great resource for finding Ruby/Rails projects (both new and old) as well as comparing the relative popularity of gems providing similar solutions. While the active development culture behind Ruby is empowering for developers accustomed to reading and writing Ruby, I think many newer developers get overwhelmed with all the options.
为了回答这个问题,Ruby工具箱是一个很好的资源,可以用来查找Ruby/Rails项目(既有新项目,也有旧项目),还可以比较gems提供类似解决方案的相对流行程度。虽然Ruby背后的积极开发文化为习惯于阅读和编写Ruby的开发人员提供了力量,但我认为许多更新的开发人员会被所有的选项淹没。
With that in mind, for someone who is just beginning Ruby/Rails development, I'd suggest either rolling your own authorization/authentication system or following a tutorial that explains the process. You can find a great tutorial explaining the basic structure of a User model including authentication in Michael Hartl's Rails Tutorial
考虑到这一点,对于刚刚开始Ruby/Rails开发的人来说,我建议您要么使用自己的授权/认证系统,要么遵循一个解释这个过程的教程。在Michael Hartl的Rails教程中,您可以找到一个很好的教程来解释用户模型的基本结构,包括身份验证
Likewise, understanding that Rails Views can be as simple as combining regular, old HTML, CSS, and Javascript with some Ruby variables is valuable without depending on the magic of something like Bootstrap.
同样,理解Rails视图可以简单到将常规的、旧的HTML、CSS和Javascript与一些Ruby变量结合在一起,而不需要依赖于Bootstrap之类的魔法,这是很有价值的。
#3
1
Yes devise is very good gem with a lots of options and flexible authentications .
是的,设计是非常好的宝石,有很多选择和灵活的认证。
see this https://github.com/plataformatec/devise/wiki/Example-Applications
看到这个https://github.com/plataformatec/devise/wiki/Example-Applications
For gui in views you can use bootstrap twitter gem. It is easy and you can quickly build your view.
对于视图中的gui,您可以使用引导twitter gem。这很容易,您可以快速构建您的视图。
The gem installed by developers is depend on their need. there are more tah 1300 gem available right now...
开发人员安装的gem取决于他们的需要。现在有更多的ta1300宝石可以使用……
Keep coding.
保持编码。
#4
1
What helped me a lot was viewing a bunch of Railcasts. You'll get a good overview of gems you might want to use.
对我有很大帮助的是看了一堆火车广播。您将得到您可能想要使用的宝石的一个很好的概述。
#5
1
You can check this rails style guides from bbatsov, it's a community-driven guide, there are many practices that people used every day.
你可以查看一下bbatsov的rails样式指南,它是一个社区驱动的指南,人们每天都在使用很多实践。
#1
1
This is always basic in nearly all my apps.
这在我所有的应用程序中都是基本的。
gem 'devise'
gem "friendly_id", "~> 4.0.1"
gem 'omniauth-facebook'
gem "devise_mailchimp"
gem 'twitter-bootstrap-rails'
gem 'dragonfly', '~>0.9.11'
gem 'will_paginate'
gem 'will_paginate-bootstrap'
gem "mysql2", "~> 0.3.11"
gem 'thin'
and more. You can also visit http://railscasts.com/ you will get more ideas there.
和更多。你也可以访问http://railscasts.com/你会在那里得到更多的想法。
#2
4
To answer the question, Ruby Toolbox is a great resource for finding Ruby/Rails projects (both new and old) as well as comparing the relative popularity of gems providing similar solutions. While the active development culture behind Ruby is empowering for developers accustomed to reading and writing Ruby, I think many newer developers get overwhelmed with all the options.
为了回答这个问题,Ruby工具箱是一个很好的资源,可以用来查找Ruby/Rails项目(既有新项目,也有旧项目),还可以比较gems提供类似解决方案的相对流行程度。虽然Ruby背后的积极开发文化为习惯于阅读和编写Ruby的开发人员提供了力量,但我认为许多更新的开发人员会被所有的选项淹没。
With that in mind, for someone who is just beginning Ruby/Rails development, I'd suggest either rolling your own authorization/authentication system or following a tutorial that explains the process. You can find a great tutorial explaining the basic structure of a User model including authentication in Michael Hartl's Rails Tutorial
考虑到这一点,对于刚刚开始Ruby/Rails开发的人来说,我建议您要么使用自己的授权/认证系统,要么遵循一个解释这个过程的教程。在Michael Hartl的Rails教程中,您可以找到一个很好的教程来解释用户模型的基本结构,包括身份验证
Likewise, understanding that Rails Views can be as simple as combining regular, old HTML, CSS, and Javascript with some Ruby variables is valuable without depending on the magic of something like Bootstrap.
同样,理解Rails视图可以简单到将常规的、旧的HTML、CSS和Javascript与一些Ruby变量结合在一起,而不需要依赖于Bootstrap之类的魔法,这是很有价值的。
#3
1
Yes devise is very good gem with a lots of options and flexible authentications .
是的,设计是非常好的宝石,有很多选择和灵活的认证。
see this https://github.com/plataformatec/devise/wiki/Example-Applications
看到这个https://github.com/plataformatec/devise/wiki/Example-Applications
For gui in views you can use bootstrap twitter gem. It is easy and you can quickly build your view.
对于视图中的gui,您可以使用引导twitter gem。这很容易,您可以快速构建您的视图。
The gem installed by developers is depend on their need. there are more tah 1300 gem available right now...
开发人员安装的gem取决于他们的需要。现在有更多的ta1300宝石可以使用……
Keep coding.
保持编码。
#4
1
What helped me a lot was viewing a bunch of Railcasts. You'll get a good overview of gems you might want to use.
对我有很大帮助的是看了一堆火车广播。您将得到您可能想要使用的宝石的一个很好的概述。
#5
1
You can check this rails style guides from bbatsov, it's a community-driven guide, there are many practices that people used every day.
你可以查看一下bbatsov的rails样式指南,它是一个社区驱动的指南,人们每天都在使用很多实践。