oreilly javascript web applications

280 684 1
oreilly javascript web applications

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... you much about JavaScript as a language—other books are better suited for that, such as Douglas Crockford’s JavaScript: The Good Parts (O’Reilly) However, this book will show you how to structure and build complex JavaScript applications, allowing you to create incredible web experiences Adding Structure The secret to making large JavaScript applications is to not make large JavaScript applications Instead,... browsers have become so powerful that building fullblown applications in JavaScript is not only feasible, but increasingly popular Applications like Gmail and Google Maps have paved the way to a completely different way of thinking about web applications, and users are clamoring for more Companies are hiring full-time JavaScript developers No longer is JavaScript a sublanguage relegated 1 to simple scripts... continuous integration servers, such as Selenium We’ll then get into the debugging side of things, exploring Firefox and WebKit’s Web Inspectors, the console, and using the JavaScript debugger Chapter 10 This chapter covers another important—but often neglected—part of JavaScript web applications: deployment Chiefly, we’ll consider performance and how to use caching, minification, gzip compression, and... explores the JavaScriptMVC library, a popular jQuery-based framework for building JavaScript web applications You’ll learn all the basics of JavaScriptMVC, such as classes, models, and controllers, as well as using clientside templates to render views The chapter ends with a practical CRUD list example, demonstrating how easy it is to create abstract, reusable, memory-safe widgets with JavaScriptMVC... (fax) We have a web page for this book, where we list errata, examples, and any additional information You can access this page at: http://www .oreilly. com/catalog/9781449303518 To comment or ask technical questions about this book, send email to: xviii | Preface bookquestions @oreilly. com For more information about our books, courses, conferences, and news, see our website at http://www .oreilly. com Find... books on the subject, such as JavaScript: The Good Parts by Douglas Crockford (O’Reilly) This book is aimed at developers with some JavaScript experience, perhaps using a library like jQuery, who want to get into building more advanced JavaScript applications Additionally, many xi sections of the book—especially the appendixes—will also be a useful reference for experienced JavaScript developers How This... new JavaScript applications are being built Unfortunately, and perhaps due to the language’s history, many of them are constructed very poorly For some reason, when it comes to JavaScript, acknowledged patterns and best practices fly out the window Developers ignore architectural models like the Model View Controller (MVC) pattern, instead blending their applications into a messy soup of HTML and JavaScript. .. some of the exciting developments with real-time applications and WebSockets First, the chapter covers real time’s rather turbulent history and its current support in the browsers Then, we’ll get into the details of WebSockets and their high-level implementation, browser support, and JavaScript API Next, we’ll demonstrate a simple RPC server that uses WebSockets to connect up servers and clients We’ll... completely different development approach to server-side applications You need to think about structure, templating, communicating with the server, frameworks, and much more That’s where this book comes in; I’ll take you through all the steps necessary to create state-of-theart JavaScript applications Who Is This Book For? This book isn’t for JavaScript newbies, so if you’re unfamiliar with the basics... Table of Contents Preface JavaScript has come a long way from its humble beginnings in 1995 as part of the Netscape browser, to the high-performance JIT interpreters of today Even just five years ago developers were blown away by Ajax and the yellow fade technique; now, complex JavaScript apps run into the hundreds of thousands of lines In the last year, a new breed of JavaScript applications has appeared, . class="bi x0 y0 w0 h1" alt="" JavaScript Web Applications JavaScript Web Applications Alex MacCaw Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo JavaScript Web Applications by Alex MacCaw Copyright. exploring Firefox and WebKit’s Web Inspectors, the console, and using the JavaScript debugger. Chapter 10 This chapter covers another important—but often neglected—part of JavaScript web applications: . library. Chapter 13 This chapter explores the JavaScriptMVC library, a popular jQuery-based framework for building JavaScript web applications. You’ll learn all the basics of JavaScriptMVC, such as classes,

Ngày đăng: 28/04/2014, 17:00

Từ khóa liên quan

Mục lục

  • Table of Contents

  • Preface

    • Who Is This Book For?

    • How This Book Is Organized

    • Conventions Used in This Book

    • Accompanying Files

    • Code Conventions

      • jQuery Examples

      • Holla

      • Author’s Note

      • Safari® Books Online

      • How to Contact Us

      • Chapter 1. MVC and Classes

        • Early Days

        • Adding Structure

        • What Is MVC?

          • The Model

          • The View

          • The Controller

          • Toward Modularity, Creating Classes

          • Adding Functions to Classes

          • Adding Methods to Our Class Library

          • Class Inheritance Using Prototype

          • Adding Inheritance to Our Class Library

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan