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
It is a server side language that talks to the database. You did not mention what one your using. I shall assume its php or a flavor of it that talks to the DB.
If your using <form> in your UI, then just direct it to the php file you will write to interface with the DB.
<form action="My Php File" method="post">
hi , thanx for your respond but i didn't get your point yet (im a little confused about that)
the project is extract several files and save them in couchDB then the user will inter information such as (apartment size, number of rums, the area) we take what the user chose and try matching with the information that we have in the couchDB then display it to the user.
i just wanna know:
1. how i can download the server for window 7
2. how yaws server work and how i can write codes within the UI (HTML,CSS) codes
You have to have a server-side language in order to interact with the database. ColdFusion, PHP, ASP, etc.
A server is a computer that holds files and maybe programs, it could sit in the basement of an office building and the office workers that need to work on those files (had in the old days a monitor; today they have a computer) that would ask the server for a file and maybe the program needed to work on the file. Nothing was kept on the computer on the workers desk. In the age of the internet, the server can be anywhere in the world. Soon maybe they will be on satellites. We, the users, point our computer to the server by typing an address into the address bar of our browsers, like: http://www.codingforums.com.
The server will send us the main page of the site we asked for. They will show on the browser with no problems for all computer operation systems. A special server for IE7 is not needed. The files you write will be placed on that server. More info here: http://en.wikipedia.org/wiki/Server_%28computing%29
You can put a small server on your computer to act like the bigger ones. I use WAMPSERVER, you can get it here: http://www.wampserver.com/en/
Simple html with form to send information to another file on the server.
|All times are GMT +1. The time now is 10:13 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.