Revision 304: Native Browser-APIs episode artwork

EPISODE · Jun 24, 2017 · 1H 3M

Revision 304: Native Browser-APIs

from Working Draft · host Vanessa Otto, Peter Kröner, Hans Christian Reinl, Stefan Baumgartner, Christian »Schepp« Schaefer

Hans und Schepp telefonierten sich diesmal zusammen und sprachen über die weite Verbreitung und Vorteile moderner Browser-APIs. SCHAUNOTIZEN [00:00:15] NATIVE BROWSER-APIS Schepp hat sich in letzt…

Episode metadata supplied by the publisher feed · Published Jun 24, 2017

Hans und Schepp telefonierten sich diesmal zusammen und sprachen über die weite Verbreitung und Vorteile moderner Browser-APIs. SCHAUNOTIZEN [00:00:15] NATIVE BROWSER-APIS Schepp hat sich in letzter Zeit verstärkt damit befasst, wie man auf einer klassischen Webseite den ganzen JavaScript-Balast loswerden kann. Ziel des Ganzen ist zum einen, Download- und Parsezeiten zu vermeiden, aber auch eine schnelle Ausführungsgeschwindigkeit zu erhalten, bedingt durch den dahintersteckenden, nativen C-Code. Und da sieht es eigentlich recht gut aus mit APIs und deren Support durch Browser. Folgende Themenbereiche lassen sich heute ohne viel zusätzliches JavaScript gut bedienen: * DOM-Traversal: Dank querySelector(), querySelectorAll(), closest(), previousSibling(), nextSibling() alles kein Hexenwerk mehr. Hilfreich sind dabei die Tricks, um Element-Collections in iterierbare Arrays umzuwandeln. * DOM-Manipulation: Auch viel leichter geworden, dank before(), after() oder replaceWith(). Mehrere Styles lassen sich prima „en bloc“ per Object.assign(elem.style, { color: '#fff', fontSize: '1rem' }) mit bestehenden Eigenschaften zusammenmergen. * Event Delegation: Dank nunmehr einheitlicher addEventListener()-Methode, durchgehendem Capture-Phase-Support und Element.matches() recht einfach selbst umzusetzen. * Umgang mit Arrays: Schon ES5 war ein Meilenstein und es wird nur besser: forEach(), filter(), map(), reduce(), sort(), find(), findIndex(), includes(), every(), entries() und values(). Und dann gibt es da ja noch die Spread- und Rest-Operatoren. * Umgang mit Objekten: Hier hat ES6 mit assign() und keys() den Grundstein gelegt. Nun wurde u.a. entries() und values() nachgelegt. * Für Karusell-Slider bieten sich die CSS Snap Points an. * Für das Schriften-Laden die CSS Font Loading API. * Für das Lazyloading von Bildern kann man heutzutage gut die Intersection Observer API verwenden. * Und für weiches Scrollen auf der Seite steht neuerdings die CSS-Eigenschaft scroll-behavior mit dem Wert smooth zur Verfügung. [00:57:09] KEINE SCHAUNOTIZEN HOW THE MINMAX() FUNCTION WORKS Die CSS Grid Spec führt eine minmax()-Funktion ein, welche recht praktisch ist. LEA VEROU – CSS VARIABLES: VAR(–SUBTITLE); Wie alle Talks von Lea sehr sehenswert, diesmal mit dem Thema CSS Custom Properties (im Volksmund „CSS Variablen“) zum Thema. ESSENTIAL APPS FOR SWITCHING FROM MAC TO WINDOWS Tolle Ressource für Entwickler, die an einem Wechsel zu Windows interessiert sind, ergänzend zu dem vor zwei Revisionen schon einmal verlinkten „Turning Windows into an environment ready for modern development„. INSIDE CHROME: THE SECRET PROJECT TO CRUSH IE AND REMAKE THE WEB Weil Chrome bald 10 Jahre alt wird dachten wir, verlinken wir dieses historische Fundstück.

PodParley-generated summary based on available episode metadata and transcript content.

NOW PLAYING

Revision 304: Native Browser-APIs

0:00 1:03:11

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

CISO Perspectives (public) N2K Networks This season on CISO Perspectives, host Kim Jones explores some of the challenges of leading through uncertainty. We explore the complexity of the changing nature of regulation and working with the federal government, the evolution of privacy and fraud, and how emerging technologies like AI and quantum computing are changing cyber. When you don’t know what questions to ask, you’re afraid to ask, or don’t know who to ask, CISO Perspectives provides the foundation for learning in this brave new world. Carnivores Don't Get Sunburn - Carnivore Diet Talks Carnivores Don't Get Sunburn - Carnivore Diet Talks Welcome to “Carnivores Don’t Get Sunburn,” where we have fun and explore the carnivore diet and its transformative power. Join us as we uncover real stories from individuals who have thrived on this diet, defying convention and embracing optimal health. Plus, stay tuned for our upcoming documentary featuring diverse carnivores overcoming health challenges. Learn more at www.carnivoredietdocumentary.com.Excitingly, we’re working on an upcoming documentary where we’ll feature carnivores from various walks of life, conquering diverse health challenges. Join us on this journey and learn more at www.carnivoredietdocumentary.com.Join us in uncovering the power of the carnivore diet. Prepare to be inspired, informed, and empowered to embrace optimal health and well-being.Welcome to “Carnivores Don’t Get Sunburn: Unveiling Real Stories of the Carnivore Diet.” Stay tuned for our upcoming documentary. Discover how this lifestyle can transform lives. Learn more at www.carnivoredietdocumentary.com Canine Fitness Fanatics Podcast Hannah Johnson Do you think your dog might benefit from a little extra fitness? Maybe you want to tighten those left turns in agility or tighten their box turn in flyball? Or maybe they are a bit clumsy and just need a little more body awareness? Welcome to the Canine Fitness Fanatics podcast! With your host Hannah Johnson join us as we talk dog fitness and other areas of canine health too! Our mission is to help condition dogs to reduce the risk of injury and increase longevity, whether that’s in sporting dogs, working dogs or pet dogs. All dogs can benefit from a little extra fitness! The Ultraspeaking Podcast Tristan de Montebello, Michael Gendler The Ultraspeaking Podcast explores modern-day solutions to greater confidence, skill, and ease when speaking at work. Each episode features the founders, Tristan and Michael, as they detail unconventional strategies to thrive under pressure and speak with less preparation. Working on hand-gestures and eye contact is OUTDATED advice. Writing a script or creating a structure is a TRAP.It’s time for a better way. Join the Ultraspeaking movement and you’ll never look back.

Frequently Asked Questions

How long is this episode of Working Draft?

This episode is 1 hour and 3 minutes long.

When was this Working Draft episode published?

This episode was published on June 24, 2017.

What is this episode about?

Hans und Schepp telefonierten sich diesmal zusammen und sprachen über die weite Verbreitung und Vorteile moderner Browser-APIs. SCHAUNOTIZEN [00:00:15] NATIVE BROWSER-APIS Schepp hat sich in letzt…

Can I download this Working Draft episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!