+ All Categories
Home > Documents > Web Applications for ModernControl Systemsbeamdocs.fnal.gov/AD/DocDB/0072/007201/001/web... ·...

Web Applications for ModernControl Systemsbeamdocs.fnal.gov/AD/DocDB/0072/007201/001/web... ·...

Date post: 20-Jul-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
7
Beau Harrison Controls Modernization 10th April 2019 Web Applications for Modern Control Systems
Transcript
Page 1: Web Applications for ModernControl Systemsbeamdocs.fnal.gov/AD/DocDB/0072/007201/001/web... · 2019-04-11 · •Adoption of Web Assembly for reuse of C code –Tech is still in infancy

Beau HarrisonControls Modernization10th April 2019

Web Applicationsfor Modern Control Systems

Page 2: Web Applications for ModernControl Systemsbeamdocs.fnal.gov/AD/DocDB/0072/007201/001/web... · 2019-04-11 · •Adoption of Web Assembly for reuse of C code –Tech is still in infancy

• Familiarity– Tabbed browsing– Scroll and zoom– Resizing– Navigation between pages

• Accessibility– Zoom– Specialized keyboards– Screen readers– High-contrast

• Standards– HTML (1993)– CSS (1996)– JavaScript (1995)

• Support– Google (Chrome)– Mozilla (Firefox)– Apple (Safari)– Microsoft (Edge)

• Rapid Development

4/10/19 Beau Harrison | Web Applications for Modern Control Systems2

Benefits of Browser-Based Applications

Page 3: Web Applications for ModernControl Systemsbeamdocs.fnal.gov/AD/DocDB/0072/007201/001/web... · 2019-04-11 · •Adoption of Web Assembly for reuse of C code –Tech is still in infancy

• Volatility of the platform– JavaScript has never been volatile, ECMAScript standard– New web app development tools are created everyday

• We shouldn’t adopt the newest thing• Stay close to the ECMAScript standard

• Performance– Strategies for offloading large workloads

• Server-side service• Browser services workers, separate thread e.g. squoosh• Web Assembly, systems code run in the browser e.g. WebP

– Graphics• Canvas API for 2D• WebGL API for 2D and 3D uses graphics hardware

Potential Downsides

4/10/19 Beau Harrison | Web Applications for Modern Control Systems3

Page 4: Web Applications for ModernControl Systemsbeamdocs.fnal.gov/AD/DocDB/0072/007201/001/web... · 2019-04-11 · •Adoption of Web Assembly for reuse of C code –Tech is still in infancy

• Design flexibility– Application design is no longer constrained– We must instate standards for web applications– Potential for non-conformant applications

• New– Build and deployment tools– Development practices and tools

Known Downsides

4/10/19 Beau Harrison | Web Applications for Modern Control Systems4

Page 5: Web Applications for ModernControl Systemsbeamdocs.fnal.gov/AD/DocDB/0072/007201/001/web... · 2019-04-11 · •Adoption of Web Assembly for reuse of C code –Tech is still in infancy

• Component-based design– Modularity– Reusability– Small code– Ease of use– Visual and functional

consistency

• React– Fast visual updates– Rich customizable tools– Active community

4/10/19 Beau Harrison | Web Applications for Modern Control Systems5

Benefits of Choice

Page 6: Web Applications for ModernControl Systemsbeamdocs.fnal.gov/AD/DocDB/0072/007201/001/web... · 2019-04-11 · •Adoption of Web Assembly for reuse of C code –Tech is still in infancy

• Central Component Repo– In the works with multiple modules already deployed– Standard set of tools to encourage application uniformity

• Central Build Environment– Adopt modern continuous integration/deployment standards

• Drag and Drop App Builder– Investigating GrapesJS

• Adoption of Web Assembly for reuse of C code– Tech is still in infancy– Autodesk is using Web Assembly for web viewer

4/10/19 Beau Harrison | Web Applications for Modern Control Systems6

Visions for the Future

Page 7: Web Applications for ModernControl Systemsbeamdocs.fnal.gov/AD/DocDB/0072/007201/001/web... · 2019-04-11 · •Adoption of Web Assembly for reuse of C code –Tech is still in infancy

4/10/19 Beau Harrison | Web Applications for Modern Control Systems7

Demos


Recommended