分享

TheServerSide.com Ajax applications can contain much more client-side code

 accesine 2005-10-29
Ajax in Action excerpt: Managing Events and the Model


October 2005

Discussion


than a standard web application, and hence benefit much more from the order that patterns and refactoring bring. Chapter 4 of Manning‘s Ajax in Action is the first of three chapters that apply refactoring and patterns to the client-side codebase. You won‘t see much of the asynchronous requests that give Ajax its name in this chapter, but the style of programming that we‘re discussing here is a direct consequence of being able to make asynchronous requests.

This chapter is about structuring Ajax applications. It provides examples of how the well-established Model-View-Controller pattern can be used to provide that structure. In this installment, the authors look at the Controller part of MVC as a way of organizing the event handling code in an Ajax client application, and at the introduction of a domain model into the JavaScript tier of code.

Download Ajax in Action - Chapter 4, Part 2

For more information on Ajax in Action go to www./crane.

Biographies

Dave Crane holds degrees in Chemistry, Parallel Computing, and Ecological Economics from Edinburgh University in Scotland. He has worked with Internet technologies for the last ten years, primarily with Java technologies such as J2EE, Jini and Jython. He has pushed the boundaries of DHTML, and latterly Ajax, since 1997, in web site design, on early Digital TV set-top boxes and in home automation systems. Most recently, he has been senior developer for Smartstream Tchnologies Ltd., developing highly-interactive Ajax-based application frameworks that are currently in use in many tier-1 banks and financial institutions worldwide. Dave lives in Gloucestershire, UK.

Eric Pascarello graduated from Penn State University in 2002 with a B.S. in Mechanical Engineering. Since then Eric has been employed as a Senior Developer working with enterprise level applications in ASP.NET. Eric has also written "JavaScript: Your visual blueprint for dynamic Web pages (2nd ed)". Eric volunteers his free time as a moderator of the HTML and JavaScript forum at www.JavaRanch.com, a friendly online community dedicated to helping people learn Java and other web technologies. He lives in Laurel, MD.

Ajax in Action excerpt: Managing Events and the Model


October 2005

Discussion


Ajax applications can contain much more client-side code than a standard web application, and hence benefit much more from the order that patterns and refactoring bring. Chapter 4 of Manning‘s Ajax in Action is the first of three chapters that apply refactoring and patterns to the client-side codebase. You won‘t see much of the asynchronous requests that give Ajax its name in this chapter, but the style of programming that we‘re discussing here is a direct consequence of being able to make asynchronous requests.

This chapter is about structuring Ajax applications. It provides examples of how the well-established Model-View-Controller pattern can be used to provide that structure. In this installment, the authors look at the Controller part of MVC as a way of organizing the event handling code in an Ajax client application, and at the introduction of a domain model into the JavaScript tier of code.

Download Ajax in Action - Chapter 4, Part 2

For more information on Ajax in Action go to www./crane.

Biographies

Dave Crane holds degrees in Chemistry, Parallel Computing, and Ecological Economics from Edinburgh University in Scotland. He has worked with Internet technologies for the last ten years, primarily with Java technologies such as J2EE, Jini and Jython. He has pushed the boundaries of DHTML, and latterly Ajax, since 1997, in web site design, on early Digital TV set-top boxes and in home automation systems. Most recently, he has been senior developer for Smartstream Tchnologies Ltd., developing highly-interactive Ajax-based application frameworks that are currently in use in many tier-1 banks and financial institutions worldwide. Dave lives in Gloucestershire, UK.

Eric Pascarello graduated from Penn State University in 2002 with a B.S. in Mechanical Engineering. Since then Eric has been employed as a Senior Developer working with enterprise level applications in ASP.NET. Eric has also written "JavaScript: Your visual blueprint for dynamic Web pages (2nd ed)". Eric volunteers his free time as a moderator of the HTML and JavaScript forum at www.JavaRanch.com, a friendly online community dedicated to helping people learn Java and other web technologies. He lives in Laurel, MD.

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多