Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 16th, 2007, 8:50 PM   #1
Haseloff
Newbie
 
Join Date: Feb 2007
Posts: 4
Rep Power: 0 Haseloff is on a distinguished road
How do you cache information taken from a form?

I was wondering how you cache information from a form so that at the end of the day I can run one script to populate the database. This is so the database is disconnected from the web script but also so it only populates once a day instead of hundreds of separate times.

I'm just looking for a starting point.

THanks in advance
Haseloff is offline   Reply With Quote
Old Feb 16th, 2007, 11:03 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Save it in a file? I don't see that you save anything: hundreds of file updates, one database update. Surely you're not thinking client side, are you (this being in the Javascript forum)?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Feb 17th, 2007, 6:18 AM   #3
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 4 Arevos is on a distinguished road
I can't see it having much performance benefit, as DaWei says, nor any security benefit. The only reason you'd do something like this is out of necessity, for instance, if your web host doesn't provide any databases that you can use directly.

But yes, the only other way to do it is to populate a file of some kind. Perhaps a file that has some SQL in it so you can run it directly against your database.
Arevos is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FFT DWTIB -> Optimization -> Choosing An Appropriate Run Time Sane Software Design and Algorithms 7 Dec 1st, 2006 10:40 AM
Show or hiding forms/modifying control properties ..from different a form.. cloud- C# 4 Nov 10th, 2006 10:51 AM
Break Point Problem on VC++ 6.0 chanwing C++ 4 Feb 8th, 2006 3:42 AM
.NET Timer Form closing issue MBirchmeier C# 4 Nov 21st, 2005 10:00 AM
Hiw to verify form information bulio PHP 3 Jul 12th, 2005 9:21 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:33 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC