在 Ruby on Rails 中嵌入博客
我有一个 Ruby on Rails 应用程序,并希望在该应用程序中包含一个博客。
我想知道最好的方法是什么。我不想有外部博客的链接。我希望将博客集成到我的应用程序中。而且我没有时间对博客功能进行编程。我想使用现有的解决方案。
实现这一目标的最佳方法是什么?有什么建议吗?最好的解决方案是什么?
I have a Ruby on Rails application and want to include a blog inside the application.
I was wondering what's the best way to do that. I don't want to have a link to an external blog. I want the blog integrated in my application. Also i don't have the time to programm the blog functionality. I want to use existing solutions.
What's the best way to accomplish that? Any recommendations? What are the best solutions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
将一个应用程序包含在另一个应用程序中的最佳方法是使用引擎。这可能会帮助您Ruby on Rails 3.1 博客引擎
The best way to include one application within another is by using engines. This might help you Ruby on Rails 3.1 Blog Engines
也许 Typo 可以满足您作为 Rails 引擎安装的需求。
Perhaps Typo would address your needs installed as a Rails Engine.
由于到目前为止还没有人做到这一点,所以我需要在这里提到 Rails 的精神是让一切都足够友好,以便您可以编写自己的代码。
这需要更多的工作,但是您的博客模块可以与应用程序的其余部分完美契合。
Since nobody has done it so far I need to mention here that the spirit of Rails is to make everything friendly enough so that you can code your own.
It's a bit more work but then your blog module fits right in with the rest of the app.