客户端脚本和服务器端脚本语言

问题描述:


  • 客户端下的哪些脚本语言以及服务器端的内容是什么?

  • What scripting languages comes under client side and what and all comes under server side?

如果JavaScript是脚本语言,那么jquery呢。 jquery只是javascript库礼仪?所以jquery是客户端脚本?

If JavaScript is scripting language, then what about jquery. jquery is nothing but javascript library rite? so jquery is client side scripting?

我瞪着它,但它仍然令人困惑。在某些站点中,其给定的客户端脚本是JavaScript和vb脚本,而在其他一些站点中,它只说JavaScript。在服务器方面,他们也提到了html。

I goggled it, but its still confusing. In some sites its given, client side scripting are JavaScript and vb script and in some other sites its saying only JavaScript. In case of server side, they are mentioning html also.

我能否清楚一点。

客户端:

在客户端执行的脚本。在网站的上下文中,它是在用户的浏览器中执行的脚本。

Scripts that execute in client side. In context of websites, it is scripts that execute in the browser of the user.

例如:Javascript,VB等。

Eg: Javascript, VB etc.

(JQuery,DOJO是基于Javascript构建的库,所以它也是客户端。)

(JQuery, DOJO are libraries build on top of Javascript so it is also client side.)

服务器端:

在服务器中执行的脚本。在网站的上下文中,它是在应用程序服务器上执行的脚本。

Scripts that execute in the Server. In context of website, it is scripts that execute on application servers.

例如:PHP,Python,Ruby等

Eg: PHP, Python, Ruby etc

我们无法将语言分类为客户端或服务器端。可能存在服务器可以执行Javascript并从中呈现HTML的情况。在这种情况下,Javascript成为服务器端语言。我希望我没有混淆你。

We cannot classify languages as client side or server side. There could be a scenario where a server can execute Javascript and render HTML from it. In this context Javascript becomes a server side lanuage. I hope I did not confuse you.