由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 葵花宝典之四大神功
相关主题
Web技术的发展趋势Any possibility to make this expression faster?
web development难不难学?PHP/JSP/ASP等页面语言应该被慢慢抛弃了吧?
请教这段Code到底是哪错了?从今天开始起,学C++!
iphone/ipad javascript snippet editor请教一个C++问题
Three C/C++ Programming QuestionsJavascript XMLHttpRequest里面哪里错了
请教:JavaScript怎么复制一个node(含子节点)? (转载)map析构
help on php for dynamic dependent list box (转载)问个php表单提交不刷新页面的方法
What is automatic space allocation in C++?Google 主页的跨栏游戏 (转载)
相关话题的讨论汇总
话题: js话题: javascript话题: server话题: side话题: java
进入Programming版参与讨论
1 (共1页)
r*********r
发帖数: 3195
1
当然是指四类语言啦. 要不大家来个票选吧...
r*********r
发帖数: 3195
2
我先发言, 我选的是:
1. javascript
2. SQL
3. C++
4. Python
r*********r
发帖数: 3195
3
理由如下:
1. 作为 web 时代的用户界面语言, javascript 一枝独秀.
虽然 UI 是比较无聊的编程, 但是需求量大.
作为唯一被 ms, google, apple 三大巨头力捧的语言,
解释器的性能日新月异, framework创新层出不穷.
语言的成功来自于它的 function closure 和内嵌的event model,
用于UI, 实在是太合适了.
2. 数据查询, SQL 也是没什么对手.
3. 可编译的静态类型的通用语言, 比较流行的 c++, c, java, c#,
还有 objective-c, ML ( f#, ocaml, haskell),
还有 pascal, fortran, ada 等等.
这类争议比较大. 有 pascal/c 的 syntax 之争,
c++/java 的 semantics 之争, 库函数之争,
java/c# 的cross-platform 之争. 反正谁也说不服谁, 不如都涉猎一下.
4. 解释型的动态类型的通用语言, 比较流行的 python, perl, ruby, PHP,
还有 matlab, R, visual basic, lisp, scheme, lua, tcl 等等等等. 这类语言比较
容易设计, 几乎是个人就能新创一个, 所以场地比较拥挤. 而且各有长处哈.
我个人比较倾向 python, 因为语法清晰, 语意没有古怪的地方, 标准库巨大无比.
r*********r
发帖数: 3195
4
页面描述语言就不包括进去了. 比如 html, xml, postscript, latex 什么的.
M**u
发帖数: 10158
5
Java, C, Python, SQL

【在 r*********r 的大作中提到】
: 我先发言, 我选的是:
: 1. javascript
: 2. SQL
: 3. C++
: 4. Python

r*******3
发帖数: 10886
6
俺以前看到一个啥黑客推荐就是把SQL替换为perl
M**u
发帖数: 10158
7
sql injection?

【在 r*******3 的大作中提到】
: 俺以前看到一个啥黑客推荐就是把SQL替换为perl
r*******3
发帖数: 10886
8
俺不了解这个,的确他没提数据库这块,呵呵。
就是那个建议从linux开始的很经典的黑客评论,很老了

【在 M**u 的大作中提到】
: sql injection?
r*********r
发帖数: 3195
9
node.js 出来之后, 我对 server side 的 javascript 很看好.
再加上 mongoDB, javascript 可以统治 database - webserver - client 全线.
X****r
发帖数: 3557
10
I just don't see the point of server-side JS.

【在 r*********r 的大作中提到】
: node.js 出来之后, 我对 server side 的 javascript 很看好.
: 再加上 mongoDB, javascript 可以统治 database - webserver - client 全线.

相关主题
请教:JavaScript怎么复制一个node(含子节点)? (转载)Any possibility to make this expression faster?
help on php for dynamic dependent list box (转载)PHP/JSP/ASP等页面语言应该被慢慢抛弃了吧?
What is automatic space allocation in C++?从今天开始起,学C++!
进入Programming版参与讨论
a***y
发帖数: 2803
11
perl在这方面领先javascript.但是最近microsoft力捧javascript,html5.这2个在业界
的前途很大.

【在 X****r 的大作中提到】
: I just don't see the point of server-side JS.
a***y
发帖数: 2803
12
java
javascript
perl/python
sql

【在 r*********r 的大作中提到】
: 当然是指四类语言啦. 要不大家来个票选吧...
g*****g
发帖数: 34805
13
It's because JS is a lousy language and it's really hard to
develop and maintain. However, it's supported by all major
browsers and AJAX is desired. So the server side AJAX frameworks
typically wrap other language (java/php etc.) on top of JS components,
thus JS exposure is minimized to JS UI components developer and these
components can be standardized. This is similar to desktop development
and helps productivity, of course, much UI flexbility is lost.

【在 X****r 的大作中提到】
: I just don't see the point of server-side JS.
r*********r
发帖数: 3195
14
和 client side 一致性当然是一个方面, 与其两边分别用 php/js, 或 ruby/js,
或python/js, 都不如 js/js 省力.
另外 node.js 提倡的 event based 编程模型, 用来写高性能的 web server,
有可能比multithreading 更胜一筹.
g*****g
发帖数: 34805
15
js做server side? 这个我还真没见过。不过js难debug是臭名昭著的。

【在 r*********r 的大作中提到】
: 和 client side 一致性当然是一个方面, 与其两边分别用 php/js, 或 ruby/js,
: 或python/js, 都不如 js/js 省力.
: 另外 node.js 提倡的 event based 编程模型, 用来写高性能的 web server,
: 有可能比multithreading 更胜一筹.

a***y
发帖数: 2803
16
microsoft或者哪个人发明一个软件就可以了.

【在 g*****g 的大作中提到】
: js做server side? 这个我还真没见过。不过js难debug是臭名昭著的。
N********n
发帖数: 8363
17

I don't see the point of JS at any side.

【在 X****r 的大作中提到】
: I just don't see the point of server-side JS.
N********n
发帖数: 8363
18

Nah. Serious programming can be done ONLY IN strong-type languages. It
is at system-level where you need performance critically that you would
give strong-type up to code in C/C++ instead.
Software dev goes through several stages from design to implementation,
testing, maintenance and so on. Strong-typed languages help developers
detect as many bugs as possible at the implementation stage so the
developers causing the defects can solve them directly.
Dynamic languages cut the corner on that by hiding lots of defects til
the runtime and let them blow up in front of customers. It speeds up
the coding at overall quality's expense, which is a scam.
Defects are defects. They don't disappear on their own. You don't fix
them at the implementation stage (which is the ideal stage) you have
to at some later undesired stages. Dynamic languages' "fast coding"
advantage is a shell game at best when you look at the full software
development cycle.

【在 a***y 的大作中提到】
: microsoft或者哪个人发明一个软件就可以了.
M**u
发帖数: 10158
19
所谓JS,ruby阿,我觉得都不见的有什么特别大的优势

【在 N********n 的大作中提到】
:
: Nah. Serious programming can be done ONLY IN strong-type languages. It
: is at system-level where you need performance critically that you would
: give strong-type up to code in C/C++ instead.
: Software dev goes through several stages from design to implementation,
: testing, maintenance and so on. Strong-typed languages help developers
: detect as many bugs as possible at the implementation stage so the
: developers causing the defects can solve them directly.
: Dynamic languages cut the corner on that by hiding lots of defects til
: the runtime and let them blow up in front of customers. It speeds up

f*****Q
发帖数: 1912
20
http://developers.slashdot.org/story/11/05/25/1838210/JavaScrip
这东西打九几年就有了.

【在 g*****g 的大作中提到】
: js做server side? 这个我还真没见过。不过js难debug是臭名昭著的。
相关主题
请教一个C++问题问个php表单提交不刷新页面的方法
Javascript XMLHttpRequest里面哪里错了Google 主页的跨栏游戏 (转载)
map析构老板嫌我C++太差!请推荐。
进入Programming版参与讨论
g*****g
发帖数: 34805
21
See this conclusion in the article.It sounds these tools are for quick and
dirty prototypes at best. If these techniques have been there for 10s of
years and they never got mainstream. It says enough how practical they are.
[snippet]
In other words, these tools work well for basic prototypes. They're quick
and relatively stable. If things go well, they may prove to be ready to add
bits and pieces of real responsibility to the programs. When that happens,
the projects will slow down and the feature sets will begin to freeze as the
users start demanding stability and bug fixes over experimentation and
innovation.[/snippet]

【在 f*****Q 的大作中提到】
: http://developers.slashdot.org/story/11/05/25/1838210/JavaScrip
: 这东西打九几年就有了.

s***o
发帖数: 2191
22
"JavaScript" + "Server-side", very weird combination. I haven't paid
attention to it and I guess it's more for people who already know JS.
the current nosql hype often reminds me the object database story...

【在 r*********r 的大作中提到】
: node.js 出来之后, 我对 server side 的 javascript 很看好.
: 再加上 mongoDB, javascript 可以统治 database - webserver - client 全线.

s***o
发帖数: 2191
23
That's for client side development. .NET will continue to rule on server
side.
unless I underestimate (again) how stupid M$ can be

【在 a***y 的大作中提到】
: perl在这方面领先javascript.但是最近microsoft力捧javascript,html5.这2个在业界
: 的前途很大.

r*********r
发帖数: 3195
24
that's very funny.

.NET will continue to rule on server side.

【在 s***o 的大作中提到】
: That's for client side development. .NET will continue to rule on server
: side.
: unless I underestimate (again) how stupid M$ can be

s***o
发帖数: 2191
25
what's so funny?

【在 r*********r 的大作中提到】
: that's very funny.
:
: .NET will continue to rule on server side.

f*****Q
发帖数: 1912
26
Netscape那个looser整的玩意,后来卖给sun那个looser了,现在大概叫iPlanet还是
iPlant啥的。不入您的法眼了。

add
the

【在 g*****g 的大作中提到】
: See this conclusion in the article.It sounds these tools are for quick and
: dirty prototypes at best. If these techniques have been there for 10s of
: years and they never got mainstream. It says enough how practical they are.
: [snippet]
: In other words, these tools work well for basic prototypes. They're quick
: and relatively stable. If things go well, they may prove to be ready to add
: bits and pieces of real responsibility to the programs. When that happens,
: the projects will slow down and the feature sets will begin to freeze as the
: users start demanding stability and bug fixes over experimentation and
: innovation.[/snippet]

f*****Q
发帖数: 1912
27
只是一语言而已,当年俺们都用C跟Bash写服务器端的程序。不觉的用javascript有啥
特别的地方。

【在 s***o 的大作中提到】
: "JavaScript" + "Server-side", very weird combination. I haven't paid
: attention to it and I guess it's more for people who already know JS.
: the current nosql hype often reminds me the object database story...

g*****g
发帖数: 34805
28
Sun's web app server was never a popular product. But for what it's
worth. You can see its home page here
http://www.oracle.com/technetwork/middleware/iplanetwebserver-0
And if you check its FAQ, it's pretty obvious it's a pure java server,
it doesn't even mention javascript or ajax single time.
There are companies like Google who tried to compile java to javascript
since js is such a lousy language and really hard to maintain.
I highly doubt it will ever go the other way around.

【在 f*****Q 的大作中提到】
: Netscape那个looser整的玩意,后来卖给sun那个looser了,现在大概叫iPlanet还是
: iPlant啥的。不入您的法眼了。
:
: add
: the

f*****Q
发帖数: 1912
29
不了解现在什么情况,也许已经被砍了。不过你如果搜索"iplanet server-side
javascript" 还可以搜出来不少东西。例如
http://download.oracle.com/docs/cd/E19957-01/816-5930-10/
个人感觉js比perl好管理多了。

【在 g*****g 的大作中提到】
: Sun's web app server was never a popular product. But for what it's
: worth. You can see its home page here
: http://www.oracle.com/technetwork/middleware/iplanetwebserver-0
: And if you check its FAQ, it's pretty obvious it's a pure java server,
: it doesn't even mention javascript or ajax single time.
: There are companies like Google who tried to compile java to javascript
: since js is such a lousy language and really hard to maintain.
: I highly doubt it will ever go the other way around.

g*****g
发帖数: 34805
30
As I said, I never question if server-side javascript is viable.
Of course it is, but I doubt it's practical beyond prototype.
http://labnotes.org/2010/12/29/2011-is-year-of-the-server-side-
This guy is optimistic, but I'll see it to believe it.
js is cleaner than perl, I agree, but perl isn't popular for web
app development to begin with.

【在 f*****Q 的大作中提到】
: 不了解现在什么情况,也许已经被砍了。不过你如果搜索"iplanet server-side
: javascript" 还可以搜出来不少东西。例如
: http://download.oracle.com/docs/cd/E19957-01/816-5930-10/
: 个人感觉js比perl好管理多了。

相关主题
问一个简单C++问题web development难不难学?
如何存储用户提交的表格 (转载)请教这段Code到底是哪错了?
Web技术的发展趋势iphone/ipad javascript snippet editor
进入Programming版参与讨论
y****e
发帖数: 23939
31
C++, Python, Bash, SQL
r*********r
发帖数: 3195
32
始终记不住 bash 的 syntax, 痛苦。。。

【在 y****e 的大作中提到】
: C++, Python, Bash, SQL
y****e
发帖数: 23939
33
记不住说明你不需要,也无所谓啦

【在 r*********r 的大作中提到】
: 始终记不住 bash 的 syntax, 痛苦。。。
a**e
发帖数: 5794
34
02年左右改名为SunOne了。

【在 f*****Q 的大作中提到】
: Netscape那个looser整的玩意,后来卖给sun那个looser了,现在大概叫iPlanet还是
: iPlant啥的。不入您的法眼了。
:
: add
: the

s***o
发帖数: 2191
35
"
Native Windows port of Node.js coming:
http://bit.ly/lwc9gV
"
Why the hell M$ suddenly has so much love for JS?
h**********d
发帖数: 4313
36
楼主能不能推荐一本JavaScript的书? 我看过tuitorial,用过一点在jsp, html里面
,貌似也没觉得怎么样,没想到原来这么强大。。。位居四大神功之首啊 LOL

【在 r*********r 的大作中提到】
: 理由如下:
: 1. 作为 web 时代的用户界面语言, javascript 一枝独秀.
: 虽然 UI 是比较无聊的编程, 但是需求量大.
: 作为唯一被 ms, google, apple 三大巨头力捧的语言,
: 解释器的性能日新月异, framework创新层出不穷.
: 语言的成功来自于它的 function closure 和内嵌的event model,
: 用于UI, 实在是太合适了.
: 2. 数据查询, SQL 也是没什么对手.
: 3. 可编译的静态类型的通用语言, 比较流行的 c++, c, java, c#,
: 还有 objective-c, ML ( f#, ocaml, haskell),

r*********r
发帖数: 3195
37
入门书不清楚. 比较进阶的就找 douglas crockford 或 john resig 的书. 两个牛人.
r*********r
发帖数: 3195
38
今天 slashdot 上的消息,stanford CS 开始用 javascript 作为入门教学语言。
http://www.i-programmer.info/news/167-javascript/2723-stanford-
http://www.stanford.edu/class/cs101/
a***y
发帖数: 2803
39
javascript 目前在cgi不能用于Server side.可能microsoft能把它改进一下?

【在 h**********d 的大作中提到】
: 楼主能不能推荐一本JavaScript的书? 我看过tuitorial,用过一点在jsp, html里面
: ,貌似也没觉得怎么样,没想到原来这么强大。。。位居四大神功之首啊 LOL

a***y
发帖数: 2803
40
javascript自学就会了,很容易的.里面很多函数,也是非常容易.学javascript,要先学
学xhtml之类怎么设计网页.

【在 h**********d 的大作中提到】
: 楼主能不能推荐一本JavaScript的书? 我看过tuitorial,用过一点在jsp, html里面
: ,貌似也没觉得怎么样,没想到原来这么强大。。。位居四大神功之首啊 LOL

相关主题
iphone/ipad javascript snippet editorhelp on php for dynamic dependent list box (转载)
Three C/C++ Programming QuestionsWhat is automatic space allocation in C++?
请教:JavaScript怎么复制一个node(含子节点)? (转载)Any possibility to make this expression faster?
进入Programming版参与讨论
f*****Q
发帖数: 1912
41
IIS一直可以用jscript吧?

【在 a***y 的大作中提到】
: javascript自学就会了,很容易的.里面很多函数,也是非常容易.学javascript,要先学
: 学xhtml之类怎么设计网页.

w***g
发帖数: 5958
42
有个东西叫做node.js

【在 a***y 的大作中提到】
: javascript自学就会了,很容易的.里面很多函数,也是非常容易.学javascript,要先学
: 学xhtml之类怎么设计网页.

c******e
发帖数: 545
43
Javascript (程序嵌入脚本)
C++ (GUI,驱动程序,CUDA计算,OPENGL render 。。。)
VHDL (FPGA设计实现)
Java (Android开发)
Matlab算一个?好像只有工程上用的多。
1 (共1页)
进入Programming版参与讨论
相关主题
Google 主页的跨栏游戏 (转载)Three C/C++ Programming Questions
老板嫌我C++太差!请推荐。请教:JavaScript怎么复制一个node(含子节点)? (转载)
问一个简单C++问题help on php for dynamic dependent list box (转载)
如何存储用户提交的表格 (转载)What is automatic space allocation in C++?
Web技术的发展趋势Any possibility to make this expression faster?
web development难不难学?PHP/JSP/ASP等页面语言应该被慢慢抛弃了吧?
请教这段Code到底是哪错了?从今天开始起,学C++!
iphone/ipad javascript snippet editor请教一个C++问题
相关话题的讨论汇总
话题: js话题: javascript话题: server话题: side话题: java