When I've updated my Custom Elements polyfill to reflect latest V1 specifications, I've realized modern JavaScript has a super problem that transpilers are incapable to fix.
Ideally, we should serve native to native capable browsers, and transpiled, to incapable one ... nobody is doing it though, and this is an issue.
behind the design
My JavaScript book is out!
Don't miss the opportunity to upgrade your beginner or average dev skills.
Wednesday, August 31, 2016
Friday, April 22, 2016
Do you still jQuery ?
In this Strongly coupled with the past post,
I'd like to ask you, in case your next big project is still using jQuery,
if that's strictly necessary, considering the many new standards that meanwhile landed in every browser.
Also, don't forget why polyfills are a very useful "moe forward" approach ;-)
Also, don't forget why polyfills are a very useful "moe forward" approach ;-)
Sunday, April 17, 2016
New DOM Specs about addEventListener
In this DOM Listener: capture, passive, and once I explain what are these latest specifications about.
But there's more: latest dom4 libary also brings in
But there's more: latest dom4 libary also brings in
new Event
, new MouseEvent
and best of all new KeyboardEvent
polyfill for all trhe platform to simplify that much the creation of events!
Friday, April 01, 2016
JavaScript Interfaces
In this Implementing Interfaces in JavaScript blog entry I'll show a new way to enrich prototypal inheritance layering functionalities a part, without modifying prototypes at all.
A different, alternative, and in some case even better, approach to mixins.
Friday, February 26, 2016
JS Glossary On Demand: Now Paperback!
the A5 paperback version of my `JS glosary on demand` book is now live on lulu \o/ https://t.co/4cUd2w1pnn pic.twitter.com/rXxek3TeAp
— Andrea Giammarchi (@WebReflection) February 25, 2016
Updated and Hand Crafted for A5
Imagine you are trying to learn something about Art and images are split between different pages ... that's what I feel every time I read a technical book with code examples split and very hard to follow.It's embarrassing how much work it takes to have a proper pagination that never breaks for both paragraphs and code examples but I've finally did it in here!
The Leanpub E-Book, specially the PDF version, is also well formatted but it's for US letter.
I've ordered a proof of copy for both formats but there's no competition: the Lulu.com A5 paperback version is too handy and kinda cute!
The Book Target
I've already mentioned, privately and publicly, the main target for this book are people with zero or little programming knowledge.However, while the initial part won't bring much info to more advanced developers' plate, the book will cover most common and modern terminology and their real-world application, including asynchronous patterns through Promises, generators, timers and async. Topics usually less common such WebIDL, interfaces and traits are also mentioned and explained.
The main goal of this book is to cover as much as possible giving the minimum amount of needed information in order to decide, as reader, if you need and want to dig more on a specific topic or not.
Please write reviews / feedback!
It's my first book and I'd love to know what you think, what you learned, or what was mistaken from my side.Please remember there is an online repository to file problems or suggest improvements, feel free to write down your thoughts in there.
Thank You!