[webkit-help] Documentation for APIClient and APIObject

Benjamin Poulain benjamin at webkit.org
Sun Mar 23 23:44:39 PDT 2014


On 3/23/14, 11:30 PM, jyothi kumar wrote:
> I am a beginner in understanding webkit2 project. Is there any 
> documentation/Design principle available for understanding classes 
> like APIClient,APIObject etc..
There are several ports using WebKit2 (Apple, GTK, EFL). There is a 
common set of internal C APIs that is used by all ports. The common C 
APIs make the architecture and testing easier for everyone.

If I remember correctly, the APIClients, APIObjects, etc are just used 
to create the opaque C types used by the internal API.

To learn WebKit2, you should not start there. The C API is a layering 
detail. It will be a lot easier to start from the high level API of the 
port you are using, and go down the stack toward the proxy objects and 
finally the engine.

Benjamin


More information about the webkit-help mailing list