仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1643|回复: 19
打印 上一主题 下一主题

[学习教程] ASP网页编程之The Future According to ASP+

[复制链接]
飘灵儿 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-2-3 23:31:50 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
优点:简单易学、开发速度快、有很多年“历史”,能找到非常多别人做好的程序来用、配合activeX功能强大,很多php做不到的asp+activeX能做到,例如银行安全控件   As both an ASP and JSP programmer, I started a series of articles
to examine the differences between ASP and JSP. After I released
part one and part four of the articles, ASP+ was announced. ASP+
changes the game to the point that I delayed writing additional
articles until I could examine ASP+ in greater detail.

I am currently working on a JSP project and on a separate ASP
project.  The ASP project itself is very interesting.  It is
starting off in ASP 3.0 and will be translated into ASP+ by time
the project is be done. As a result of these projects I will be able
to examine ASP+ closely, providing solid ASP+ to JSP comparisons.

This article presents my early observations of ASP+ and the impact
it has on an average developer such as myself.

In an initial comparison of ASP+ and JSP I found the following:

1) Object Orientation:
   ASP+ introduces C# as an object oriented language. In many respects
   it will become Microsoft's version of a Java-like language. The
   other fun fact about C# is that every object created automatically
   becomes a COM object. What this all boils down to is, if C# lives
   up to all or even 75% the marketing hype, it will give ASP+ Java-
   like capabilities but with faster performance due to its tight
   coupling with the Windows environment. C# is the single most
   important improvement for ASP+ development.

   Microsoft has engineered C# to be a stiff competitor of Java.
   It is a major part of Microsoft's reinvention of their .Net
   framework. I see C# as Microsoft's push to be the dominant player
   in the programming market place. I expect to see Microsoft put its
   full weight behind this product. As a result of all this, it's a
   safe bet C# will become the language of choice for many programmers.  

   The consequence of C# will be the intensification of the battle
   lines between the Sun and Microsoft product lines. This actually
   will be of benefit to the consumer, as it will spur both Java
   and C# to new improvements.
   
2) Database Connectivity:
   The one place that ASP really shines is in the use of the ADO
   Object, ODBC, OLE-DB and the Transaction Manager. Among all
   these pieces it is very easy to build fast and simple  ASP
   database web applications. ASP+ takes all this and marches onward
   to even more features, while ADO+ is being released with even
   more enhancements and speed boosts. JSP and JDBC currently lag
   behind in ease of use and features when compared to the current
   implementation of ASP/ADO. With the new release of ASP+/ADO+ the
   gap with JSP will widen even further.  I personally hope SUN will
   put serious effort into catching up with ASP+/ADO+ combination.

3) Large Scale Sites:
   ASP+ will have better support for large web farms. In fact,
   Microsoft is pushing this idea pretty hard. ASP+ wants you to
   think in terms of multiple servers. As you need more power, just
   add an extra server. The whole .Net framework has solidly embraced
   this methodology. ASP+ introduces external session state support
   providing built-in web farm support.  In addition, since all the
   components required to support a web farm are built fully optimized
   with each other, it will be fast.  The end result is that ASP+ will
   now equal JSP in its ability to scale to large projects. In fact,
   ASP+ will have a cost benefit over JSP since all the components
   will be part of your server operating system from Microsoft. In JSP,
   you currently need to purchase expensive Server Application servers
   to achieve similar results.

4) ASP+ offers many other new features that I will review in more detail
   in future issues. For example,
      *Built-in object caching and page result caching.
      *Built-in XML support for easy handling of XML data sets.
      *Server controls which offer fuller interactive controls to
       be used on the client page. Initial indications, however,
       show these are costly items in terms of round trips to use.

I am finding that ASP+ truly expands what is possible in ASP.

My preliminary conclusion, after looking at ASP+, is the majority
of my future projects will still be Java and JSP based. The three
reasons for this are:

1) To really unlock the full potential of ASP+ you will need to use
   C# or vb.net. These two languages will become the standard
   scripting heart of ASP+.

   This is a good thing for the future of ASP. I never liked
   building com objects in the current version of Visual Basic.
   The new scripting heart of ASP+ is a substantial improvement
   over ASP and will really energize the possibilities of web
   applications built within ASP+.

   All of the new development in ASP+ is making it clear I need
   to make a personal decision to choose the language into which I
   desire to put the most time and effort. I learned Java back when
   it all started and I feel Java is a language that will be around
   for the rest of my programming career. As a result, JSP is my
   primary choice for web development. When my current ASP project is
   done, I will reconsider if C# convinces me to re-gear my programming
   tool belt.  As I am now a big JSP fan, if Microsoft converts me,
   it has a real winner! I suppose I am taking the ASP+ challenge.

