PParam is a portable parameter (data structure) definition framework for C++.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
include
src
.gitignore
Makefile.am
README.md
autogen-clean.sh
autogen.sh
configure.ac
install-pkgs.sh
pparam.info.in
pparam.pc.in
pparam.spec.in

README.md

Introduction

PParam is a portable parameter (data structure) definition framework for C++.

By PParam, developers could define their parameters, and then easily convert them to XML/JSON and read/write the parameters from/to files or databases.

At now PParam supports conversion to/from XML and also have an experimental support of SQLite.

For object-oriented programming, PParam introduces a method that called XObject. XObject defines a real world as a set of objects and their connections. This method help you to reduce complexity of design and to increase system flexibility and stability.

Any try to develop PParam is welcome.

Installation

The first step is to get the lastest source and unzip it. run this command to configure PParam for your system:

$ ./configure

NOTE: if the configure file does not exist, run ./autogen.sh script. The next step is building the various binary files. So, enter:

$ make

Then login as root and run:

$ make install

That's all ;-)

Use pkg-config to discover the necessary include and linker arguments. For instance,

$ pkg-config libpparam-1.0 --cflags –libs

Documentation

Our wiki contains several tutorials on how to use PParam. if you are looking for a more in-depth view of how PParam works, we recommend you to look at "sparam.hpp|cpp" files. We also put the "doxygen" output of PParam comments here If you have questions regarding the use of PParam feel free to register and ask your question on forum.

PParam Roadmap

The roadmap of PParam is:

  • JSON support.
  • Attributes support in XML tags.
  • Database support, PParam now has a limited support of "sqlite", so we want to have a complete DB layer, and support of different DBMS-es. By this feature, programmer could store/retrieve it's parameters in/from DB.
  • Develop more special parameters (see "sparam.hpp|cpp").

Contributing Code

If you are capable of contributing code changes, we encourage you to do so. You can help us in different fields:

  • Develop new features (see roadmap above)
  • Testing and bug reports
  • Improving Documentation
  • ...

Bugs

Please use github issues to report bugs.

About

Copyright 2010-2015 PDNSoft Co., released under the GPL license