MySQL vs PHP flat file for this specific situation

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

johnk
Forum Newbie
Posts: 3
Joined: Thu Aug 10, 2006 5:52 pm

Post by johnk »

Hi. Noob here. I suggest always storing the data in a format that's appropriate (in this case, as a db table) and then "compiling" it into a form that's most efficient for execution. That is often in the storage format, but it may also mean as compilable code. I like to store strings in a table, and emit them to PHP files.
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

I've not been following this thread too closely --- but anybody consider sqlite? All the speed of a flat file with all the access of SQL.
Post Reply