用于基本浏览器游戏的 ASP.NET
初级程序员 - 基础 C#,大学第一年在实际学习编程方面进展太慢。我正在考虑为一个基本的浏览器游戏创建框架,类似于 urbandead 和现已死亡的 nexuswar 。因为我是一名学生,所以我已经免费拥有了 Visual Studio 08 - 正因为如此,以及我在 C# 方面的经验,对于此类项目是否值得选择 ASP.NET/ADO.NET 而不是 PHP/mySQL?
beginner programmer - basic C#, first year of university going too slow in terms of actually learning programming. i'm looking at creating framework for a basic browser game, in the vein of urbandead and the now dead nexuswar. because i'm a student i already have visual studio 08 for free - because of this, and my experience with C#, is it worth it to choose ASP.NET/ADO.NET over PHP/mySQL for this kind of project?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
ASP.NET 是一个不错的选择,但我强烈建议不要从像大型多人基于 Web 的游戏这样复杂的东西开始。选择更简单的东西,然后从那里开始工作。请记住,为了构建一个漂亮的网站,您还应该擅长客户端编程(HTML、JavaScript,也许是 jQuery 等),这将需要相当多的时间。还有很多时间学习。
至于 ASP.NET 与 PHP.. 网络上充满了关于哪个更好的宗教战争(当然这取决于您如何定义“更好”)。
哦,最后一件事,如果您还没有开始使用 ASP.NET,我建议您查看 ASP.NET MVC 2,它将教您一些最佳实践和至少一种非常有用的设计模式,所有这些对于成为一名优秀的程序员。
ASP.NET is a great choice, but I highly recommend not starting with something as complicated as Massively Multi-Player Web-Based game. Go with something waaaaay simpler, and work your way from there.. Keep in mind that in order to build a nice looking web site you should also be good at client side programming (HTML,JavaScript, maybe jQuery etc.) which will take quite a lot time to learn as well.
As to ASP.NET vs. PHP.. The web is filled with religious wars about which is better (naturally that depends on how you define "better").
Oh, and one last thing if you haven't started on ASP.NET yet I recommend checking out ASP.NET MVC 2, which will teach you some best practices and at least one very useful design pattern, all of which are extremely important for being a good programmer.
ASP.Net 拥有您的项目所需的一切。国际海事组织最好的选择。但即使对于经验丰富的程序员来说,这也是相当复杂的。 (图形,处理多人游戏,...)我建议你至少不要指望即将发布。
尝试在网上找到一些示例来掌握您想要做的事情。这会让你更容易找到正确的方法。
ASP.Net got all it takes for your project. IMO the best choice. But it's fairly complicated even for somehow experienced programmers. (Graphics, handling multiplayers, ...) I suggest you not to expect a near release at least.
Try to find some sample on the net to get a grip on what you're trying to do. It'll make it easier to find the right way.
我可能永远不会向尝试学习一般编程的人推荐 PHP,因为我觉得 PHP 的语言/框架设计充满了 WTF(也就是说,它很糟糕),因此很可能会错误地引导学习者。
I would probably never recommend PHP to someone trying to learn programming in general, as I feel PHP's language/framework design is full of WTF's (that is, it sucks) and therefore would be a high risk of steering the learner wrongly.