Hey, This is in response to Sean's and Subham's Emails. I need guidance in deciding the back end technology to be used. I have to paused working on proposal, as we need to decide on PHP or node.js ( As both of them are worked on by other members in previous GSOC, but somehow are not deployed) ?
I am open to work on any of it ( As i have work experience of PHP with mvc and Node.js ) I have once again researched the pros and cons of both and my opinion would be to go with PHP MVC architect for following reasons:- 1.node.js is event driven, so best suited for real time chat (or video streaming etc.). 2. "It is not advisable to use Node.js for CPU intensive applications" Site : http://www.tutorialspoint.com/nodejs/nodejs_introduction.htm 3. "Node.js is not a good fit for CPU-bound workloads: programs that perform relatively little IO but instead engage in CPU heavy computations. Some examples include image processing, weather prediction, sorting, or any other kind of heavy algorithmic processing. There are two reasons Node.js is not a technology of choice for such applications:" Performing long running CPU-bound operations in Node.js would stop processing of events by the single-threaded event loop. Site : https://strongloop.com/strongblog/node-js-net-getting-started-part-two/ 4.Ease of Deployment. 5.Hosting and Deployment Node.js is a different beast and server-side apps run permanently. You’ll need a real/virtual/cloud or specialist server environment, ideally with root SSH access. That’s a step too far for some hosts, especially on shared hosting where you could bring down the whole system. Node.js hosting will become simpler, but I doubt it’ll ever match the ease of FTP’ing a few PHP files. Site : http://www.sitepoint.com/sitepoint-smackdown-php-vs-node-js/ I do not envisage OGV to need event / I-O driven features like Real time chat, streaming video etc. But it will have CPU-bound workload like .g to .obj file conversion, many other tools etc. So I recommend PHP - CI implementation (But I am open to Node.js implementation too as much of the work is done) Going through both the project my study is PHP implementation has more and clear documentation <https://github.com/BRL-CAD/geometry_viewer/tree/master/doc>. Node.js lacks the proper documentation, TO DO list, why project could not be deployed on the server (But I would also love to work on this ) ? We should decide on one of this technology, I would request in 2-3 days time frame. So I can finalize my proposal in time and can submit my patch. -- Regards, Chintan Zaveri
------------------------------------------------------------------------------
_______________________________________________ BRL-CAD Developer mailing list brlcad-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-devel