Programming in CoffeeScript

0
(0)

Programming in CoffeeScript
 

  • Author:Mark Bates
  • Length: 320 pages
  • Edition: 1
  • Publisher: Addison-Wesley Professional
  • Publication Date: 2012-06-03
  • ISBN-10: 032182010X
  • ISBN-13: 9780321820105
  • Sales Rank: #1541428 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    Use CoffeeScript to Write Better JavaScript Code Than Ever Before!

    If you can do it in JavaScript, you can do it better in CoffeeScript. And, since CoffeeScript “compiles down” to JavaScript, your code will fit neatly into virtually any web environment. In Programming in CoffeeScript, Mark Bates shows web developers why CoffeeScript is so useful and how it avoids the problems that often make JavaScript code buggy and unmanageable. He guides you through every feature and technique you need to write quality CoffeeScript code and shows how to take advantage of CoffeeScript’s increasingly robust toolset.

    Bates begins with the absolute basics of running and compiling CoffeeScript and then introduces syntax, control structures, functions, collections, and classes. Through same page code comparisons, you’ll discover exactly how CoffeeScript improves on JavaScript. Next, you’ll put it to work in building applications that are powerful, flexible, maintainable, concise, reliable, and secure. Bates shares valuable tips for better development, illuminating CoffeeScript’s hidden gems and warning you about its remaining “rough edges.” The book concludes with a start-to-finish application case study showing how to code back-ends and front-ends and integrate powerful frameworks and libraries. Coverage includes

    • Understanding the right ways to compile and execute CoffeeScript
    • Using CoffeeScript’s clean syntax to focus on your code, not JavaScript’s distractions
    • Working with CoffeeScript’s control structures, functions, and arguments
    • Taking full advantage of CoffeeScript’s implementation of collections and iterators
    • Leveraging CoffeeScript’s full class support to create complex data models
    • Automating common application development tasks with Cake and Cakefiles
    • Configuring Jasmine with CoffeeScript support, and using it to systematically test your code
    • Writing Node.js server-side applications in CoffeeScript
    • Using CoffeeScript to write jQuery and Backbone.js applications
    • Integrating framework code to avoid “reinventing the wheel”

    Want a better way to create the JavaScript code your web applications need? CoffeeScript is the solution–and this book will help you master it!

    中文:

    书名:CoffeeScrip中的编程

    使用CoffeeScrip编写比以往更好的Java代码!

    如果您可以用JavaScript完成这项工作,那么您可以用CoffeeScrip做得更好。而且,由于CoffeeScrip“向下编译”为JavaScript,因此您的代码将整齐地适合几乎任何Web环境。在……里面 CoffeeScrip中的编程,Mark Bates向Web开发人员展示了为什么CoffeeScript如此有用,以及它如何避免经常使Java代码出现错误和难以管理的问题。他将指导您完成编写高质量CoffeeScript代码所需的每一项功能和技术,并展示如何利用CoffeeScript日益强大的工具集。

    Bates从运行和编译CoffeeScript的绝对基础开始,然后介绍语法、控制结构、函数、集合和类。通过同一页代码的比较,您将发现CoffeeScript到底是如何改进的。接下来,您将把它用于构建功能强大、灵活、可维护、简洁、可靠和安全的应用程序。贝茨分享了更好地开发的宝贵技巧,阐明了CoffeeScript隐藏的珍宝,并警告您其剩余的“粗糙边缘”。这本书以一个从头到尾的应用程序案例研究结束,展示了如何对后端和前端进行编码,并集成强大的框架和库。覆盖范围包括

    • 了解编译和执行CoffeeScript的正确方法
    • 使用CoffeeScript干净的语法专注于您的代码,而不是让人分心
    • 使用CoffeeScript的控制结构、函数和参数
    • 充分利用CoffeeScript的集合和迭代器实现
    • 利用CoffeeScript的全类支持创建复杂的数据模型
    • 使用Cake和CakeFiles自动执行常见应用程序开发任务
    • 使用CoffeeScript支持配置Jasmine,并使用它系统地测试您的代码
    • Writing Node.js server-side applications in CoffeeScript
    • 使用CoffeeScript编写jQuery和Backbone.js应用程序
    • 集成框架代码以避免“重新发明车轮”

    想要更好的方式来创建您的Web应用程序所需的JavaScript代码吗?CoffeeScrip是解决方案-这本书将帮助你掌握它!

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册