JavaScript

Eleventy is a simpler static site generator.

Bring joy back to writing websites
D.javascript
André Jaenisch
Eleventy isn't the first Static Site Generator in Node.js out there. But it gets amazing feedback from different parties. Time to look into what makes it so compelling! We'll touch Setup, Data Directory Files and Template Languages. You'll see, that you have plenty of options to choose from.
Eleventy gained the hearts of the community by storm. But what makes it compelling? This talk will show you how to get started, choose a template language, pull in data from an API and deploy the results to Netlify using GitHub Actions. It is not only suited to blogs, but also for conference websites or business outlets. You can pick from Liquid, Nunjucks, Haml, Pug, EJS, Handlebars or Mustache or go with plain JavaScript template strings. Data Directories allow for abstracting away recurring frontmatter elements. They can even be leveraged to build entire pages from! Also, you can query an API endpoint and provide the results as Data to your templates. The build and deploy process can happen whereever you like. For this demo, I'm going to use GitHub Pages and Netlify. The finish up will be a showcase of different real-life examples from the community to inspire you.

Additional information

Type devroom

More sessions

2/6/21
JavaScript
D.javascript
A short introduction about JavaScript Devroom with some interesting resources about JavaScript and a presentation about this special day for the FOSDEM JS Devroom
2/6/21
JavaScript
Florian PASTEUR
D.javascript
How to write Angular components that can evolve ? How can we write components that can easily be refactored ? How can we write tests that won't be useless as soon as we change the implementation ? We can achieve all that by writing the tests first, writing tests that are agnostic of the implementation, so writing tests that focus on features.
2/6/21
JavaScript
Marijn Haverbeke
D.javascript
Accessible code editing with CodeMirror 6
2/6/21
JavaScript
Allon Mureinik
D.javascript
Node.js’ single-threaded nature makes it very susceptible to DOS attacks. While Node.js’ event loop allows performing some operations in an asynchronous fashion, it’s still quite easy to write a vulnerable Node.js application by making a few simple mistakes. In this talk I’ll cover some common ways a Node.js application may be vulnerable to DoS attacks and some common best-practices and counter measures to defend against such attacks.
2/6/21
JavaScript
Akshat Garg
D.javascript
The presentation will cover different ways to communicate across browsing contexts. The main 2 approaches are - 1. Shared memory - Localstorage, Cookies, SessionStorage, IndexedDB, SharedArrayBuffers & Atomics 2. Messaging- Postmessage, BroadcastChannel, MessageChannel The presentation will show a demo of usage for each of the types and explain the use-case, advantages and disadvantages for them.
2/6/21
JavaScript
Gordon Williams
D.javascript
How I reverse engineered an off the shelf smart watch in order to create Bangle.js, a watch that runs JavaScript. I'll cover the process as well as some of the hacks Espruino employs to run JS on a device with only 64k of RAM!
2/6/21
JavaScript
Eliran Natan
D.javascript
Reinforcement learning learns complex processes by experimenting with its environment. In this session, you will get a glimpse into Q-Learning and Neural Networks, and how they can be implemented in JavaScript using TensorFlow.js library. As an example, we will show & discuss an implementation which solves the well-known Mountain Car problem.