当前位置: 首页 > 网络学院 > 设计教程 > 设计理念 > CGI剖析:第三部分

设计理念
网站常见错误
如何让你的业务在10天之内失败
网站设计的7个要点
图片真的比文字更胜一筹吗?
规模扩张与你的站点
网站设计的十大错误
网站设计准则
确保网站的加载速度
创建具有友好性的研究型网站
htaccess 简易教程
Htaccess简介
在你的网页链接和图片中使用“Title”标签
测试你的网站开发者
设计搜索引擎亲睐的网站
创建真正的logo
使用框架来优化网站设计
10条设计/行销准则
XHTML和样式表
网站模仿
迅速提高你的销售业绩

设计理念 中的 CGI剖析:第三部分


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 1659 ::
收藏到网摘: n/a

CGI.JPGCGI is ugly. Finally, CGI scripts produce fairly ugly user-interfaces. Basically, CGI is limited to bland HTML-based forms. Thus, no CGI application looks like your swank bootleg copy of Word.

CGI
是丑陋的。最终,CGI脚本程序创造了一个相当丑陋的用户界面。从根本上讲,CGI受限于乏味的HTML格式。因此,没有一个CGI应用程序看上去像是值得你骄傲的私有语言。

This may not seem like a big issue at first, but when you start competing for web hits with multi-million dollar companies, image is indeed everything. CGI simply cannot compare with web based applications that are not limited to HTML.

首先,它看上去像是一个很大的刊物,但是,当你开始与资产上千万美金的公司竞争的时候,图像确实就是一切。CGI根本比不过那些不受HTML限制的网络应用程序。

Well, those are some pretty damning flaws. Like I said, many systems administrators would love to see CGI fall off the face of the Earth. Unfortunately for those system administrators, the fact is that CGI has continued to be the workhorse of the web, powering 90% of the dynamic web pages out there.

好吧,这里我可以列举一些(CGI程序)的严重缺陷。就像我说的那样,很多系统管理员希望看到CGI能够遍地开花。遗憾的是,我要对这些系统管理员说,事实上,CGI程序给网络造成了巨大的负荷,大概有超过90%的动态网页。

The fact is that CGI, especially CGI/Perl is easy to work with and most non-technically oriented webmasters out there can get their needs filled, and filled right away. However amazingly, brand-fantasmagorically wonderful other technologies sound, they are still vaporware as far as the average web developer is concerned. Either the ISP does not provide those technologies, or the learning and development curve is too steep or expensive. And of course for small applications typical of most websites, the big guns of C or C++ are just overkill.

事实上,CGI程序,特别是CGI/Perl程序是很容易与其它程序相互协同工作的,并且,大多数非技术性的网站管理员可以通过CGI程序立刻实现他们所需要的功能。然而,令人难以置信的是,那些听上去令人拍案叫绝的技术,直到绝大多数网络开发者意识到它们的时候,它们仍然还是“雾件[一种已经发布或交易但尚未生产的新软件] ”。不光是ISP不提供这些技术,而且学习和发展曲线也非常陡峭或是昂贵。当然,对于很多典型网站的小型应用程序来说,CC++仍然倍受欢迎。

CGI, for all its flaws, works, and works pretty darn well if done carefully. "Intranet" developers with massive budgets can yack all they want to about servlets and SQL gateways and Server Side Includes and customized server applications written in Java, but for most "Internet" developers out there, CGI is the only tool available for solving their problems. And with creativity and care, CGI can also be the right tool.

如果你谨慎处理关于CGI的缺点和运行,那么它可能会运行得很好。“企业内部互联网”的大规模预算的开发者可能会唠唠叨叨的没完,他们中的所有人希望servlets [ServletsJava专注于CGI开发的一种技术]SQL网关以及服务器端包含及定做一些用Java写成的服务器端应用程序,但是,对于绝大多数的“互联网”开发者来说,CGI是解决他们问题的唯一方法。通过创造性和认真谨慎的处事态度,CGI完全可以成为非常有效的工具。

评论 (0) All

登陆 | 还没注册?