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 (303 Views)
| Don't Switch To Node For Web Socket Programming. Php Is Already There by JavaScript90(op): 11:31am On Nov 14, 2021*. Modified: 12:25pm 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(op): 2:26pm On Nov 14, 2021*. Modified: 3:51pm 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(op): 5:05pm On Nov 14, 2021 |
etoluw:just search for chat application using ratchet on youtube it will direct you some tutorials on how to use ratchet. |
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
Developing The Website You Want For You Business/brand • Do-follow Permanent Backlink From Our Own TECH Niche Blog. • Sales Funnel Design