[erlang-questions] sgte - an erlang template engne
Wed Nov 8 22:26:30 CET 2006
From: Filippo Pacini [mailto:]
Sent: Wednesday, November 08, 2006 1:26 PM
To: Logan, Martin
Cc: Erlang Users' List
Subject: Re: [erlang-questions] sgte - an erlang template engne
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
Sounds like a good idea to me.
More information about the erlang-questions