Probably all of you who have worked with node.js have had that "Whoa" feeling. If you share the amazement with me, you've probably had good times with Ext JS 4, too. If we're on the same track, you've also wanted to use Ext JS 4 on server side as well as to share the code base between client and server end (for example models).
Inspired by Alson Kemp (thank you), I decided to give it a shot and build my own extjs4 package, override it (remember,
node.js is not a browser), and have fun using it.
You can find the entire code, jsb3 files, and a very basic example at github:
https://github.com/grgur/node-extjs4
or install via npm
PHP Code:
npm install node-extjs4
Please contribute with test results, feedback, etc.
Basic sample:
app.js
PHP Code:
require('node-extjs4');
console.log(Ext.getVersion().version);
Run as:
Output: