Book Description
For 15 years, dynamic web content has been written in a single language: JavaScript. Now, for the first time, programmers have an alternative that doesn’t add an extra layer of abstraction or require plugins. CoffeeScript provides all of JavaScript’s functionality wrapped in a cleaner, more succinct syntax that encourages use of “the good parts” of the language.CoffeeScript: Accelerated JavaScript Development is aimed at programmers who want to get a grip on this new language while improving their understanding of JavaScript. You’ll learn about time-saving features like list comprehensions and splats, organize your code into modules with extensible classes, and get your feet wet with jQuery by building a fast-paced word game.The book also introduces Node.js, the foremost server-side JavaScript environment. Node and CoffeeScript turn out to be a great match, allowing you to develop the front and back ends of a web application in the same language. With CoffeeScript in your toolkit, you can write great code anywhere.
Table of Contents
Chapter 1. Getting Started
Chapter 2. Functions, Scope, and Context
Chapter 3. Collections and Iteration
Chapter 4. Modules and Classes
Chapter 5. Web Interactivity with jQuery
Chapter 6. Server-Side Apps with Node.js
A1. Answers to Exercises
A2. Ways of Running CoffeeScript
A3. Cheat Sheet for JavaScripters
A4. Bibliography
中文:
书名:CoffeeScript: Accelerated JavaScript Development
15年来,动态网络内容一直是用一种语言编写的:JavaScript。现在,程序员第一次有了一个替代方案,它不需要增加额外的抽象层,也不需要插件。CoffeeScript在更简洁、更简洁的语法中提供了JavaScript的所有功能,鼓励使用该语言的优点。CoffeeScrip:加速的JavaScript开发它面向的是那些想要掌握这种新语言,同时又想提高对JavaScript的理解的程序员。您将了解列表理解和拆分等节省时间的功能,使用可扩展的类将代码组织到模块中,并通过构建快节奏的文字游戏来熟悉jQuery。本书还介绍了最重要的服务器端JavaScript环境Node.js。Node和CoffeeScript被证明是很好的组合,允许您使用相同的语言开发Web应用程序的前端和后端。有了工具箱中的CoffeeScript,您就可以在任何地方编写出色的代码。
Table of Contents
Chapter 1. Getting Started
第2章.功能、范围和上下文
第3章.集合和迭代
第4章.模块和类
第5章.与jQuery的Web交互
第6章.带有Node.js的服务器端应用程序
A1. Answers to Exercises
A2.运行CoffeeScrip的方法
A3.Java Scripters的小抄
A4. Bibliography
评论前必须登录!
注册