Asp.net ajax在Web应用程序中的使用外文翻译资料

 2022-12-18 04:12

USAGE OF ASP.NET AJAX FOR WEB APPLICATIONS

Karto Iskandar1; Andrew Thejo Putranto2

1,2Computer Science Department, School of Computer Science, Bina Nusantara University Jln. K.H. Syahdan No. 9 Palmerah, Jakarta Barat, 11480

1karto_i@binus.edu; 2aputranto@binus.edu

ABSTRACT

Today web applications have become a necessity and many companies use them as a communication tool to keep in touch with their customers. The usage of Web Application in current time increases as the number of internet users has been rised. For reason of Rich Internet Application, the desktop application developer was moved to web application developer with AJAX technology. BINUS School is a Cambridge Curriculum base International School that uses web application for access every information about the school. By using AJAX, performance of web application should be improved and the bandwidth usage is decreased. Problems that occur at BINUS School is not all part of the web application that uses AJAX. This paper introduces usage of AJAX in ASP.NET with C# programming language in web application BINUS School. It is expected by using ASP.NET AJAX, BINUS School website performance will be faster because of reducing web page reload. The methodology used in this paper is literature study. Results from this study are to prove that the ASP.NET AJAX can be used easily and improve BINUS School website performance. Conclusion of this paper is the implementation of ASP.NET AJAX improves performance of web application in BINUS School .

Keywords: ASP.NET, AJAX, web application,

INTRODUCTION

Website is commonly owned by each organization. The website functions vary adapted to the purpose and needs of the organization. One is able to obtain timely and accurate information related to the organization and the various things that may not have been known, such as organization address and contact. The website can also be used as a promotion. Promotion is done in various ways, either through videos, photos, or articles that include advantages and benefits of the organization.

Bina Nusantara (BINUS) is a private organization in Indonesia that stirs in the field of education. One of the BINUS Group main strengths in creating and operating activities and academic services to BINA NUSANTARA Group stakeholders is the implementation of IT (one of them is a web application) in every aspect of the process of academic and academic support. IT Directorate Established in 1981 under the name EDP. In August 2005, BINA NUSANTARA Foundation decided to change the status of the IT department of the Directorate. IT Directorate is responsible not only for supporting BINUS UNIVERSITY but also all business units in BINUS Group. IT Directorate is now led by the Director of IT. Currently, IT Directorate is located on the campus Syahdan. The office is located on the 2nd floor of Building H.

BINUS School Serpong is part of BINUS Group which accepts students from kindergarten to high school. BINUS School Serpong has three web applications for students, parents, and staff. The applications are BINUSMaya School Student, BINUSMaya School Parent and Staff Desk.

BINUSMaya Student usually used by students in BINUS School Serpong to see class schedules, announcements and score. There was also a private message feature that serves as a notification to a particular student (specific) and attendance to determine the list of attendance. Features in BINUSMaya Parent is not much different from the BINUSMaya Student, only, parent could see all the children who attend school in BINUS School Serpong. BINUSMaya parent can also be used to order books online at a specific time period, payment can be by credit card or ATM BCA. Staff Desk is the main application used by the staff in BINUS School Serpong and is the main application of the 3 existing applications. Staff Desk can use to enroll new students, upload a book list, set the score of the students, and many more. In the future, staff desk will be replaced with BINUSMaya School Staff.

BINUS School Serpong uses ASP.NET as the standard for web development because ASP.NET is a unified Web development model that includes the services necessary to build enterprise web applications with minimal coding and offers a free licensing agreement. ASP.NET AJAX is a set of extensions to ASP.NET developed by Microsoft to implement AJAX functionality. ASP.NET AJAX is released under the Microsoft Public License (Ms-PL). AJAX also includes some basic components of server side to support asynchronous call coming from the client.

This paper discussed about the implementation of ASP.NET AJAX web applications in BINUS School Serpong as a method that can improve the performance of the web page so access to the information will be faster. The purpose of this paper proves that the ASP.NET AJAX implementation can improve BINUS School Serpong website performance and can be used easily.

METHODS

This research uses method of literature study and development using ASP.NET. The methodology of application development uses incremental model. Some terms and technologies used in this study are: AJAX, ASP.NET, ASP.NET AJAX, and some default control from AJAX. Some literature used as references can be found in the Bibliography.

Incremental Software Development

According to Pressman (2009) there are many situations in which initial software requirements are reasonably well defined, but the overall scope of the development effort precludes a purely linear process. In addition, there may be a compelling need to provide a limited set of software functionality to users quickly and then refine and expand on that functionality in later software releases. In such cases, you can choose a process model that is desig

剩余内容已隐藏,支付完成后下载完整资料


Asp.net ajax在Web应用程序中的使用

Karto Iskandar1;Andrew Thejo Putranto2

1,2计算机科学系,计算机科学学院,Bina Nusantara University Jln。KH Syahdan No. 9 Palmerah, 雅加达 Barat, 11480

1karto_i@binus.edu;2aputranto@binus.edu

摘要

今天,Web应用程序已成为必需品,许多公司将它们用作与客户保持联系的通信工具。随着互联网用户数量的增加,当前时间内Web应用程序的使用量也在增加。出于Rich Internet Application的原因,桌面应用程序开发人员已经转向使用AJAX技术的Web应用程序开发人员。BINUS School Serpong是一所剑桥课程基地国际学校,使用网络应用程序访问有关学校的所有信息。通过使用AJAX,可以提高Web应用程序的性能并减少带宽使用。BINUS School Serpong发生的问题并不是使用AJAX的Web应用程序的全部内容。本文介绍了在Web应用程序BINUS School Serpong中使用C#编程语言在ASP.NET中使用AJAX。预计通过使用ASP.NET AJAX,BINUS School Serpong网站的性能会因为减少网页重新加载而更快。本文使用的方法是文献研究。本研究的结果是为了证明ASP.NET AJAX可以轻松使用并提高BINUS School Serpong网站的性能。本文的结论是ASP.NET AJAX的实现提高了BINUS School Serpong中Web应用程序的性能。

键词:ASP.NET,AJAX,Web应用程序,BINUS School Serpong

介绍

网站由每个组织共同拥有。网站功能根据组织的目的和需求而变化。人们能够获得与组织相关的及时准确的信息以及可能未知的各种事物,例如组织地址和联系方式。该网站也可以用作促销。通过各种方式进行宣传,包括视频,照片或包含组织优势和利益的文章。

Bina Nusantara(BINUS)是印度尼西亚的一个私人组织,在教育领域激起了作用。BINUS集团在BINA NUSANTARA集团利益相关方创建和运营活动以及学术服务方面的主要优势之一是在学术和学术支持过程的各个方面实施IT(其中一个是Web应用程序)。IT董事会成立于1981年,名称为EDP。2005年8月,BINA NUSANTARA基金会决定改变董事会IT部门的地位。IT理事会不仅负责支持BINUS大学,还负责BINUS集团的所有业务部门。IT董事会现由IT主管领导。目前,IT理事会位于Syahdan校区。办公室位于H楼2楼。

BINUS School Serpong是BINUS集团的一部分,该集团接受从幼儿园到高中的学生。BINUS School Serpong为学生,家长和员工提供三个网络应用程序。申请表是BINUSMaya学生,BINUSMaya学校家长和员工服务台。

BINUSMaya学生通常被BINUS School Serpong的学生用来查看课程表,公告和分数。还有一个私人消息功能,作为通知特定学生(特定)和出勤,以确定出席名单。BINUSMaya Parent的功能与BINUSMaya学生没什么不同,只有父母可以看到所有在BINUS School Serpong上学的孩子。BINUSMaya父母也可以用于在特定时间段在线订购图书,可以通过信用卡或ATM BCA付款。Staff Desk是BINUS School Serpong员工使用的主要应用程序,是现有3个应用程序的主要应用程序。员工服务台可用于注册新学生,上传书籍列表,设置学生的分数等等。将来,员工服务台将由BINUSMaya学校员工取代。

BINUS School Serpong使用ASP.NET作为Web开发的标准,因为ASP.NET是一个统一的Web开发模型,它包含以最少的编码构建企业Web应用程序所需的服务,并提供免费的许可协议。ASP.NET AJAX是Microsoft为实现AJAX功能而开发的一组ASP.NET扩展。ASP.NET AJAX是在Microsoft公共许可证(Ms-PL)下发布的。AJAX还包括服务器端的一些基本组件,以支持来自客户端的异步调用。

本文讨论了在BINUS School Serpong中实现ASP.NET AJAX Web应用程序作为一种可以提高网页性能的方法,因此可以更快地访问信息。本文的目的证明ASP.NET AJAX实现可以提高BINUS School Serpong网站的性能,并且可以轻松使用。

方法

