Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UI layer with YAWS webserver

Tags:

erlang

yaws

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?

like image 797
curiosity Avatar asked May 04 '26 06:05

curiosity


1 Answers

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.

like image 168
Bernard Notarianni Avatar answered May 07 '26 05:05

Bernard Notarianni