2) ASP+ is still pretty squarely locked into Microsoft's operating
   system. JSP has a major edge over ASP+ in its flexibility to work
   on other server configurations.  Keeping in mind, however, the
   rising predominance of the Windows 2000 operating system, this
   won't be a problem for many developers.

3) I am not sure if I agree with aspects of the new ASP+ architecture.
   I need to perform a more in-depth analysis on several issues before
   feeling comfortable with ASP+. As a result, I am hesitant to plan on
   using it for future projects. This may change after I have used it
   for a month or two. After all, this is a high level overview of a
   beta product. I will provided more information in a future in-depth
   review of ASP+.

As an ASP developer, ASP+ gives me pause to think. The next eight
months are going to be a hard time to start a new ASP project. Why?  
ASP+ and C# introduce a dilemma for development shops as they aren't
available yet and won't be introduced until the first quarter of
2001. This means if you are starting a new project now you are
faced with some seriously hard choices. I am in charge of setting
up the technical aspects of such projects and appreciate these
considerations.

Since ASP+ is only available as beta software it makes my first
choice easier. My current project will start in ASP 3.0. I consider
any beta language to be vaporware until the production release is
available.

I cannot ignore ASP+, however, as in six months it will be available
and it represents the future of ASP. Managers of ASP projects in
production now or in the near future should consider how to ensure
migration to ASP+ will occur as smoothly as possible. While a savvy
design will ensure a smooth upgrade to ASP+, the cost for development
increases as extra time is spent in creating and implementing the
design, as well as implementing the upgrade.  This approach is sensible,
however, to prevent even higher costs over the long term when the final
upgrade does happen.

A side effect of all this is that it makes both PHP and JSP more  
attractive alternatives to ASP for the near future.  After all,

   1) To use ASP+ you will need some extra time to learn new tools.

   2) The new tools are still to be released, so why not look at
      something that currently exists?

   3) JSP already has many of the new features of ASP+.

   4) ASP+ locks you down into a Microsoft-only architecture.
      (I have read one news story about Microsoft porting .Net to
      Linux, but I discount this as being unrealistic at this
      point in time. Until the code is released, it fits in my
      vaporware category.)

As a result, I predict quite a few people will make the leap into PHP
and JSP. However, I also feel many people will stay the course due to
the sheer excitement that ASP+ brings to the field. (I have never seen
such an explosion of material for any beta programming product). Below
is a VS.net article which nicely illustrates both of these points.

For something that started as freeware, ASP+ has grown to become a
cornerstone of Microsoft's .Net framework.  Sun may find a lesson in
this.  Extra caution and care, however, is warranted when upgrading
to ASP+ as it is being integrated with so many other products and
the overall size of the .Net framework is so large.  I usually wait
for the first service pack of any product before assuming it is safe
to use in a production environment. So, even if ASP+ is released in
the first quarter of 2001, for planning purposes, I am not expecting
ASP+ to be ready for my production environment until second quarter
of 2001. Of course, since ASP+ has generated so much excitement, many
shops will switch over to ASP+ as soon as it becomes available. In fact
I have already come across ASP web sites using the beta release ASP+!
For example, the link to the ASP+ site I reference below is written in
ASP+, you can tell by the .aspx extension. All this suggests to me
that Microsoft will release the first service pack for ASP+ in record time.  

The next year will be a very interesting time to watch the marketplace,
how Sun and Microsoft react to the current situation and what choices
programmers will make.


ADDITIONAL REFERENCES

First Look at VS.net  (DevX 9/2000)

FAQ on ASP+  (ASPFree.com)

Another View on .Net (Jim Farley 8/2000) (A very good analysis of .Net)

