in reply to Re: CGI, DBI, HTTP, SQL - How does it all fit together?
in thread CGI, DBI, HTTP, SQL - How does it all fit together?
To answer your question, I have used perl in the past to analyze large quantities of data from txt files. I have also done DB interaction in the past using postgreSQL & PHP, although the database system was already in place. I have never used perl CGI.
I will be picking up a copy of those books if I can find them at a local library.
So, from what I gather, a theoretical script would:
(a) Recieve a signal from a webserver using CGI param() and render the webpage using print() with HTML markup to create things like text fields for user data input.
(b) Use CGI to read in user input from those text fields (once again through param())
(c) Use DBI to generate an SQL query from the user input, connect to the database, send the query and fetch results
(d) Update webpage with CGI, display something like a table with the requested data retrieved using DBI.
Is the way in which the TWiki webpage communicates with my perl script dependent on the host (?terminology? -- referring to TWiki), or is there a resource that can help me understand that process as well?
Thanks once again,Somewhat less confused.. but still confused
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: CGI, DBI, HTTP, SQL - How does it all fit together?
by davido (Cardinal) on May 04, 2011 at 19:59 UTC |