[erlang-questions] ErlyWeb

Yariv Sadan <>
Thu Nov 2 13:21:40 CET 2006


On 11/2/06, Roberto Saccon <> wrote:
> I tried to integrate erlyweb into the webapp I am building, and I am
> facing currently the following problems:
>
> erlyweb:compile(AppRoot, Options) compiles everything in the
> src-directory, but ignores the {i, MyIncludeDir} option I try to set.
> And I have many modules with a JSON entrypoint and so far I compiled
> them automatically with eclipse erlide (on file save), and I would
> like to keep that. Wouldn't it make sense that erlyweb:compile just
> compiles those files created with erlyweb ?

I will look into that, thanks. I'm also going to try to allow for
automatic compilation in dev mode.

>
> erlyweb seems currently to be tied to SQL databases (I hope I am
> wrong). I have a fast clustered cache (still in early development) and
> a slow BerkleyDB-like persistent storage (Amazon S3) and I need figure
> out how to make an erlydb version for such needs. Any thoughts on that
> ? What is the roadmap for erlydb ?

Actually, ErlyWeb doesn't require ErlyDB. Just keep your models
outside of src/components and you'll be able to use them directly. The
only ErlyDB integration point is in the compilation phase (and when
you're using -erlyweb_magic(on).), so yes, it is quite decoupled.

Cheers,
Yariv



More information about the erlang-questions mailing list