What is Node.js and why would I use it?

lol @ the Deno joke! It makes it even better with PHP in the background*

3 Likes

Better to wait for the final release. What I am doing is not user friendly.

So if I am understand this correctly a use case of node.js would be to have a site for example an auction website where an a bidder a bids on an item and another bidder b would see that bid show up right away with having to do a page refresh or you could take that a step farther if bidder b was the winning bidder prior to the bidder a bidding, once bidder a bid bidder b would not only see the new price but now might see a flash of a red background for that item.

Is that correct, basically all time stuff that happens without a page refresh. Can you do that today with php in Wappler?

Would there be any advantage to learning Node.js so that we can be aware of all the tricks-of-the-trade within Wappler both now and the future?

So I am at the beginning of my project and have spent some time creating server actions and making them work just as I need. I want to move to Node.js, because I know it will handle the real time components of my app so much better! better to do this now not another month down the track.

Unfortunately you can’t open both projects at the same time or convert them to Nodejs, so a converter would be awesome!!

I think the only option is opening up the .php project in a laptop and then just copying the server actions setup, but would be time consuming, but i think it is the only option at this stage.

But what about the pages created, do I just recreate the pages and copy the html and dump it in the new pages? And I assume that the new page type will simply be .html type?