本研究采用ASP.NET文献研究和开发方法。应用程序开发的方法使用增量模型。本研究中使用的一些术语和技术是:AJAX,ASP.NET,ASP.NET AJAX和AJAX的一些默认控件。一些文献作为参考文献可以在参考书目中找到。

增量软件开发

根据Pressman(2009)的观点,在许多情况下,初始软件需求得到了相当明确的定义,但开发工作的总体范围排除了纯粹的线性过程。此外,可能迫切需要快速向用户提供有限的软件功能集,然后在后续软件版本中改进和扩展该功能。在这种情况下,您可以选择旨在以增量方式生成软件的流程模型。

参考图1,随着日历时间的推进,增量模型以交错的方式应用线性序列。每个线性序列以类似于进化过程流产生的增量的方式产生软件的可传递“增量”。

图1增量过程模型

例如,使用增量范例开发的文字处理软件可以在第一个增量中提供基本文件管理,编辑和文档生成功能;第二个增量中更复杂的编辑和文档生成功能;第三个增量中的拼写和语法检查;和第四个增量中的高级页面布局功能。应该注意的是,任何增量的处理流程都可以包含原型设计范例。

使用增量模型时,第一个增量通常是核心产品。也就是说,基本要求得到了解决,但许多补充功能(一些已知的,其他未知的)仍然没有传递。核心产品由客户使用(或经过详细评估)。作为使用和/或评估的结果,为下一个增量开发了一个计划。该计划涉及核心产品的修改,以更好地满足客户的需求以及提供额外的特性和功能。在递送每个增量之后重复该过程,直到产生完整的产品。

增量过程模型侧重于每个增量的交付运营产品。早期增量是最终产品的精简版本,但它们确实提供了为用户服务的功能,并且还提供了用户评估的平台。当人员配备无法通过为项目建立的业务截止日期完成实施时,增量开发尤其有用。可以用更少的人来实现早期增量。如果核心产品受到好评,那么可以添加额外的工作人员(如果需要)以实现下一个增量。此外,可以计划增量来管理技术风险。例如,主要系统可能需要正在开发且其交付日期不确定的新硬件的可用性。有可能以避免使用此硬件的方式规划早期增量,从而使部分功能能够在没有过度延迟的情况下传递给最终用户。

阿贾克斯

根据Sabah(2011),Web应用程序指的是通过Web浏览器通过网络访问的应用程序,并使用浏览器支持的语言(例如,HTML,JavaScript)开发。为了执行,Web应用程序依赖于Web浏览器,并包括许多熟悉的应用程序,如在线零售,在线拍卖和Webmail。

最近Web 2.0应用程序的爆炸性改变了用户对Web体验的期望。用户现在希望网页的行为类似于桌面应用程序,对鼠标移动和击键个人做出反应,并且一次仅更新网页的一小部分。虽然创建Rich Internet Applicat的一些现有技术最受欢迎和广泛使用的是AJAX(Luce,2008)。

根据Dissanayake和Dias(2014)的说法,RIA应用程序可以被描述为桌面应用程序和Web应用程序的混合体,继承了这两种应用程序的良好特性。由于谷歌和Facebook这样的网络巨头开始通过他们的RIA提供非常丰富的功能集,增加了交互性和用户体验,用户目前希望在他们使用的其他Web应用程序中感受到相同的丰富功能。环境对RIA设计和开发工具和技术产生了很好的需求。

根据Kumar和Aravazhi(2013)的研究,在“计算与通信的近期和创新趋势国际期刊”,异步JavaScript和XML或AJAX中,是一组相互关联的Web开发技术,用于创建交互式Web应用程序或富Internet应用程序。使用AJAX,Web应用程序可以在后台异步检索服务器中的数据,而不会干扰现有页面的显示和行为。AJAX的使用导致了网页上交互式动画的增加。使用XML Http Request对象检索数据,或者在不支持它的浏览器中使用Remote Scripting。XML是由万维网联盟定义的语言,万维网联盟是为Web设置标准的机构。XML替换其他标记语言,例如超文本标记语言(HTML)。在HTML中,可以使用的所有HTML元素都是预定的,而XML是元标记语言,因为它允许制作我们自己的标记语言。

ASP.NET

根据Mishra(2014)的说法,ASP.NET是一种统一的Web开发模型,它包含以最少的编码构建企业Web应用程序所需的服务,并提供免费的许可协议。这是事件驱动的编程模型,也是.NET Framework的一部分。ASP.NET页面可以访问.NET Framework类,Web应用程序可以使用与公共语言运行时(CLR)兼容的任何语言进行编码,包括C#和VB。

