On programming and being a programmer
To celebrate International Programmer’s Day, a bunch of our developers shared their stories on how did they begin to code and what drives them forward.
Web Components has been a hot topic in the web development scene for a while now. But what does it actually mean for the web ecosystem?
In the beginning of the web, there was Hypertext Markup Language, HTML for short. HTML is still very much around: This blog entry you’re reading is made of HTML. However, some things have changed. One of them is that in the beginning, the web was mostly pages, whereas today, this site you’re visiting is running as a Single Page Application (as is quite typical these days). Secondly, a set of documentation known as the “web standards” has gone through a long evolution to be what it is today.
One of these web standards is called Web Components. From its introduction in 2011, the standard has been making its way to your browser, and in 2018 it is working in Chrome and Firefox (with a developer flag).
So, what can you do with Web Components? Mostly the same things we’ve been already doing with the numerous web application frameworks like Angular, Vue and React. As this sounds less than exciting, let’s elaborate a bit.
Do you always end up needing the same button, the same search bar, the same app - but the contexts are on entirely different platforms, built with different technologies? Web Components can probably help you!
Web Components aims to change this by bringing reusable components to the browser as a standard. The main technologies in achieving this are Custom Elements and Shadow DOM. Custom elements, as the name suggests, bring about the ability to create new HTML elements, with customized functionality. As HTML elements are the base building blocks of representation on the web, custom elements will allow for more use cases to be addressed, in a modular, elegant way.
To summarize: Web Components becoming a standard signifies the permanent transformation of the web from pages to components and applications. Being an emerging standard means that the technology will play nice with the things already built and introduce new possibilities to integrate across frameworks and stacks. It could very well be one of the best things to happen in your browser in a while.
Are you endlessly intrigued by emerging technologies? Want to explore and apply them to real-world business cases together with our team of like-minded developers? Check out our open positions and drop us a line.
Or perhaps you might want to know what Web Components could do for you? Email me at firstname.lastname@example.org, and I’m happy to help out!