专业性的服务。有的ASP商提供垂直型的应用服务,针对某一特定行业提供应用服务。
小魔女 该用户已被删除
沙发
发表于 2015-2-4 01:06:22 | 只看该作者
代码的可重用性差:由于是面向结构的编程方式,并且混合html,所以可能页面原型修改一点,整个程序都需要修改,更别提代码重用了。
透明 该用户已被删除
板凳
发表于 2015-2-6 01:33:20 | 只看该作者
我可以结合自己的经验大致给你说一说,希望对你有所帮助,少走些弯路。
小女巫 该用户已被删除
地板
发表于 2015-2-14 20:16:33 | 只看该作者
ASP(ActiveServerPages)是Microsfot公司1996年11月推出的WEB应用程序开发技术,它既不是一种程序语言,也不是一种开发工具,而是一种技术框架,不须使用微软的产品就能编写它的代码,能产生和执行动态、交互式、高效率的站占服务器的应用程序。
莫相离 该用户已被删除
5#
发表于 2015-2-23 10:29:21 | 只看该作者
接下来就不能纸上谈兵了,最好的方法其实是实践。实践,只能算是让你掌握语言特性用的。而提倡做实际的Project也不是太好,因为你还没有熟练的能力去综合各种技术,这样只能使你自己越来越迷糊。
6#
发表于 2015-3-7 08:06:23 | 只看该作者
运用ASP可将VBscript、javascript等脚本语言嵌入到HTML中,便可快速完成网站的应用程序,无需编译,可在服务器端直接执行。容易编写,使用普通的文本编辑器编写,如记事本就可以完成。由脚本在服务器上而不是客户端运行,ASP所使用的脚本语言都在服务端上运行。
老尸 该用户已被删除
7#
发表于 2015-3-8 23:22:28 | 只看该作者
跟学别的语言一样,先掌握变量,流程控制语句(就是ifwhileselect)等,函数/过程,数组
只想知道 该用户已被删除
8#
发表于 2015-3-14 11:38:39 | 只看该作者
我们必须明确一个大方向,不要只是停留在因为学而去学,我们应有方向应有目标.
第二个灵魂 该用户已被删除
9#
发表于 2015-3-17 01:10:15 | 只看该作者
交流是必要的,不管是生活还是学习我们都要试着去交流,通过交流我们可以学到很多我们自己本身所没有的知识,可以分享别人的经验甚至经历。
因胸联盟 该用户已被删除
10#
发表于 2015-3-20 03:55:58 | 只看该作者
ASP主要是用好六个对象,其实最主要的是用好其中两个:response和request,就可以随心所欲地控制网页变换和响应用户动作了。
愤怒的大鸟 该用户已被删除
11#
发表于 2015-3-20 12:42:40 | 只看该作者
不能只是将它停留在纸上谈兵的程度上。
山那边是海 该用户已被删除
12#
发表于 2015-3-23 04:42:13 | 只看该作者
ASP.Net摆脱了以前ASP使用脚本语言来编程的缺点,理论上可以使用任何编程语言包括C++,VB,JS等等,当然,最合适的编程语言还是MS为.NetFrmaework专门推出的C(读csharp),它可以看作是VC和Java的混合体吧。
金色的骷髅 该用户已被删除
13#
发表于 2015-3-24 22:16:12 | 只看该作者
用户端的浏览器不需要提供任何别的支持,这样大提高了用户与服务器之间的交互的速度。
不帅 该用户已被删除
14#
发表于 2015-3-31 17:46:11 | 只看该作者
Response:从字面上讲是“响应”,因此这个是服务端向客户端发送东西的,例如Response.Write
谁可相欹 该用户已被删除
15#
发表于 2015-4-1 03:08:15 | 只看该作者
尽管MS自己讲C#内核中更多的象VC,但实际上我还是认为它和Java更象一些吧。首先它是面向对象的编程语言,而不是一种脚本,所以它具有面向对象编程语言的一切特性,比如封装性、继承性、多态性等等,这就解决了刚才谈到的ASP的那些弱点。
再见西城 该用户已被删除
16#
发表于 2015-4-3 00:37:16 | 只看该作者
那么,ASP.Net有哪些改进呢?
冷月葬花魂 该用户已被删除
17#
发表于 2015-4-13 00:02:54 | 只看该作者
作为IE上广为流传的动态网页开发技术,ASP以它简单易学博得了广大WEB程序爱好这的青睐,而且它对运行环境和开发品台的不挑剔,以及有大量有效的参考手册,极大的推广了它的发展。
蒙在股里 该用户已被删除
18#
发表于 2015-4-18 00:51:28 | 只看该作者
它可通过内置的组件实现更强大的功能,如使用A-DO可以轻松地访问数据库。
灵魂腐蚀 该用户已被删除
19#
发表于 2015-4-27 10:47:42 | 只看该作者
从事这个行业,那么你可以学ASP语言,简单快速上手,熟练dreamweav排版,写asp代码,熟练photoshop处理图片,打好基础就行了
飘飘悠悠 该用户已被删除
20#
发表于 2015-5-1 15:10:41 | 只看该作者
ASP.Net和ASP的最大区别在于编程思维的转换,而不仅仅在于功能的增强。ASP使用VBS/JS这样的脚本语言混合html来编程,而那些脚本语言属于弱类型、面向结构的编程语言,而非面向对象,这就明显产生以下几个问题:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-5-5 21:24

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表