开发网页点击游戏 [英] Developing Web Click Game

查看:74
本文介绍了开发网页点击游戏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我正在开始制作Web Click游戏.我想听听您的建议,我应该使用PHP还是C#(ASP.NET MVC 3).也许我对C#MVC 3不太了解.但是我也喜欢听听别人的建议.

So im in starting steps with doing an Web Click game. And i would like to hear what you suggest what should i use PHP or C# (ASP.NET MVC 3). Maybe i know little better C# MVC 3. But i like to hear suggestions from others too.

推荐答案

虽然通常无法比较不同的技术,但是几乎可以比较很明显,ASP.NET是一种成熟的高级技术,可以很好地维护应用程序;相反,PHP是基本的,设计欠佳的软件,它基于临时标准创建的语言,具有随机和不规则的功能集,等等. .,维护是一个问题,调试是一个问题.

另一方面,PHP几乎是最流行的东西(这是质量低劣的另一个征兆).因此,如今有一种情况,很容易以非常低的成本找到PHP托管.我认为它也是轻量级的,通常基于免费的开源软件,PHP本身以及通常基于OS的操作系统(可以是Linux和Apache),而且重量轻且更可靠.

因此,存在一个严重的权衡.您的偏好应取决于您的需求.同样,无法比较不同的技术.

您是否想到了两者之间的某些内容?我更喜欢带有WSGI的Prolog(我认为,在没有WSGI的情况下使用Python进行Web开发并不只是认真的).这是一种比PHP更好的语言(实际上,这是一种体面的语言,无论如何,即使是为了教育,它也确实很有用),托管比PHP难找,但相当普遍.请参阅:
http://en.wikipedia.org/wiki/Python_%28programming_language%29 [ ^ ],
http://www.python.org/ [ ^ ],
http://en.wikipedia.org/wiki/Web_Server_Gateway_Interface [ http://docs.python.org/release/3.1.3/howto/webservers.html [ ^ ].

另一个非常有吸引力的选择是ASP.NET,但它基于Linix,Apache,Mono和mod_mono.由于某种我不理解的原因(此类原因通常纯粹是不合理的),很难找到这样的托管,但是如果您可以找到它,自我托管或使用云或专用服务器,这将是非常有吸引力的.请参阅:
http://en.wikipedia.org/wiki/Apache_web_server [ http:
//en.wikipedia.org/wiki/Mono_%28software%29
[ ^ ],
http://www.mono-project.com/Main_Page [ http://en.wikipedia.org/wiki/Mod_mono [ http://en.wikipedia.org/wiki/Microsoft_Silverlight [ http://www.silverlight.net/ [ ^ ].

—SA
While usually different technologies cannot be compared, it''s pretty much clear that ASP.NET is mature advanced technology where the applications are very good to maintain, and, in contrast, PHP is something rudimentary, poorly designed, based on the language created on ad-hoc criteria, with random and irregular feature set, etc., maintenance is a problem, debugging is a problem.

From the other hand, PHP is nearly the most popular thing (which is yet another indication of poor quality). So, this days there is a situation that PHP hosting is very easy to find at very low cost; it is also light-weight, usually based of free-of-charge Open Source software, PHP itself and usually the OS, which can be Linux and Apache, which is also light-weight and more reliable, I think.

So, there is a serious trade-off. You preference should depend on what you want. Again, different technologies cannot be compared.

Did you think of something in between? I more like Prolog with WSGI (using Python for Web development without WSGI is not just serious, I think). This is much better language than PHP (in fact, a decent language which is really useful to know anyway, even just for education), hosting is a bit harder to find than PHP but pretty common. Please see:
http://en.wikipedia.org/wiki/Python_%28programming_language%29[^],
http://www.python.org/[^],
http://en.wikipedia.org/wiki/Web_Server_Gateway_Interface[^],
http://docs.python.org/release/3.1.3/howto/webservers.html[^].

Another very attractive option is ASP.NET but based on Linix, Apache, Mono and mod_mono. By some reason I don''t understand (such reasons are often purely irrational), such hosting is hard to find, but this is very attractive if you can find it, self-host or use cloud or dedicated server. Please see:
http://en.wikipedia.org/wiki/Apache_web_server[^],
http:
//en.wikipedia.org/wiki/Mono_%28software%29
[^],
http://www.mono-project.com/Main_Page[^],
http://en.wikipedia.org/wiki/Mod_mono[^].



For a game, you could also use Silverlight, please see:
http://en.wikipedia.org/wiki/Microsoft_Silverlight[^],
http://www.silverlight.net/[^].

—SA


这篇关于开发网页点击游戏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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