Sathish Manohar
Sathish Manohar

Reputation: 6119

How to make a blog application that plugs into other rails applications?

I want to have a blog functionality for some of the applications I have, Instead of developing and maintaining them as part of each application, I would like to develop a blog application and plug it right into other applications and maintain a single code base.

What approach should I take to accomplish this? Or Is there a gem that already does this?

Thanks.

Upvotes: 0

Views: 47

Answers (1)

james
james

Reputation: 383

A Rails engine sounds like your best bet. An engine is an application that provides functionality to its host application. Getting Started with Engines guide is a great place to start and just so happens to guide you through the process of creating a blog engine. There are such engines that exist in the wild, such as Blogit. Whatever you decide, running through the engine guide would give you a good understanding of how engines work.

Upvotes: 3

Related Questions