request of some info about opengl and python

Hello guys,
I’m searching for a guide for integrate OpenGL code in the python scripts of blender.
I know that here I can found a lot of stuff on it, but google, it did not helped me.
On the specific, I need to know how to put in the right way the GLSL in the variables and how to I can call them.
I read codes attached from yours .blend files, but I need of bases for understand the way in which they work.

I hope not to be misunderstood, my english sucks sometimes .-. …

ok, I found the tutorial, it was easy than I expected.

what’s about draw lines, points and other geometry in opengl (bgl) with python into blender???