其中Web开发语言是最好的C程序员? [英] Which web-development language is best for a C programmer?

查看:104
本文介绍了其中Web开发语言是最好的C程序员?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在定期一* N * X环境C(ANSI C89 / C90 ISO)I程序。我现在是在一个位置,这将有利于我学习的Web开发语言。特别是,我正在寻找学习一门语言,其中:


  1. ...利用我的背景为C程序员。

  2. ...可以产生一个网站的互动性的水平像stackoverflow.com。

我听到PHP很多好的东西。做任何你有其他建议?

备注


  1. 其他语言我所熟悉的:用Java,Perl和TCSH和计划

  2. 我忘了提,我感兴趣的学习网络开发语言,它能在客户端做的事情。我很抱歉,如果这还不清楚。

  3. 我打算用我的语言知识来开发一个网站,这是风格上类似于stackoverflow.com(具有非常不同的概念,当然)。


解决方案

如果您已经知道C,Perl和Java的,然后在所有诚实你已经知道PHP,你只是不知道它。合理?也许不是。但它会一旦你开始使用它。

你不说你为什么学习Web开发语言或者什么它是。这是在提供任何有点像这一建议的关键信息。如果没有这样的信息,我建议PHP有以下几个原因:


  • 这是Web为中心;

  • 这是非常受欢迎的。寻找答案的问题是很容易的;

  • 这是非常容易学习(你已经知道C,Perl中,和Java,但即使你没有它很容易)

  • 加州恒基放到了他的基调的为什么我恨Django的(2008 DjangoCon不会少)PHP是一种严重的语言。它的权力在互联网上排名前20位的网站(维基百科的Flickr,Facebook的4个和另外一个我忘了;

  • 这不是太不相似于Perl尽管Perl确实有几分differen类型系统和正规的前pressions是在Perl更是一流的。再加上PHP不具备$ _运营商,但尽管这一切有很多相似之处;

  • 作为一种动态脚本语言,它会帮你走出强类型的模具,这应该使一个有点变化和有益的经验的;

  • 在尽管PHP支持对象(我订阅的 PHP认为不),大多数PHP写的一个程序的方式,使之更熟悉的C程序员面向对象;

  • 它有一个令人难以置信的丰富的库;

  • 仅需要Apache的,它非常轻巧,因此,相比于Java或ASP.NET主机托管是非常便宜;和

  • 有满足感只是保存文本文件,并点击浏览器重装看看会发生什么,而不是单独的编译,安装和部署步骤东西。

Question

I program in C (ANSI C89/ISO C90) in a *n*x environment on a regular basis. I am now in a position where it would be beneficial for me to learn a web-development language. In particular, I'm looking to learn a language which:

  1. ...exploits my background as a C programmer.
  2. ...can produce the level of interactiveness of a web-site like stackoverflow.com.

I hear many good things about PHP. Do any of you have other suggestions?

Notes

  1. Other languages I am familiar with: Java, Perl, Tcsh, and Scheme.
  2. I forgot to mention that I'm interested in learning a web-development language which is capable of doing things on the client-side. I'm sorry if this was unclear.
  3. I plan to use my knowledge of the language to develop a web-site which is stylistically similar to stackoverflow.com (with a very different concept, of course).

解决方案

If you already know C, Perl and Java then in all honesty you already know PHP, you just don't know it yet. Make sense? Perhaps not. But it will once you start playing with it.

You don't say why you're learning a Web development language or what it's for. That's key information in providing any sort of recommendation like this. In the absence of such information I would suggest PHP for several reasons:

  • It's Web-centric;
  • It's extremely popular. Finding answers to problems is very easy;
  • It's very easy to learn (you already know C, Perl, and Java, but its easy even if you didn't)
  • As Cal Henderson put it in his keynote "Why I Hate Django" (at DjangoCon 2008 no less) "PHP is a serious language". It powers 4 of the top 20 sites on the internet (Wikipedia, Flickr, Facebook and one other I forget;
  • It's not too dissimilar to Perl although Perl does have a somewhat differen typing system and regular expressions are more first-class in Perl. Plus PHP doesn't have the $_ operator but in spite of all that there are many similarities;
  • As a dynamic scripted language, it'll help you get out of the strongly-typed mould, which should make for a bit of a change and useful experience;
  • In spite of PHP supporting objects (I subscribe to the view that PHP is not object-oriented), most PHP is written in a procedural fashion, making it more familiar to the C programmer;
  • It has an incredibly rich set of libraries;
  • Requiring only Apache, it's extremely lightweight and, as a result, hosting is extraordinarily cheap compared to Java or ASP.NET hosting; and
  • There is something satisfying about just saving your text file and clicking reload on your browser to see what happens rather than having separate compile, build and deployment steps.

这篇关于其中Web开发语言是最好的C程序员?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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