Finally figured out how to share styles between components in Polymer. In version 0.5 it was <core-style> and in 1.1, they’ve changed it use shared styles which is pretty easy to grok for someone who sucks at CSS like me.
Category: JavaScript
-
JavaScript Transpiled Languages
Introduction
JavaScript is now the assembly of the web. Rather than wait on language innovation in the design by committee web standards world, many choose to use more advanced languages and tooling to develop in, that then compile to JavaScript.
Transpilers, also known as source to source compilers or transcompilers, are used to translates source code to another form of source code. They are popular and numerous, not just for JavaScript, but also for C, and many other languages. In this article I cover why they are valuable for JavaScript developers, give details on the popular ones in the community, and go over the use case workflow for each.
I’ve chosen 6 of the most popular JavaScript transpiled languages used for client web application development:
-
Message Systems in Programming: Part 7 of 7 – Conclusions
Conclusions
As you can see, each messaging system has pro’s and con’s. Also, each can, and often is, used in tandem with each other. They aren’t always stand alone, and many are used in the same code base. As you better understand the basics of messaging systems, you can more easily make your Object Oriented code bases easier to encapsulate. It also makes it easier when using Design Patterns to have disparate parts of the code talk to each other in a flexible way.
-
Message Systems in Programming: Part 6 of 7 – Streams
Streams
Streams are merely Array’s that emit change events through a callback when items are added to it.
That’s it.