Advertisement
2_2002-2004 Complete Applications #125550

XML based Configuration file

This application has a class which handles all the code related to reading frmo and writing into an XML file. This XML file has a common structure. I developed this so that my applications are not dependent on window's registry or INI files to store configuration information. For example, an application often requires to login into a database. For this it requires either DSN or Driver name, database server name, database name etc. Instead of hard coding this in the application, it is often read from either Window's registry or INI. But XML file is the perfect place to keep this information. Code also shows how to use it to store configuration file as encrypted. XML File is very easy to understand. Has only three elements (Configuration, Section and Item). So it is very easy for end-users to modify as well.

AI

AI 요약: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

소스 코드
original-source
Upload
원본 댓글 (3)
Wayback Machine에서 복구됨