Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,190,885 members, 7,942,216 topics. Date: Saturday, 07 September 2024 at 01:20 AM

Don't Switch To Node For Web Socket Programming. Php Is Already There - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Don't Switch To Node For Web Socket Programming. Php Is Already There (250 Views)

Comprehensive PHP Is Available. / Should I Switch To EZOIC From Adsense / Teach Javascript, React Or Node For N400K To N500K Each - Contract (2) (3) (4)

(1) (Reply) (Go Down)

Don't Switch To Node For Web Socket Programming. Php Is Already There by JavaScript90: 11:31am On Nov 14, 2021
For those that want to abandon php and switch to the shiny node.js because you think that you can't do the fancy stuffs like web socket programming, creating real time chat apps, timed executive of functions like the setInterval() and setTimeout() or async stuffs like fetch().then() in JavaScript DONT switch php can do these stuffs if not even better.

With the Advent of the ratchet libry powered by react php (another php libry) you can easily build real time chat applications, make timed execution of functions, make async requests etc.

Php 7 gave us the power to do these stuffs, with the Advent of php8 more support for async programming has been introduced

So as a business, you don't need to cough out that large amount of money setting up node server infastructure and hiring costly node developers. With that your regular shared hosting you can leverage the full power of php to create those special stuffs you want on your website or application and save your money for the promotion of your business.

You also get to enjoy great and large community support, easy database migration etc

So open your command prompt, navigate to your project root folder and type 'composer require cboden/ratchet' to start using and enjoy the power of ratchet and react php.
PHP IS EVOLVING!
Re: Don't Switch To Node For Web Socket Programming. Php Is Already There by JavaScript90: 2:26pm On Nov 14, 2021
in cases where you are looking for performance and speed it is advisable to use php+swoole which is over 8 times faster than node.js
Re: Don't Switch To Node For Web Socket Programming. Php Is Already There by etoluw: 4:20pm On Nov 14, 2021
thanks for the info.
Do you have a link to a tutorial for More information?
Re: Don't Switch To Node For Web Socket Programming. Php Is Already There by JavaScript90: 5:05pm On Nov 14, 2021
etoluw:
thanks for the info.

Do you have a link to a tutorial for More information?

just search for chat application using ratchet on youtube it will direct you some tutorials on how to use ratchet.

(1) (Reply)

Free Apps For Website Owners / I'm Currently In Need Of A Software Developer Urgently / Access Twitter Without A VPN In Restricted Areas (2 Major Ways)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.