开发者

How to structure Ruby on Rails website

开发者 https://www.devze.com 2023-02-17 02:05 出处:网络
I\'m curious to learn Ruby and Ruby on Rails. I have previous experience with PHP and some basic C/Objective C and Java.

I'm curious to learn Ruby and Ruby on Rails. I have previous experience with PHP and some basic C/Objective C and Java.

I have done a coup开发者_开发百科le of 'Get started with Rails' tutorials and want to try do create a complete site now. I do have some questions.

Is the entire website an app? I mean, sure, the simple 'blog-with-comments' examples fit in a single app. But what if you want more? Say, a forum, a blog, community, shop, task manager and so on (only random examples here... :) ).

Should I split these things into different 'apps' or not? I would still need them to communicate with each other and share user data and so on...

Any ideas?

Regards Linus


In general, your core competency as a rails app -- that which you provide the most value for your users. You can then supplement from there, so your support section might be GetSatisfaction and live on support.yourdomain.com.

Your online shop could be a link to your shopify page at shop.yourdomain.com, etc.

0

精彩评论

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

关注公众号