我知道 Html、CSS、javascript、bootstrap,所以我想继续前进,但我很困惑该选择哪种服务器端语言,我学习了基本的 PHP。我有一个项目要完成,需要实时协作、文件上传等。现在我想在 2 到 3 个月内学习并完成我的项目。需要一些建议。 TIA
最佳答案
尽管您可以使用 PHP 创建实时应用程序,但 Node.js “自然”更适合此类应用程序。除此之外,正如您所说,您正在选择一种新的语言来学习,我建议您看看哪种语言变得更具表现力,并且从现在开始可能会在市场上更具吸引力。 Stack Overflow 的开发者调查是您开始这项研究的良好信息来源。
2017 年: https://insights.stackoverflow.com/survey/2017#most-popular-technologies
2016 年: https://insights.stackoverflow.com/survey/2016#technology-most-popular-technologies
作为我所说的 Node.js 和实时应用程序的基础:
你到底为什么要使用 Node.js
https://medium.com/the-node-js-collection/why-the-hell-would-you-use-node-js-4b053b94ab8e
Where Node.js really shines is in building fast, scalable network applications, as it’s capable of handling a huge number of simultaneous connections with high throughput, which equates to high scalability. How it works under-the-hood is pretty interesting. Compared to traditional web-serving techniques where each connection (request) spawns a new thread, taking up system RAM and eventually maxing-out at the amount of RAM available, Node.js operates on a single-thread, using non-blocking I/O calls, allowing it to support tens of thousands of concurrent connections (held in the event loop).
Node.js 的哪些方面使其适合实时 Web 应用程序?
https://www.quora.com/What-aspects-of-Node-js-make-it-suitable-for-real-time-web-applications
这里为您的冒险提供了一些建议:
关于javascript - 服务器端编程选择 Laravel 还是 NodeJS 哪种语言,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44991122/