Learning ECMAScript 6

所需积分/C币:9 2018-03-13 15:45:44 7.1MB PDF
收藏 收藏

Learning ECMAScript 6 Learning ECMAScript 6 Learning ECMAScript 6 Learning ECMAScript 6
Learning ECMAScript 6 Copyright o 2015 Packt Publishi ing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews rt has been made in the preparation of this book to ensure the accuracy of the information presented However the information contained in this book is sold without warranty either express or implied. Neither the author nor packt Publishing and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals However, Packt Publishing cannot guarantee the accuracy of this information First published: August 2015 Production reference: 1250815 Published by Packt Publishing ltd Livery place 35 Livery street Birmingham b3 2PB UK ISBN978-1-78588-44-3 www.packtpub.com Credits Author Copy Editor Narayan Prusty Yesha Gangani Reviewers Project Coordinator Andrea chiarelli Shipra Chashan Philippe Renevier Gonin Domenico luciani Proofreader Mihir mone Safis Editing Takeharu oshida Juri Strumpflohner Tejal Soni Commissioning Editor Production coordinator Veena pagare Manu Joseph Acquisition Editor Cover Work Aaron lazar Manu Joseph Content Development editor Shweta Pant Technical editor Rohith rajar Foreword There is no better time than now to be working with JavaScript. Over the last few years, we've scen JavaScript go from being the language no one really wanted to touch to being the language that everyone can't wait to get their hands on. Large, complicated applications are being built everyday in browsers and are exercising and pushing JavaScript further than it has ever been pushed before Frameworks and entirely new approaches to application design have spawned to meet the demands of this new world of client-side development, and the community has rallied around them With ECMAScript 2015, or ES6 as it's commonly known, we finally have the language to match our lofty ambitions. We've gained large, much needed functionalities, such as Promises, and a module system that is native to the language; we' ve also gained smaller, more subtle additions that make day-to-day development more enjoyable. Get familiar with object destructuring, and you'll wonder how you ever wrote JavaScript without it; use an arrow function for the first time, and you'll never want to type function again. Avoid the complications of function scope and leaky variables with"let", and you'll spend less time bashing your head against the desk Not only is ESo a great language and an incredible upgrade on eS5, but the hard work of many members of the community also means that you can use it today and not have to wait for complete implementations in browsers Tools exist to let you convert your es6 code into es5 compliant code meaning the future's now not 5 years down the line, as it so often is with JavaScript This book will guide you through a selection of the most useful additions to JavaScrip and bring you up to the speed with the current functionality available to you. You'll learn how building modular applications is much easier with ES6's native module system and how your code can become cleaner more succinct, and more enjoyable to work with. Learning this new standard is a daunting task for any developer, and I'n delighted to contribute a foreword toward a book that will make this task much less daunting This brave new world of JavaScript, client-side applications, frameworks, and more is being powered by ES6, and this book will help you take your first steps toward it I hope you end this book as excited as I am Jack franklin JavaScript developer at GoCardless @Jack franklin http://www.jackfranklin.co.uk About the author Narayan Prusty is a web and mobile app developer. He specializes in WordPress, HTML5, JavaScript, PHP, Solr, and Cordova. He has been learning and building pplications using these technologies for many years He is the founder of QScutter. com, which provides courses on various application development topics and has more than 10,000 subscribers worldwide. His personal bloghttp://www.qnimate.com,isamongthetopIntelXdkandWordpressblogs He also works as a consultant and freelance developer for many companies worldwide Visithimonlineathttp://www.twitter.com/narayanprusty. Thanks first and foremost to the web community without their combined brilliance and generosity in documenting and sharing solutions, i wouldn' t have been able to write this book Finally hanks to my family for being So supportive About the reviewers Andrea Chiarelli has over 20 years of experience as a software engineer and technical writer. In his professional career, he has used various technologies for the projects he has been involved in, from C# to JavaScript, ASP. NET to AngularIS, and rest to Phone Gap/ cordova He has contributed to many online and offline magazines, such as Computer Programming and ASP Today, and was a coauthor of a few books published by wrox Press Currently, he is a senior software engineer at the Italian office of Apparound Inc a mobile software company founded in the heart of Silicon Valley, and he is a regular contributor to HTML.it, an Italian online magazine focused on web technologies Philippe renevier gonin has been an assistant professor at the University of Nice Sophia Antipolis, france, since 2005. He teaches web technologies, software engineering(architecture and development), and HCI(Human Computer Interaction) From a research perspective philippe works on connections between user-centered design (for example, users and tasks models)and software engineering(for example, component architecture and UI development). In his projects, he often develops software and tools in Javascript, HMTL, CSS and Java(android) Domenico Luciani is a 22-year-old passionate programmer. He is currently working as a software engineer for some companies and is pursuing a degree in computer science at The University of Palermo He is a computer vision enthusiast. He loves computer security and often pen-tests too; he takes part in bounty programs for many companies. He has worked on many technologies in the past, such as MongoDB, Node. js, PHP, PostgreSQL, and C He creates node. js modules, which are published on the npm website. He has collaborated as a reviewer and is currently learning Golang just for fun He is also a part of the maker community and likes working on his raspberry pi He loves writing code using vim and managing it with Git. He also writes tests and collaborates on open source projects across the web In his spare time he is a runner and loves parkour. You can find more information abouthimathttp://www.dlion.it Mihir Mone is a postgraduate from Monash University, Australia. Although he did his post graduation in network computing, these days, he mainly is into web and mobile development. After spending some time fiddling around with routers and switches, he quickly decided to build upon his passion for web development-not design, but development Building web systems and applications rather than websites with all their fancy Flash animations was something that was very interesting and alluring to him. He even returned to his alma mater to teach web development in order to give back what he had learned Now, he works for a small software/ engineering house in Melbourne, doing web development and prototy ping exciting new ideas in the field of data visualization and ux domains He is also a big JavaScript fan and has previously reviewed a few books on jQuery and JavaScript. Ile is a Linux enthusiast and a big proponent of the Oss movement. He believes that software should always be free to actualize its true potential A true geek at heart, he spends some of his leisure time writing code in the hope that it may be helpful to the masses. You can find more information on him at http://mihirmone.apphb.com

试读 127P Learning ECMAScript 6
立即下载 身份认证VIP会员低至7折
  • 分享达人

关注 私信
Learning ECMAScript 6 9积分/C币 立即下载
Learning ECMAScript 6第1页
Learning ECMAScript 6第2页
Learning ECMAScript 6第3页
Learning ECMAScript 6第4页
Learning ECMAScript 6第5页
Learning ECMAScript 6第6页
Learning ECMAScript 6第7页
Learning ECMAScript 6第8页
Learning ECMAScript 6第9页
Learning ECMAScript 6第10页
Learning ECMAScript 6第11页
Learning ECMAScript 6第12页
Learning ECMAScript 6第13页
Learning ECMAScript 6第14页
Learning ECMAScript 6第15页
Learning ECMAScript 6第16页
Learning ECMAScript 6第17页
Learning ECMAScript 6第18页
Learning ECMAScript 6第19页
Learning ECMAScript 6第20页

试读结束, 可继续阅读

9积分/C币 立即下载