Open source param manager for delphi

We recently released as open source a framework that was proprietary code. This is part of a program that is intended to turn parts of our code base in open source code. In fact, we now have an entire afternoon, every week, to work on open source projects, we are using this time to decouple and release some of our code.

This framework is a quite useful piece of code that basically manages all the params that we have in our systems. We call it Param Manager.

What I like the most is that with it I can completely forget about database schemas, dbx, datasets, and that kind of boring stuff. When I have to create or use a param I only have to add one unit in the uses clause and use a couple of simple methods.

Ok, maybe you have to worry about the database and stuff if you are starting to integrate the framework into your software, but thats it.

The framework work extremely well into ours software, but, we have just open source it, so, we are making some changes to make it easy for developers use it in their softwares.

The entire code, automated tests and documentation is on github, here.

I hope this framework can make your life easier, and maybe you can contribute to improve it.

Advertisements

2 thoughts on “Open source param manager for delphi

  1. Nice, but could you consider having the whole source be english? There are spanish (?) identifiers in there.

    Also having encryption in there is nice, but from what I can tell, it’s just ‘for show’ and I’m not just referring to the default “cypher”, but to having the parameters encrypted individually. Having many small data encrypted with the same key and no salt means it’s as good as having no encryption, regardless of how strong the actual cypher you use actually is. As a very minimal step, you should encrypt the parameter name and value together, not separately, and encrypt them along with some random salt value.

  2. Thanks for you comment John.

    I really sorry about the Portuguese identifiers. Our code is basically PT-Br, we make an effort to release all of it in english but, it seems that we have forgotten something. You can create an issue reporting where these identifiers are and we will fix them. 🙂

    About the encryption. Yeah, it may be not the best way to deal with it. It is a simple encryption method. Our primary goal was prevent users (and even our support team) from see what the params are and his values. Sometimes people decide to change these values directly in the database without knowing exactly the consequences, we want to prevent this. We’re not really that concerned about any attacks on our database or something like that. But it might be a good idea to improve it.

    The good news is that you can create an issue explaining this problem and we can work to fix it. Also, you can send us a Pull Request and contribute to the project. Seems that you have a very nice knowledge with encription methods, any help, certainly will be welcome.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s