Building a website using erlang YAWS webserver. To generate dynamic content we have to embed erlang code within tags in ".yaws" page, which I feel is not best choice. I am aware of Nitrogen project, but I am not fond of proprietary solution.
Could anyone recommend better UI solution and example with YAWS as webserver?
You can use an appmod in Yaws.
The out function within an appmod module has the same semantic as in yaws page. You can then use the native Yaws Service Side Include system to keep your html code appart from your erlang code, if you want to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With