Do you know of any free JavaScript framework that knows how to read and write doc, docx and odf documents like Google Docs? I want do download it and include it in my own web based application. If there is no such framework, what are my alternative?
I don't think such a "framework exists". It would be much too complex to develop such functions as reading XML/zip files (odf) or doc file (including each different revisions/versions). Such a framework would need a server side component.
Alternatives would be simple text editors like tinyMCE. But they just save data as text.
tinyMCE is a good free javascript-based editor you can use for free. It does not, however, support any special document formats. I doubt you'll find anything for free. Is free a requirement?
EDIT: came across phpLiveDocx which seems may do what you're looking for. hope that helps
Feng Office (formerly OpenGoo) is an open source competitior to Google Apps. I've not used it yet, but while searching the web, it came up a few times. You can sign up for the service or install it on your own PHP server.