The aim of this book is to introduce you to programming using the
JavaScript language, eventually helping you to develop into a JavaScript ninja.
This
book starts off with the basics, assuming no programming or JavaScript
knowledge, but quickly gets up to speed covering all the main topics in
great depth such as functions, objects, and DOM manipulation. More
advanced topics such as error handling and testing, functional
programming, and OOP are then introduced after the basics have been
covered. There have been some exciting new developments in the world of
JavaScript over the last few years such as Ajax, HTML5 APIs, and task
runners, and these are covered in the last part of the book. There’s
also a practical project to build a quiz application that is developed throughout the book towards the end of each chapter
Preface
The aim of this book is to introduce you to programming using the JavaScript language,
eventually helping you to develop into a JavaScript ninja.
This is an exciting time to be learning JavaScript, having finally outgrown its early
reputation as a basic scripting language used to produce cringeworthy effects on
web pages. Today, JavaScript is used to produce professional and powerful web
applications. Modern browsers are now capable of running JavaScript code at
lightning speed, and Node.js has helped to revolutionize it by facilitating its use in
other environments. This has led to a much more professional and structured approach
to building JavaScript applications, where it is now considered a full-fledged
programming language. In short, JavaScript has grown up.
JavaScript has a number of cool features that make it stand out from other languages,
such as callbacks, first-class functions, prototypal inheritance, and closures. Its
event-based model also makes it a very good choice for modern web application
development. JavaScript’s ace in the pack, though, is something of which every
language is envious―its ubiquity. JavaScript is available almost everywhere; anybody
who has access to a browser can use it. And this is increasing every year as it becomes
more readily available outside the browser environment. This translates into
JavaScript’s reach being immense: it is already the most popular language on Git-
Hub.1 I can only see JavaScript growing even more popular in the future as it becomes
the language of choice for the Internet of Things2—helping to control household
appliances, even program robots.
Before I get carried away, though, I should point out that JavaScript is far from
perfect, having a number of flaws. It is missing some important programming constructs,
such as modules and private functions, that are considered standard in
many modern programming languages. Yet it’s also an unbelievably flexible language,
where many of these gaps can be filled using the tools that it provides. In addition,
many libraries have sprung into existence that help to extend JavaScript so that it’s
now able to reach its full potential.
1 https://www.asad.pw/blog/2014/11/04/github-language-popularity-statistics/
2 http://en.wikipedia.org/wiki/Internet_of_Things
This book starts off with the basics, assuming no programming or JavaScript
knowledge, but quickly gets up to speed covering all the main topics in great depth
such as functions, objects, and DOM manipulation. More advanced topics such as
error handling and testing, functional programming, and OOP are then introduced
after the basics have been covered. There have been some exciting new developments
in the world of JavaScript over the last few years such as Ajax, HTML5 APIs, and
task runners, and these are covered in the last part of the book. There’s also a practical
project to build a quiz application that is developed throughout the book towards
the end of each chapter. I’ve written with developing for modern browsers
in mind, so I’ve always tried to use the most up-to-date methods in the examples.
Having said that, I’ve also tried to acknowledge if something might not work in an
older browser, or if a workaround is needed.
It’s a long way ahead―16 chapters, to be precise. But remember, every ninja’s
journey starts with a single page (or something like that, anyway). So, turn the page
and let’s get started!
Who Should Read This Book
This book is suitable for beginner-level web designers and developers. Some
knowledge of HTML and CSS is assumed, but no previous programming experience
is necessary.
DOWNLOAD FILE ON MEDIAFIRE http://adf.ly/1em7EI
0 comments:
Post a Comment