pseudo-filesystem

howto create a filesystem like /proc?

I would like to create a pseudo filesystem like /proc to access an applications configuration. How could i achieve this or where could i find some introductory dokumentation about it? ...