help with connection
im working on distributed system project using Erlang programing language.
my part is User Interface , which i used (HTML,CSS ) , my second part is connecting database with UI , so the user inters information then connected with the database and get the results and redisplay it to the user again
the database that we used is couchDB
my question is i have no idea about how i can connect UI with the database, i should connect them directly or i should use a server such as (yaws server) any suggestions, tutorials, or source code that can help me with ill be appreciated