What kind of functionality do you want to accomplish with a plugin?
I suggest you take a look at this article:
And also:
And this plugin may be of interest for you: