Название: javascript-mancy: Object-Oriented Programming: Mastering the Arcane Art of Summoning Objects in javascript
Автор: Jaime Gonz?lez Garc?a, Artur Mizera
Издательство: Leanpub
Год: 2017
Страниц: 660
Формат: PDF, EPUB, AZW3
Размер: 10 Mb
Язык: English
Imagine... imagine you lived in a world were you could use javascript to change the universe around you, to tamper with the threads that compose reality as you know it and do anything that you can imagine. Well, welcome to the world of javascript-mancy, where wizards, also known as javascriptmancers, control the arcane winds of magic wielding javascript to and fro and command the very fabric of reality.
We, programmers, sadly do not live in such a world. But we do have a measure of magic in ourselves, we have the skills and power to create things out of nothingness. And even if we cannot throw fireballs or levitate (yet), we can definitely change/improve/enhance reality and the universe around us with our little creations. Ain't that freaking awesome?
Well, I hope this book inspires you to continue creating, and using this beautiful skill we share, this time, with javascript ;).
For many years javascript has been frowned upon and looked down on by many developers due to its quirky nature, obscure behaviors and many WTFs that populate its hairy APIs and operations.
Frown upon no more! For with modern design patterns, libraries, tools and the long awaited ECMAScript 6 (ES6, ES2015) writing javascript is now a pleasure.
Join me at the school of javascript-mancy as we travel along the modern landscape of writing javascript in 2015 and beyond, as we discover the organic evolution of this beautiful language and its thriving ecosystem, and delve in the latest features/spells/incantations of the javascript Arcana.
You my friend, can no longer ignore javascript. javascript is the most deployed language on earth, a beautiful and expressive language that supports many paradigms and which has a thriving community that continuously expands and improves its ecosystem with patterns, libraries, frameworks and tools. You don't want to miss this train.
But javascript, though forgiving and specially conceived to be easy to learn, can be either daunting for us that have a strongly-typed mindset and come from languages such as C# or Java or, more often, laughed at as a toy.
For you who consider it daunting and hate working with it worry not! I will show you the most common misconceptions and all the patterns you need to know to become as fluent in javascript as you are in C#.
For you who consider it a toy language, something associated not with real programming but with copy-paste coding or scripting to add flare to websites, I will show you all the different patterns and programming paradigms that javascript supports and which make it just as good and powerful as C#.
Let's get our javascript adventure started!
This is the second book of the javascript-mancy series. Within its mysterious pages you'll find:
* A great introduction to OOP in javascript full of fantasy inspired examples and exercises
* A detailed look at the pillars of OOP in javascript adapted for developers with a C# background
* An awesome walkthrough of how to achieve classical inheritance in javascript with and without ES6 classes
* A step beyond classical inheritance into new OOP paradigms that take advantage of the dynamic nature of javascript to bring super flexibility and composability into your apps
* A look into the obscure object internals and meta-programming with the new Reflect API, Proxies and Symbols
* A thorough introduction to TypeScript and how it can boost your developer productivity
* A lot of references to C# that will make it super easy for C# and Java developers to wrap their heads around javascript and its quirks. (This also extends to developers familiar with strongly typed languages)
* A breathtaking story of EPIC proportions and awkward sense of humor...