View Single Post
  #10  
Old 06-30-2010, 10:32 PM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by fowlplay4 View Post
See the thing about my example is, by using accessors and mutators to work with your information, you can easily change it over from a DB-Flag system to SQLite with minimal trouble.
Quoted for truth.


A good script design is one that lets you switch out how you are accessing your data with no effect in the rest of your code.

SQLite is not a solution for all problems and, in fact, is overkill 90% of the time.

Designing your code like fowlplay4 just did lets you switch it over to SQLite in the future if you need to for some reason.
Reply With Quote