Dart 1 for Everyone: Fast, Flexible, Structured Code for the Modern Web (Paperback)
Chris Strom
- 出版商: Pragmatic Bookshelf
- 出版日期: 2014-12-23
- 定價: $800
- 售價: 9.5 折 $760
- 語言: 英文
- 頁數: 164
- 裝訂: Paperback
- ISBN: 1941222250
- ISBN-13: 9781941222256
-
相關分類:
JavaScript
立即出貨(限量) (庫存=1)
買這商品的人也買了...
-
$480$379 -
$590$502 -
$480$317 -
$454利用 Python 進行數據分析 (Python for Data Analysis)
-
$281程序員修煉之道 :從小工到專家 (The Pragmatic Programmer: From Journeyman to Master)
-
$780$616 -
$620$484 -
$690$538 -
$403機器學習
-
$449機器學習算法原理與編程實踐
-
$980$774 -
$505Python 金融大數據分析 (Python for Finance)
-
$352Python 資料分析與挖掘實戰
-
$648$616 -
$880$695 -
$580$458 -
$680$537 -
$560$437 -
$480$317 -
$520$411 -
$680$530 -
$699$552 -
$590$502 -
$580$458 -
$520$411
相關主題
商品描述
Psst! You're not stuck with JavaScript anymore. Google's Dart language makes programming for the Web simpler, faster, and more powerful. With version 1.0 in 2013 and an ECMA standard in 2014, Dart is ready to radically change web development for the better. And Dart 1 for Hipsters has got you covered. Completely updated for Dart 1 and the ECMA standard, with new sections on new Dart features like method cascades, event streams, and class constructor syntax, this book wastes no time in immersing you in the finer points of this powerful and surprisingly beautiful language.
Dart has changed significantly since the first printing of this book and Dart 1 for Everyone has kept up. Every chapter has been revised and some chapters have been almost completely rewritten since the first printing. The MVC project chapters dumped the old JavaScript-like event handlers for the sleek new streams interface, and the chapter on testing reflects the extensive changes in testing now available in Dart.
Brand-new sections explore some of Dart's beautiful new features, such as:
Method cascades: Improve code readability dramatically.
Event streams: Simplified event handling, consistent with virtually every other asynchronous interaction in Dart.
Library parts: Yet another way Dart promotes code organization.
New class constructor syntax: Dart supports a nice variety of surprisingly expressive and concise ways to declare constructors.
* Building your own packages: Quickly share your work with the world.
You'll start writing Dart code on page 1, and throughout the book, you'll refactor that code to explore Dart's features: OOP, real libraries and packages, testing, and more. You'll learn how to write beautiful, maintainable application code that just works in all modern browsers. Caution: after reading you may develop an intense attachment to structured code and skinny jeans.
What You Need:You will need the Dart SDK, which is freely available from https://dartlang.org. Most of the book works with Dartium, a preview release of Chrome that is included in the SDK and has the Dart VM built-in. Some of the examples use either the dart2js tool or the Dart Editor to compile Dart down into JavaScript - both are part of the SDK.
商品描述(中文翻譯)
嘘!你不再被困在JavaScript中了。Google的Dart語言使得網頁編程更加簡單、快速和強大。Dart在2013年推出了1.0版本,在2014年成為ECMA標準,準備徹底改變網頁開發的方式。《Dart 1 for Hipsters》全面更新了Dart 1和ECMA標準的內容,新增了關於方法串聯、事件流和類構造函數語法等新功能的章節,立即讓你深入了解這個強大且令人驚艷的語言。
自從本書第一版出版以來,Dart已經有了很大的變化,《Dart 1 for Everyone》也跟上了這些變化。每一章都經過了修訂,有些章節甚至從頭到尾都重新寫過。MVC項目章節放棄了舊的類似JavaScript的事件處理程序,轉而使用新的流接口,而測試章節則反映了Dart中測試方面的廣泛變化。
全新的章節探索了Dart的一些新功能,例如:
- 方法串聯:大大提高代碼的可讀性。
- 事件流:簡化事件處理,與Dart中的其他異步交互一致。
- 函數庫部分:Dart促進代碼組織的另一種方式。
- 新的類構造函數語法:Dart支持多種令人驚艷且簡潔的聲明構造函數的方式。
- 構建自己的套件:快速與世界分享你的工作。
你將從第1頁開始編寫Dart代碼,在整本書中,你將重構該代碼以探索Dart的功能:面向對象編程、真實的庫和套件、測試等等。你將學習如何編寫美觀、易於維護的應用代碼,並且在所有現代瀏覽器中都能正常運行。注意:閱讀後,你可能會對結構化代碼和緊身牛仔褲產生強烈的依戀。
所需工具:
你需要Dart SDK,可以從https://dartlang.org免費獲得。本書大部分內容適用於Dartium,這是一個包含Dart虛擬機的Chrome預覽版本,已經包含在SDK中。一些示例使用dart2js工具或Dart Editor將Dart編譯為JavaScript,這兩者都是SDK的一部分。