[erlang-questions] sgte - an erlang template engne

Filippo Pacini pacini@REDACTED
Wed Nov 8 20:25:32 CET 2006


Logan, Martin wrote:
> I like the interface and the functionality looks promising.  One
> comment, one question for you.  
thanks

> 
> Comment: You should use edoc for all your documentation, it is part of
> the erlang release now and generates great docs - you can see some
> examples at my site www.erlware.org under "fslib" or "G.A.S" docs. 
I'm quite new to erlang. I'd read something regarding edoc, but didn't
know it was the "standard" for documentation. I'll rewrite the docs
using edoc.

> 
> Second thing, the question, you are using a gen_server, but it appears
> that you are not keeping any state, why not use a plain old library
> instead of the server?
I'd thought to embed a cache in the template engine to store the
compiled templates. That's why I used the gen_server.
I'm not sure anymore that this is the right thing to do, so it might change.

Maybe I released the code too early, but I needed some feedback.

filippo




More information about the erlang-questions mailing list