Node.js is cool
Page 1 of 1
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: 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?


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
Interinactive
VIP Member



Posts: 29151

PostPosted: 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
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Mon, 6th Jan 2014 11:58    Post subject:
I will Smile 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? :/


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
Werelds
Special Little Man



Posts: 15098
Location: 0100111001001100
PostPosted: Mon, 6th Jan 2014 12:23    Post subject:
Yeah, very complicated *cough*justaskme*cough*.
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: 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 Smile


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
shole




Posts: 3363

PostPosted: Mon, 6th Jan 2014 13:51    Post subject:
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Mon, 6th Jan 2014 15:38    Post subject:
Very Happy Yeah I just read that some days ago, was unfamiliar with the term Very Happy


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
WhiteBarbarian




Posts: 6003
Location: Russia
PostPosted: Mon, 6th Jan 2014 23:05    Post subject:
Pumpy, check out Meteor project

https://www.meteor.com/


Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: 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


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
WhiteBarbarian




Posts: 6003
Location: Russia
PostPosted: Tue, 7th Jan 2014 00:44    Post subject:
TBH, node.js is a hipsters paradise Very Happy Ruby pales in comparison

Still, very impressive project.


Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group