Hi,
I don't think we have any documentation specifically around this, though it would be cool if you could add some to the Gears wiki as you go along.
Which browser are you referring to?
Gears for Safari is currently implemented as an NPAPI plugin, but it also hooks pretty deeply into the browser at certain points and for the Safari port at least we use OS X-ony APIs to do this. Your browser will probably require different plumbing.
One such area is Localserver:
* Gears needs to be able to intercept the browser's outgoing http requests so that it can serve content offline and from the Gears cache when appropriate.
* The Gears plugin needs to load before any http requests are made by the browser, so that if we're offline and the first requested page can be served by Gears - we can satisfy the request. Then NPAPI spec doesn't support this, and on OS X we use an InputManager to load Gears at browser startup.
I'd recommend bringing up the modules in the following order:
* database.
* http_request.
* LocalServer
* Worker Pools
If you have any more questions, let me know...
Best regards,
Jeremy