Awesomium (technical)
Posted: Wed Aug 26, 2009 7:33 pm
Hey Guys, great work.
You're blog posts have turned my team onto Awesomium. We were hoping you might spend a little time talk about what you've done, either on the blog or here.
In particular, I wonder three things:
* How did you work around the silly ClientObject for your Javascript binding? When playing with the Overgrowth alpha's, I notice none of your commands are preceded with "Client.", and I don't see any .js files providing that redirection. We are very interested in providing the same clean interface to our private APIs. If you made changes to Awesomium to achieve this, can you post the new code? (LGPL, baby!)
* Secondly, what hooks did you need to add to support the WebKit Console? Going through the WebKit code, that wasn't very obvious, other than finding the .html & .js sources and a couple of WebDevTool* classes. Any details would be greatly appreciated.
* Finally, assuming you're using multiple WebViews, are you sharing data between them? But this, I mean some variables in each context can refer to the same data. Without exposing the CppVariant or NPVariant, I don't see how to do this. Maybe that is exactly what your doing, which is what we're looking at, and would help resolve the first question above.
PS - If we come up with a clean solution to the above problems, I plan to send a patch to the Sirikata guys maintaining an LGPL branch. http://github.com/pathorn/awesomium
You're blog posts have turned my team onto Awesomium. We were hoping you might spend a little time talk about what you've done, either on the blog or here.
In particular, I wonder three things:
* How did you work around the silly ClientObject for your Javascript binding? When playing with the Overgrowth alpha's, I notice none of your commands are preceded with "Client.", and I don't see any .js files providing that redirection. We are very interested in providing the same clean interface to our private APIs. If you made changes to Awesomium to achieve this, can you post the new code? (LGPL, baby!)
* Secondly, what hooks did you need to add to support the WebKit Console? Going through the WebKit code, that wasn't very obvious, other than finding the .html & .js sources and a couple of WebDevTool* classes. Any details would be greatly appreciated.
* Finally, assuming you're using multiple WebViews, are you sharing data between them? But this, I mean some variables in each context can refer to the same data. Without exposing the CppVariant or NPVariant, I don't see how to do this. Maybe that is exactly what your doing, which is what we're looking at, and would help resolve the first question above.
PS - If we come up with a clean solution to the above problems, I plan to send a patch to the Sirikata guys maintaining an LGPL branch. http://github.com/pathorn/awesomium