Page 1 of 1 |
|
Posted: Mon, 6th Jan 2014 11:21 Post subject: Node.js is cool |
|
 |
Just recently I read some stuff about node.js again and I found it to be quite interesting but I couldn't see where I would use it...
So I was playing around again in my free time with CSS and had the idea to do some real time networking between two clients and thought of using PHP until I realized that I can't properly sync two clients without writing stuff to a db/file which would be a really shitty approach for what I had in mind. So I initially thought about a java app server (like tomcat) but then again I didn't want to create something huge that would justify the use of java (and I do so much java at work that I actually want to play around with different stuff).
So I thought of the nice html5 websockets, though I never did anything with them and searched for implementations that I could use. The easiest implementation seemed to be using node.js, so I downloaded the package, installed it and see, it works really nice! Did not expect that! And I love javascript, so that is a huge plus!
Anyone else here with experience in using websockets and/or node.js?
|
|
Back to top |
|
 |
|
Posted: Mon, 6th Jan 2014 11:44 Post subject: |
|
 |
Last edited by Interinactive on Tue, 5th Oct 2021 02:40; edited 1 time in total
|
|
Back to top |
|
 |
|
Posted: Mon, 6th Jan 2014 11:58 Post subject: |
|
 |
I will I also intend to share the code if there should be interest for it.
Now if I understand this right, it will be quite complicated to find some hosting (without renting the whole machine) where I can host my node stuff, right? :/
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Mon, 6th Jan 2014 12:23 Post subject: |
|
 |
Yeah, very complicated *cough*justaskme*cough*.
|
|
Back to top |
|
 |
|
Posted: Mon, 6th Jan 2014 12:57 Post subject: |
|
 |
Thanks, let me wrap that up first and see if it works as intended. I should setup some architectural drawing for myself to help me get rid of the confusion.
I even find it helpful to tell my wife what I plan to do and even though she has only little knowledge it's really helpful to just share some thoughts, because if you are going to tell your ideas to somebody, you'll try to fill all possible holes in the process 
|
|
Back to top |
|
 |
|
Posted: Mon, 6th Jan 2014 13:51 Post subject: |
|
 |
|
|
Back to top |
|
 |
|
Posted: Mon, 6th Jan 2014 15:38 Post subject: |
|
 |
Yeah I just read that some days ago, was unfamiliar with the term 
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
|
Posted: Mon, 6th Jan 2014 23:37 Post subject: |
|
 |
What sorcery is this o_O
Well, I guess "security" comes only second with such a system xD
|
|
Back to top |
|
 |
|
Posted: Tue, 7th Jan 2014 00:44 Post subject: |
|
 |
TBH, node.js is a hipsters paradise Ruby pales in comparison
Still, very impressive project.
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |