![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2007
Posts: 4
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#3 |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
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. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |