Interesting that they tossed the javascript.

> > I haven't figured out how to make frames on the fly without
> > pre-creating my html
> > files that I will insert. I think that can be done in javascript
> > but netgrocer doesn't
> > do this (or I didn't see it). I reckon they might just have a
> > sort of temp table
> > where data is entered and then periodically wiped clean. I did
> > this same thing
> > with a search engine once.
> 
> Not sure I follow you here. What it looks like they are doing is
> creating a template for each frame and loading it dynamically from the
> database with links like:

You have to update something on the server-side to maintain status of the
CART.  Without frames it is easy to do by just passing the data back and
forth via the cgi in hidden fields. I don't see how to do this with frames
(nor am I that interested).

So they must write the data to a database and then later they must delete
the records created.  What I don't like about that is that you could
consume more space than is allotted.  Also, better be sure you delete the
right records..

> I'd use a database instead of a file. ID the user in the database via
> their login and you can collect relational data until the cows come
> home. Also much easier to do analysis, drill-downs, adhoc queries, etc.
> on the db.

Umm. I really like using the rdbms for just what you mentioned.  I have a
sql form where I can just give the name of the database and I just insert
the sql queries to get the results back.   Very nice for just looking up
info from data.

I have to do this shopping cart for someone who uses one of those hosts
who don't offer any rdbms.  A side note, I had to do a job for a web
developer who had their site with valueweb. Can you imagine doing the work
without access to telnet? I had to write cgi's to communicate with the
database server. Ughhh.. I tried to import a file via a cgi I wrote for
importing files into msql and it ran out of memory. The file was about 11
meg or so. I thought I could do just one line at a time and not consume
any memory (I thought I was deleting any memory from one insert to the
next but perhaps not).  I ended up just doing a 

msql Database < file_to_insert

and it took awhile but worked.

But to get back on track.  These people are using hosting companies that
are state-of-the-art for 1992. It is flat-file (like I was just a year
ago).

> Good and bad. Problems I kept having with the site stemmed from the size
> of the frame panes...sometimes data was hidden and unreachable with a
> scroll bar, due to a no-scroll setting. The main item frame requires
> constant scrolling on smaller res monitors. Indeed, I think the ideas
> are nice, but it needs some honing.

I think I would allow resizing or do it for 640x480. I looked at the site
at 800x600.

I am a big fan of benchmarking. Thanks for the tip and feedback.

Peter
 _________________________________________________________
Peter J. Schoenster                      [EMAIL PROTECTED]
Exercise Your Brain..Read a Book       http://www.rede.com/
             Free CGI Scripts and Applications
           http://www.rede.com/samples/index.html
____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------

Reply via email to