ASP.NET AJAX

ASP.NET AJAX是Microsoft为实现AJAX功能而开发的一组ASP.NET扩展。ASP.NET AJAX是在Microsoft公共许可证(Ms-PL)下发布的。AJAX Web编程带来的主要变化之一是它依赖于浏览器在进程中扮演更积极的角色。除了浏览器只呈现HTML流和执行特殊的小块脚本之外,AJAX还有一些客户端脚本库,用于促进新的同步回调服务器。AJAX还包括服务器端的一些基本组件,以支持来自客户端的新同步调用。事实上,有一个社区支持的AJAX控件工具包可用于ASP.NET AJAX实现。在图2中,我们可以看到AJAX的比较和ASP.NET AJAX库扩展。

图2 AJAX和ASP.NET AJAX

ASP.NETAJAX在浏览器上运行:(1)Microsoft Internet Explorer(Versigt; = 6.0),(2)Mozilla Firefox(Versigt; = 1.5),(3)Opera(Versigt; = 9.0),(4)Apple Safari( Versigt; = 2.0)和(5)Google Chrome。起初,AJAX似乎在ASP.NET编程中引入了一些新的复杂性。但是,AJAX承诺为用户提供更丰富的体验。由于ASP.NET AJAX的支持几乎没有问题,因此额外的复杂性会降低。在构建网站时,可以选择使用ASP.NET AJAX的几个原因。

首先,ASP.NET AJAX UI引入了通常在桌面应用程序中找到的网站元素,例如矩形舍入,标注,进度指示器和在不同浏览器上运行的弹出窗口。其次,AJAX引入了部分更新网页。对于一些已更新的刷新网页,用户等待时间显着减少。这使基于Web的应用程序更加接近与UI性能感知相关的桌面应用程序。

第三,AJAX支持大多数流行的浏览器,而不仅仅是Internet Explorer。AJAX在Mozilla Firefox和Apple Safari上运行。虽然它仍然需要一些努力来平衡UI的丰富性和覆盖更广泛的受众的能力,但是AJAX依赖于大多数现代浏览器中可用的功能以使其更容易平衡的事实得以实现。

第四,AJAX引入了大量新功能。虽然ASP.NET控件和页面呈现标准模型为网站编程提供了极大的灵活性和可扩展性,但AJAX带来了一个新的概念,即控件扩展器。在运行时附加存在的扩展程序控件服务器端控件(如TextBox,ListBox和DropDownList),并添加新的客户端外观和行为以进行控制。有时,控件扩展器甚至可以调用已建立的Web服务来获取数据以填充列表框。(例如,自动完成扩展程序)。第五,AJAX改进了ASP.NET Form中的身份验证,分析和个性化服务。ASP.NET对身份验证和个性化的支持为Web开发人员提供了很大的优势。

许多ASP.NET AJAX支持在服务器端控件输出的集合中,用于向浏览器呈现AJAX样式。整个过程ASP.NET页面呈现应用程序分解为小块。每个单独的位渲染都由从System.Web.UI.Control派生的类处理。服务器端控制的整个工作是创建一个HTML元素,将输出放在输出流中,以便它们在浏览器中正确显示。例如,控件ListBoxcreatea lt;select /gt;标签。TextBoxcontroltomakean lt;input type =“text”/gt;标签。ASP.NET AJAX服务器端控件使AJAX样式的脚本和HTML成为浏览器。ASP.NETAJAXcontrols支持包括服务器端脚本代码和客户端。

脚本管理器控件

脚本管理器控件管理页面的文本源。主要任务是向页面注册脚本管理器控制脚本AJAX库,以便客户端脚本可以使用系统扩展。脚本管理器还允许部分网页呈现并支持本地化和自定义用户脚本。每个想要使用ASP.NET AJAX的站点都必须在使用AJAX功能的任何页面上包含脚本管理器控件的实例。

对于母版页,这是最重要的。母版页通常使用脚本管理器控件。但是,如果通过代理在特定页面脚本管理器控件上找到第二个脚本管理器对象,则ASP.NET会引发异常。当然,如

剩余内容已隐藏,支付完成后下载完整资料


资料编号:[19986],资料为PDF文档或Word文档,PDF文档可免费转换为Word

您需要先支付 30元 才能查看全部内容!立即支付

课题毕业论文、文献综述、任务书、外文翻译、程序设计、图纸设计等资料可联系客服协助查找。