mysql - Can node.js be integrated with php? -
is idea scaling heavy php apps ? example, how node's mysql module compare php's mysqli extension in terms of performance etc ..
i'd consider wrapping php app node.js; is, having migration path of existing php being called node code, migrating php code javascript. reason being, execution model of node.js (non-blocking) doesn't play php's execution model. said, execution models can made more compatible wrapping approach; is, having node exposed server, , making appropriate php calls (re-request); can use process "migrate" "wrapped" php on node server, migrate php code node.
of course, begs question of whether or not need / want this, that's determine...
Comments
Post a Comment