Web应用程序应使用哪种编程语言 [英] which programming language should I use for web application

查看:110
本文介绍了Web应用程序应使用哪种编程语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我打算开发一个Web应用程序.但是,我无法决定语言.基本上,该语言必须提供以下功能:

-适用于Mac OS,Windows,Linux(无插件)
-支持与服务器的动态交互.我的意思是,我们将在更改后立即看到更改,而无需刷新页面.
-快速

您希望使用哪种编程语言和平台?

注意:我打算将其集成到facebook.

Hey guys,

I am planning to develop a web application. However, I could not decide on a language. Basically, the language must provide these features:

- Works on Mac OS, Windows, Linux(Without plugin)
- Supports dynamic interaction with the server. I mean, we will see the changes right after the change without refreshing the page.
- Fast

Which programming language and platform would you prefer?

Note: I am planning to integrate it into facebook.

推荐答案

1.你知道哪几种语言?还是想学习?除了服务器语言之外,您可能还需要提升一些学习曲线.
2.在网络服务器上运行并生成网页的所有内容都应可与任何合适的浏览器一起使用-如果您希望网站能够在用户碰巧拥有的任何平台上运行,则无论如何都必须在各种浏览器上测试您的网站(任何站点都应该对Mac/Windows/Linux作为客户端,Internet Explorer/Firefox/Opera/Safari/Chrome的最新版本感到满意)-如果您希望它在各种合理的移动设备上运行,还需要进行更多的测试.
3.大多数网站提供HTML,CSS和javascript的组合(包括AJAX-我认为这是与服务器动态交互的意思-为此,您需要服务器平台中的显式支持或XML知识,或两者兼而有之) ,因此您很可能需要了解一些有关这些内容的知识-也许还应该知道Flash,尽管如果比较常见的话,则要更加专业一些.
4.服务器端-ASP.NET(使用C#或VB)和PHP相当普遍-但还有许多其他方面.
5.根据复杂程度,您可能需要一个内容管理系统(例如JoomLa,它是免费的).
6.您可能还需要一个数据库来支持您的工作(MySQL/SQL Server是常见的)-并且可能需要了解一些SQL才能使用它,具体取决于您使用的服务器语言/其他功能.
7.您所使用的服务还可能取决于您的托管服务是在Windows还是Linux(或其他)服务器上/托管服务提供商提供的功能/所收取的费用.
8.对于以上任何一项,您可能必须学习如何在服务器上进行配置,使组件协同工作,掌握开发环境. . .
9.要与Facebook集成,您必须了解FB API以及如何生成相关的Web请求/处理响应
10.速度-在一个体面的商业虚拟主机服务上,所有这些都是快速的-需要警告的是,如果站点的编码/设计效率足够低,则可以按照要求缓慢进行任何操作:-)认真的,如果这样的话并没有达到您想要的速度,(a)找出正在减慢速度的原因和/或(b)升级到功能更强大的服务器平台所需的费用-速度部分是关于可以处理多少并发请求而没有明显的变化单个请求的速度下降以及原始速度(超过某个点可能变得不那么重要了.

作为一般资源,W3Schools( http://www.w3schools.com/ [
1. Which languages do you know? Or want to learn anyway? You may well have a few learning curves to ascend apart from just a server language.
2. Everything that runs on the web server and generates web pages should work with any decent browser - you''ll have to test your site on a variety of browsers anyway if you want it to work on whatever platform your users happen to have (any site should be happy with Mac / Windows / Linux as clients, with recent versions of Internet Explorer / Firefox / Opera / Safari / Chrome) - and even more testing if you want it to work on a reasonable variety of mobile devices.
3. Most web sites deliver a combination of HTML, CSS and javascript (including AJAX - which I think is what you mean by dynamic interaction with the server - for which you need either explicit support in your server platform or knowledge of XML or both), so you may well need to know a reasonable amount about those - possibly also Flash, though that is a bit more specialised, if fairly common.
4. Server side - ASP.NET (using C# or VB) and PHP are fairly common - but there are plenty of others.
5. Depending on complexity, you might need a Content Management System (e.g. JoomLa, which is free).
6. You may also need a database to support whatever you do (MySQL / SQL Server are common) - and may need to know a bit of SQL to use it depending on what server language / other facilities you use.
7. What you go with may also depend on whether your hosting is on a Windows or Linux (or other) server / what features your hosting provider offers / what they charge.
8. For any of the above you may have to learn how to configure things on your server, get components to work together, get to grips with a development environment . . .
9. To integrate with Facebook you''ll have to get to know the FB API and how to generate the relevant web requests / handle the responses
10. Speed - on a decent commerical web hosting service, all of these are fast - with the caveat that if the coding / design of a site is sufficiently inefficient anything can be made to go as slowly as required :-) Seriously, if it isn''t as fast as you want, (a) find out what is slowing it down and/or (b) pay to upgrade to a beefier server platform - and speed is partly about how many concurrent requests can be handled without a noticeable slowdown as well as raw speed for a single request which, beyond a certain point, may become less important.

As a general resources, W3Schools (http://www.w3schools.com/[^]) is a good starting point.

Personal preference : Windows hosting with ASP.NET / C# and SQL Server database - which should deliver everything you''ve specified

Second choice : PHP/MySQL/JoomLa - which would probably also deliver everything you''ve specified, though I haven''t personally tried all the relevant bits (e.g. AJAX or accessing FB) so you''d need to do a bit more research.

And client side : HTML/CSS/javascript/AJAX, no Flash

I use fast2host.com and have been well pleased with the combination of facilities / cost and good support.

That probably goes beyond the strict remit of your question, but I don''t think you can consider what language you use properly without considering all the other stuff that goes round it.


您好,

最好使用Asp.net C#或php都适合Web应用程序


it is better to use Asp.net C#, or php both are good for web applications


这篇关于Web应用程序应使用哪种编程语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