Paul Newton wrote:

MB Software Solutions wrote:

Paul Newton wrote:

Hi

I am toying with OO approaches to handling INI files. First of all I am a great believer in NOT reinventing wheels so if something along the lines I am describing already exists, please let me know. The general idea is this

I use a MySQL table that has the structure cKeyField, cKeyValue, cKeyType when creating the oSettings object. I prefer that over the INI idea, as it's much easier, imo.


Whilst that is also a good approach it does rely on MySQL - which dependency I would rather not have. Also INI files can be modified, if necessary, by the user, using a simple program like Notepad - that can sometimes be an advantage.


Let me clarify: I use an INI table for some things, but some settings I use the MySQL lookup table approach. There's a case for both.

--
Michael J. Babcock, MCP
MB Software Solutions, LLC
http://mbsoftwaresolutions.com
http://fabmate.com
"Work smarter, not harder, with MBSS custom software solutions!"



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to