CodeIgniter Forums
Node JS anyone? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forum-1.html)
+--- Forum: Lounge (https://forum.codeigniter.com/forum-3.html)
+--- Thread: Node JS anyone? (/thread-64443.html)

Pages: 1 2


Node JS anyone? - solidcodes - 02-20-2016

I'm studying it.
anyone here also using it?


RE: Node JS anyone? - albertleao - 02-21-2016

I use it.


RE: Node JS anyone? - solidcodes - 02-21-2016

@albertleao
What framework you are using dude?

By the way I'm planning to use Express.js, yours?

What's the most recommended framework in node.js right now?


RE: Node JS anyone? - albertleao - 02-21-2016

(02-21-2016, 05:56 PM)solidcodes Wrote: @albertleao
What framework you are using dude?

By the way I'm planning to use Express.js, yours?

What's the most recommended framework in node.js right now?

It really depends on what you are doing. My node.js application isn't a user facing system and doesn't need a framework for the tasks that it's completing. I just use various libraries to run a very limited amount of scripts. 

Express.js is the most popular framework and easiest to get started in. I've worked on a few apps in Express and its very simple to use and get going with.


RE: Node JS anyone? - solidcodes - 02-22-2016

(02-21-2016, 11:26 PM)albertleao Wrote:
(02-21-2016, 05:56 PM)solidcodes Wrote: @albertleao
What framework you are using dude?

By the way I'm planning to use Express.js, yours?

What's the most recommended framework in node.js right now?

It really depends on what you are doing. My node.js application isn't a user facing system and doesn't need a framework for the tasks that it's completing. I just use various libraries to run a very limited amount of scripts. 

Express.js is the most popular framework and easiest to get started in. I've worked on a few apps in Express and its very simple to use and get going with.

Thanks for the info.
Node.js is my replacement to Laravel.
JavaScript is really the best than PHP.
Because it can do both Server side and Client side.
While PHP can do server side only.


RE: Node JS anyone? - albertleao - 02-23-2016

(02-22-2016, 12:50 AM)solidcodes Wrote:
(02-21-2016, 11:26 PM)albertleao Wrote:
(02-21-2016, 05:56 PM)solidcodes Wrote: @albertleao
What framework you are using dude?

By the way I'm planning to use Express.js, yours?

What's the most recommended framework in node.js right now?

It really depends on what you are doing. My node.js application isn't a user facing system and doesn't need a framework for the tasks that it's completing. I just use various libraries to run a very limited amount of scripts. 

Express.js is the most popular framework and easiest to get started in. I've worked on a few apps in Express and its very simple to use and get going with.

Thanks for the info.
Node.js is my replacement to Laravel.
JavaScript is really the best than PHP.
Because it can do both Server side and Client side.
While PHP can do server side only.

That is a huge blanket statement that you will find is not true. There are advantages and disadvantages to using php vs javascript in your backend. 

Laravel/Codeigniter/Phalcon and others are perfectly fitted for some tasks while Node is fitted for others. Make sure you do your research thoroughly as you will be stuck on a platform after you've built an app in it. If you really want a super powerful language and framework, look into Phoenix which is written in Erlang/Elixir.


RE: Node JS anyone? - solidcodes - 02-24-2016

@alberleao
sorry for the wrong statement, perhaps this is because I'm new to Node.js
but still very excited to learning it right now...
How long you been using it?


RE: Node JS anyone? - solidcodes - 02-24-2016

@alberleao
In your personal experiences what are the advantages and dis-advantages of Node.js?

Thans in addvance for sharing...


RE: Node JS anyone? - albertleao - 02-24-2016

(02-24-2016, 06:33 PM)solidcodes Wrote: @alberleao
In your personal experiences what are the advantages and dis-advantages of Node.js?

Thans in addvance for sharing...

No worries. Here is what I would say...

Advantages:
  • Very fast & Async
  • Much higher performance when using websockets
  • Easy to integrate with mongodb
  • Has a lot of libraries with NPM
  • May look familiar because you know javascript


Disadvantages:
  • Is more difficult to setup than PHP+Apache
  • Just because you know client side javascript (jquery) does not mean you know enough to right backend code
There are many sites that will go into more detail than I'll give in this post. But at the end of the day, you just need to see if node is good for what you plan on doing. Regardless, as I always say, it's always good to learn new tools!


RE: Node JS anyone? - solidcodes - 02-24-2016

thanks for the input.