
cproxyv8
CProxyV8 provide an easy way to expose properties and methods from C++ classes to Java Script using V8 engine without the need to specify callbacks for each item. This project implements generic Functors.
Objectives
- Avoid the need of specifics callbacks declarations and replace they by generic callbacks directly to the object instance.
- Provide an easy way to expose properties from C++ objects to Java Script V8
- Provide an easy way to expose methods from C++ objects to Java Script V8
- Avoid the need of MACROS to declare types or keep tracking of classes. The compiler must take care of this with templates.
- Achive this without modification of V8 code.
- Reflexion_(to be implemented)_, provide a way to call methods from C++ to C++ or JS with the same syntax. See Ideas
Usage: Basic Example
Related work
- v8-juice (v8 (J)avaScript (U)serland (I)ntegratable (C)omponents (E)mporium) v8-juice
Project Information
- License: New BSD License
- 33 stars
- svn-based source control
Labels:
V8
C
templates
JavaScript
embedded