faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

20 of 34 people (59%) answered Yes
Recently 10 of 10 people (100%) answered Yes

Entry

Is it worth creating files, like a log, for each new member or simply pull from a database.

Mar 1st, 2009 08:41
Sarah Turner, healthy man, dman, ha mo, Kerim Cilingiroglu, Narendra Jain, Martin Tuncaydin, http://www.ttnr.org


It purely depends on the extent of the information needed for your 
application. Following should be considered:
1. Do you need user history?
2. User security requirements.
3. Module security / usage requirements.
4. Disk space requirements and availability.
5. System performance and response times required.
Generall speaking, I would like a logging for users and even track 
module usage for all usage statistics etc. Afterall, computers are 
faster with much more available spaces - and so do not create much 
problems.
Hope this helps...
-----
Definitely use database. Even mysql is dramatically faster than straight 
file access.
Using database for this feature would not only good for performance but
it would make it easier for you to make large scale changes and
maintenance as well.
http://www.hostingping.com
http://www.alvantom.com
http://www.scriptstan.com
http://www.carscorals.com
http://www.cellphonesmobiles.com
http://www.toplawyersattorneys.com
--------------------------------------------------------------------
http://flyvningertilschweiz.blogtact.com/
http://volssuisse.blogtact.com/
http://volsromeitalie.blogtact.com/
http://viajesvacaciones.blogtact.com/
http://reisenchina.blogtact.com/
http://flugeschweiz.blogtact.com/
http://resasemester.blogtact.com/
http://viaggivacanze.blogtact.com/
http://reisenurlaub.blogtact.com/
http://reizenvakanties.blogtact.com/
http://volisvizzera.blogtact.com/
http://gartenpflege.blogtact.com/
http://geschenkideeen.blogtact.com/
http://vluchtenromeitalie.blogtact.com/