Upload
giovanni-frigo
View
466
Download
0
Embed Size (px)
Citation preview
Belka
Requests from our customer
• Fresh and usable UI/UX Design
• Multiplatform🖼Win + 🍏OS X + 🐧Linux
• Hardware integration
Belka
Some more detailCarlo Gavazzi is an international group active in designing, manufacturing and marketing electronic equipment.
The group's products provide automation solutions for the global markets of industrial and building automation.
Belka
INDUSTRIAL DESIGN IS HARD
• Many features
• Convincing your clients that user testing is useful is very hard
• How will I implement my pretty design?
Belka
WHAT COULD WE USE?CHOOSE ME! CHOOSE ME!
Too expensive!
CHOOSE ME!
This is interesting…No custom design
JVM
Belka
WHAT COULD WE USE?CHOOSE ME! CHOOSE ME!
Too expensive!
CHOOSE ME!
This is interesting…No custom design
JVM
Belka
WHAT IS C++ FOR?
• Running CEF
• Running V8 Javascript engine
• Talk with the hardware instruments
Belka
PULL vs PUSH LOGIC
All the calls are on a pull logic, meaning that Javascript has to call the C++ layer and then expects a (short lived) response.
How about C++ sending messages to Javascript? (Push-style)
Belka
DON’T TRY THIS AT HOME
• Building CEF is not the easiest thing in the world
• Updating CEF can be tricky
Belka
ADVANTAGES OVER CEF
• No need to ever compile native OS code
• Easier if you just need the “Web UI” layer
• Tons of plugins available via npm
• Can be as easy as npm run package