[erlang-questions] What level of bundling is correct for sharing code?

Joern opendev@REDACTED
Wed Jan 16 00:04:33 CET 2008


On Jan 15, 2008 11:01 PM, fess <fess-erlang@REDACTED> wrote:

> Should it be an Application?  or a Library Application?  or  just the
> single gen_server file that it is?

There is no real difference between an application and what you call a
library application. Without having taken a closer look at your code
you should probably bundle it as an application, make the behaviour
configurable enough and factor the functionality of it out into an api
module. This way it should be very easy to integrate it.

Only changes you need to make is to pick a prefix, add this to your
files and name your application accordingly. And add an .app file if
you feel like it or your application has dependencies.


More information about the erlang-questions mailing list