Faster, smaller, better: Compiling your application together with OpenLayers 3 (fossgis2016) episode artwork

EPISODE · Jul 5, 2016 · 22 MIN

Faster, smaller, better: Compiling your application together with OpenLayers 3 (fossgis2016)

from Chaos Computer Club - recent events feed · host Tobias Sauerwein

OpenLayers 3 setzt den Closure Compiler ein, um JavaScript in besseres JavaScript zu kompilieren. Der von Google entwickelte Closure Compiler macht weit mehr als normale Code-Minifier: Es werden nicht nur Variablen- oder Funktionsnamen gekürzt, durch die statische Analyse des Codes werden eine Reihe von Optimierungen durchgeführt, wie zum Beispiel das Entfernen von nicht verwendetem Code oder Funktions-Inlining. Besonders interessant ist das Type-Checking und auch ein Syntax-Check, so dass viele Fehler, die sonst erst während der Ausführung auffallen würden, schon früh entdeckt werden. Man kann OpenLayers 3 verwenden ohne mit dem Closure Compiler in Berührung zu kommen. Kompiliert man seine Anwendung allerdings zusammen mit OpenLayers, kommt man in den Genuss einiger Vorteile. Zuallererst, da der Compiler nicht verwendeten Code entfernt, wird nur der Teil von OpenLayers mit eingebunden, der tatsächlich in der eigenen Anwendung verwendet wird. Da oft nur ein Bruchteil der umfangreichen Funktionalität von OpenLayers benötigt wird, kann so die Build-Größe und damit auch die Ladezeit erheblich reduziert werden. Die Kompilierung zusammen mit OpenLayer macht es auch leichter OpenLayers durch eigene Komponenten zu erweitern. Und nicht zuletzt wird natürlich auch der Anwendungscode durch den Closure Compiler analysiert und überprüft, so dass man zum Beispiel vom Type-Checking profitieren kann. Dieser Vortrag stellt den Closure Compiler vor, der eine robuste Plattform zur Entwicklung komplexer Anwendungen mit OpenLayers bietet.Vorteile, Besonderheiten und Erfahrungen aus Projekten werden angesprochen. about this event: https://fossgis-konferenz.de/2016/programm/event5032.html

OpenLayers 3 setzt den Closure Compiler ein, um JavaScript in besseres JavaScript zu kompilieren. Der von Google entwickelte Closure Compiler macht weit mehr als normale Code-Minifier: Es werden nicht nur Variablen- oder Funktionsnamen gekürzt, durch die statische Analyse des Codes werden eine Reihe von Optimierungen durchgeführt, wie zum Beispiel das Entfernen von nicht verwendetem Code oder Funktions-Inlining. Besonders interessant ist das Type-Checking und auch ein Syntax-Check, so dass viele Fehler, die sonst erst während der Ausführung auffallen würden, schon früh entdeckt werden. Man kann OpenLayers 3 verwenden ohne mit dem Closure Compiler in Berührung zu kommen. Kompiliert man seine Anwendung allerdings zusammen mit OpenLayers, kommt man in den Genuss einiger Vorteile. Zuallererst, da der Compiler nicht verwendeten Code entfernt, wird nur der Teil von OpenLayers mit eingebunden, der tatsächlich in der eigenen Anwendung verwendet wird. Da oft nur ein Bruchteil der umfangreichen Funktionalität von OpenLayers benötigt wird, kann so die Build-Größe und damit auch die Ladezeit erheblich reduziert werden. Die Kompilierung zusammen mit OpenLayer macht es auch leichter OpenLayers durch eigene Komponenten zu erweitern. Und nicht zuletzt wird natürlich auch der Anwendungscode durch den Closure Compiler analysiert und überprüft, so dass man zum Beispiel vom Type-Checking profitieren kann. Dieser Vortrag stellt den Closure Compiler vor, der eine robuste Plattform zur Entwicklung komplexer Anwendungen mit OpenLayers bietet.Vorteile, Besonderheiten und Erfahrungen aus Projekten werden angesprochen. about this event: https://fossgis-konferenz.de/2016/programm/event5032.html

NOW PLAYING

Faster, smaller, better: Compiling your application together with OpenLayers 3 (fossgis2016)

0:00 22:36

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.

LIGHTS, CAMERA, SMILE! Creatives Club Media Lights, Camera, Smile, is a podcast for anyone with a dream to share something with the world, out of the overflow of themselves - be it their mind, their heart, their personalities, and much more. Each of us are alive in this moment in time, with an innate ability to have ideas and create various things to benefit both ourselves and the people around us for a reason, and here, you will find the encouragement, the inspiration, and the motivation to do just that. Hosted by Cicily, founder of Creatives Club, she dives into various topics surrounding creativity and business. Exploring entrepreneurship for creatives in a corporate reality, sharing tips and tricks in a media centered company, answering questions regarding what a creative actually is are just a few of the things discussed on this podcast. Be encouraged to create for yourself as Cicily gets vulnerable by pivoting the camera to herself for the first time.To submit questions for Cicily to answer, or have her address certain t The PFN Cincinnati Bengals Podcast Pro Football Network The PFN Cincinnati Bengals Podcast is where you can stay up-to-date with the latest news and analysis on the Cincinnati Bengals! Our hosts, industry experts Jay Morrison and Dallas Robinson, provide weekly coverage of all the latest rumors and updates about the Bengals. Don’t forget to follow the show to receive new episodes directly in your podcast feed and leave a rating and review to let us know your thoughts. Piramidi Club The Bitcoin Butcher La Migliore Pizza di Firenze IT IS WHAT IT IS with SHALLZ - SHALLY ZOMORODI Shally Zomorodi What?  "It is what it is" with ShallZ – Shally ZomorodiWhen? WeeklyHow long? 35 minutesEvery week, Mother of 4, wife, morning TV news anchor and ultimate hostess, Shally Zomorodi talks about life - its up's and downs and how to stay on track in her weekly podcast, ‘It is what it is.’  Known for her high energy, infectious smile and ability to see the cup as half full Shally talks about all things in life and how to work through its challenges. From parenting, marriage, friendships, current events to how to smile when it just seems impossible ‘It is what it is’ is the perfect podcast to help inspire you to dance through the rain.

Frequently Asked Questions

How long is this episode of Chaos Computer Club - recent events feed?

This episode is 22 minutes long.

When was this Chaos Computer Club - recent events feed episode published?

This episode was published on July 5, 2016.

What is this episode about?

OpenLayers 3 setzt den Closure Compiler ein, um JavaScript in besseres JavaScript zu kompilieren. Der von Google entwickelte Closure Compiler macht weit mehr als normale Code-Minifier: Es werden nicht nur Variablen- oder...

Can I download this Chaos Computer Club - recent events feed 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!