On Fri, Jan 10, 2014 at 12:59 AM, Rishabh Sharma
<rishabh.bits...@gmail.com> wrote:
> There are few points which I think give Node.js an edge over PHP.
>
> 1. Speed - Node is asynchronous which means there are less database I/O
> delays. It can also handle multiple connections faster.

Very true, it has less I/O delays but for now our app is going to be
light on database I/O and instead comparatively heavier on CPU
computations ( I think so, can anyone confirm? ). I can add about all
the single threaded nature of nodejs to tell how that makes it bad use
case but my real reason of hesitation with nodejs is below.

> 2. Javascript on the server - Using the same language on the browser and
> server is easier for the developer. Plus the javascript interpreter V8 is
> very fast, which makes javascript much faster on the server.

Yes, same language across the web is great but we must admit that
express framework is not as powerful as Rails, Django, CakePHP or
Laravel specially when it comes to simple CRUD apps. No doubt, we can
hope to see them becoming better in coming days but for now when all
that our backend code does is a bit of authentication and calling
BRL-CAD at times a bit of PHP won't bite us (developers). Again, I am
no expert and this is just an opinion. I may ask someone better than
me in the community and answer later.


--
Inderpreet Singh

Ekoankar Sahai
ishwerdas.com
facebook.com/okayinder
https://kippt.com/okayinder

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to