wiki:WebDev1

Webdev1

In principle, it is just a pattern-matching on receive and dispatch of functions which return a response to be send back.

loop() ->
        receive
                {From, Msg} ->
                        From ! {self(), Msg},
                        loop();
                stop ->
                        true
        end.

Request, Response, etc are just set of interfaces.

It is a good idea to prototype a webapp is Scheme (Racket).

Last modified 2 years ago Last modified on Dec 2, 2018, 5:10:32 AM
Note: See TracWiki for help on using the wiki.