International PHP Conference |
May 25 – 29, 2020 in Berlin

Native JavaScript Modules: import {Browsers, Node.js}; export {production};

Session
This talk originates from the archive. To the CURRENT program
Until February 6: ✓ Workshop Day for free ✓ Group discount ✓ Save up to € 700 Register now

More talks in the program:

Infos
Wednesday, October 17 2018
14:15 - 15:15

Techniques to organize JavaScript code as modules started nearly from the beginning of the JS history and went from separate files, AMD/CommonJS formats to bundlers/transpilers. Today, all the modern browsers support native JavaScript modules and they are halfway to Node.js. That means it’s a perfect time to start using them. This requires extending and optimizing the techniques we are bundling the JavaScript (aka ECMAScript, or ES) modules with today, changing the workflow and the way the code is executed. Also, it makes the new tools to develop and debug the ES modules. Today it’s possible to load script synchronously, on demand and publish them to production, making sure all the code is still fully functional.
Expect to hear about the main differences of the native modules (comparing to the bundlers/transpilers approach), how they work, and their features; how the browser/Node.js engines load and execute them and why it took so long for ES modules to be implemented in the JS engines; how to use native JS modules in production today; the benefits, performance overview, pros/cons, and conclusions; an overview of future perspectives and a number of examples/demos.

Stay tuned!

Behind the Tracks of IPC

PHP Core Technology
Best Practices & Application

General Web Development
General Web Development & more

Agile & Company Culture
Agility has become mainstream

Software Architecture
Concepts & Environments

Security
All about Web Security

Testing & Test Driven Development
An overview of the most important topics

DevOps & Continuous Delivery
DevOps is a philosophy

Docker, Kubernetes, Cloud
An overview of the most important topics

#slideless (pure coding)
An overview of the most important topics

PHP Frameworks
An overview of the most important topics

Content Management Systems
An overview of the most important topics