Which web-development language is best for a C pro

2020-07-21 05:25发布

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).

标签: php c
13条回答
冷血范
2楼-- · 2020-07-21 06:02

PHP's syntax is quite similar to C. However, it has its differences, you can't manage pointers and memory (at least, not that I know). It is also very easy.

PHP is a server side language, so browsers do not have anything to do with it. They'll all get the same HTML/CSS information and there is where they differ.

If you want to have a level of interactiveness like this website, you should take a look at Javascript (and it's frameworks (i.e.: jQuery). This language is responsible for the client side in web-development.

查看更多
登录 后发表回答