i’m working with Zend mvc project with ZendServer.
now i read of node.js that is build on V8 javascript engine with super fast performance to compile javascript code.
is there a way to use node.js for compile the javascript code into my view’s mvc projext?,
for example is possible compile javascript in server-side with node but continue to use my zend server to run php as now without distorting my project code?
thanks
Node doesn’t really compile Javascript. Node is an evented IO system built on top of V8 and works as a full-stack replacement.
You can make them work together, in various ways and depending on your architecture. For example, it is possible to use Node as a front-line web server and reverse proxy certain requests to your Zend/PHP server. I had set up this method as a proof-of-concept, because I wanted to use websockets+node along with a PHP site.
In reading your question, I have to assume that you will not want to go down this path.