Groups | Search | Server Info | Login | Register


Groups > microsoft.public.word.formatting.longdocs > #902

Re: When to use PHP or Node.js

Newsgroups microsoft.public.word.formatting.longdocs
Date 2023-08-11 02:30 -0700
References <henrycooper.1afe8f10@wordbanter.com>
Message-ID <b46c6703-b2b7-48d6-b494-0dae51115cc4n@googlegroups.com> (permalink)
Subject Re: When to use PHP or Node.js
From goalken highlight <makegoalken@gmail.com>

Show all headers | View raw


Vào lúc 20:31:07 UTC+7 ngày Thứ Năm, 3 tháng 6, 2021, henrycooper đã viết:
> Both are back-end languages, but Node.js can give you an edge if you're 
> looking for a system that uses JavaScript in both front-end and 
> back-end. If you're trying to choose between back-end technologies, it's 
> probably a good idea to go into a little more detail. 
> 
> When to use PHP? 
> 
> Centralized server: In case we don't plan to scale our application to 
> multiple servers, we can use LAMP (Linux, Apache, MySQL and PHP). This 
> may vary depending on project requirements. 
> 
> Portability: PHP is a flexible language. The low cost of web hosting and 
> the availability of servers for PHP is beyond the table. PHP can run on 
> almost any platform that has Apache, IIS installed and has a supported 
> database system, which makes PHP applications flexible and easy to 
> deploy. 'fnaf free' (https://fnafgame.io) 
> 
> When to use Node.js 
> 
> Sharing a language: Node.js would be the correct choice to use if your 
> project involves things like MongoDB, ExpressJs, AngularJs, BackBoneJs, 
> ReactJs, SPA (single page applications),.. this makes it easy to have a 
> system entirely using JavaScript. 
> 
> Realtime: Node.js is very good for applications that require realtime, 
> but I would be concerned about using Node.js for applications related to 
> finance and money, because Javascript itself is not reliable when 
> talking about numbers since everything is either integer or float and 
> there's no real clear separation between the two, "floating point 
> number" is a prime example when it comes to JavaScript calculations. A 
> more secure language is recommended when working on financial 
> applications that require a lot of computation, or need to install a 
> sufficiently reliable library. 
> 
> Speed: Node.js is much faster than PHP when it comes to execution speed, 
> if speed is all you need for your application, such as a single-browser 
> multiplayer game or app For chat applications, Node.js is a better 
> choice than PHP. 
> 
> 
> 
> 
> -- 
> henrycooper

Back to microsoft.public.word.formatting.longdocs | Previous | Next | Find similar


Thread

Re: When to use PHP or Node.js goalken highlight <makegoalken@gmail.com> - 2023-08-11 02:30 -0700

csiph-web