[erlang-questions] sgte - an erlang template engne
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.
> 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
> 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.
More information about the erlang-questions