594 reputation
713
bio website vedaproject.org
location San Antonio, TX
age 30
visits member for 2 years, 10 months
seen Jun 12 at 0:12

I am a Javascript and PHP programmer, starting an educational non-profit website:

http://www.vedaproject.org


Apr
20
awarded  Favorite Question
Jan
17
awarded  Notable Question
Sep
26
awarded  Yearling
Jul
29
awarded  Notable Question
Mar
23
awarded  Popular Question
Feb
19
awarded  Caucus
Oct
22
awarded  Nice Question
Sep
26
awarded  Yearling
Jul
2
awarded  Popular Question
Jun
12
accepted Why would it ever be possible for Java to be faster than C++?
Oct
13
accepted Speed of Java vs. JS / HTML / CSS for web applications
Oct
12
asked Speed of Java vs. JS / HTML / CSS for web applications
Sep
29
comment Server-side event logs through DB or writing to file?
In addition, Codism makes the point that file writing is faster and is just as easy to search through a file using regex. While Emmad suggested the many points that one must consider when writing to files (and in turn suggested using a DB). In any case, just because I checked this as the answer, I do not want readers to neglect reading the other excellent answers.
Sep
29
comment Server-side event logs through DB or writing to file?
All the answers were very solid and helpful, but this really contains a critical point that makes file-writing the only way to go: It's much more likely that the DB will go down than being unable to write to files. Ethan Post has a great point as well, which is during a particular action / server request, temporarily store the events (queries, etc.) and then if an error is encountered, throw them all to the logfile, so you have the path when there's an error but aren't storing a bunch of unnecessary events.
Sep
29
accepted Server-side event logs through DB or writing to file?
Sep
29
asked Server-side event logs through DB or writing to file?
Sep
27
accepted What are the advantages of prototype-based OOP over class-based OOP?
Sep
27
awarded  Notable Question
Sep
27
awarded  Nice Question
Sep
27
asked What are the advantages of prototype-based OOP over class-based OOP?