Hi everybody, especialy Govinda

I need help using the textEditor component.
How can I load a text from a script, or assign a text to the text range?
Can this be hooked to a php script delivering a html stream for loading, and then to a script safing the results to a php script?
I'd like to use it for content editing on a template driven website.