SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Angular
for Embedded

1
Confidential
Embedded Web


Billions of web servers in
–

Routers, printers, factories, robots, security cameras,
gas pumps, even periscopes, ...

2
Confidential
Embedded Web Interfaces


Problem with most embedded web interfaces
–

Slow -- Generate pages on a slow device

–

Static -- Don’t want to do unnecessary updates

–

Insecure -- Poor support for CSRF prevention

–

Ugly -- Good looking UIs come with a cost
–

First feature on chopping block

3
Confidential
Embedded Web Interfaces


General Problem ...
–
–

Not leveraging the browser

–



Doing too much server-side on a modest CPU
Missing a good client-side framework

So we went looking
–
–



For the best client-side framework ...
... Angular

Why Angular?

4
Confidential
Why Angular for Embedded?


Balances the client-side
–
–



UI moved to client side
Strong feature rich, framework

Scales well
–
–



Dep. injection, data binding

–

+

Unlike jQuery
Services, Directives

Great with RESTful services
–

Especially JSON payloads

5
Confidential
Server-Side


Embedded web server
–

Offload the entire “V” in MVC

–

Thin binding between URIs and C functions

–

Services RESTful web requests with JSON



Embedded database with schema



JSON request/response
–
–

Schema

–



Data
User feedback, errors and field validation errors

WebSockets
–

Low overhead data supply for data bound widgets

6
Confidential
Packaging


Angular apps can be packaged



Aggregate all scripts + HTML => single script



Combine all CSS => single CSS
–
–

Single script + CSS + assets

–



After home page load
Thereafter, JSON data exchange only

Result
–

Fast, zero delay UI transitions

–

Dynamic UI updates

–

Low overhead on server

7
Confidential
Kickstart for Angular

8
Confidential

Weitere ähnliche Inhalte

Andere mochten auch

Apresentação BofA-ML - Março 2010 (em inglês)
Apresentação BofA-ML - Março 2010 (em inglês)Apresentação BofA-ML - Março 2010 (em inglês)
Apresentação BofA-ML - Março 2010 (em inglês)generalshoppingriweb
 
(香港版)《意拳汇综》书中的珍贵照片
(香港版)《意拳汇综》书中的珍贵照片(香港版)《意拳汇综》书中的珍贵照片
(香港版)《意拳汇综》书中的珍贵照片Jin Song
 
Management by Missions: how to make the mission a part of management
Management by Missions: how to make the mission a part of managementManagement by Missions: how to make the mission a part of management
Management by Missions: how to make the mission a part of managementCarlos Rey
 
Codeofethicsforteachers 140629202003-phpapp01
Codeofethicsforteachers 140629202003-phpapp01Codeofethicsforteachers 140629202003-phpapp01
Codeofethicsforteachers 140629202003-phpapp01Luz Llausas
 
La narrativa del conocimiento vol. ii no. 45
La narrativa del conocimiento vol. ii no. 45La narrativa del conocimiento vol. ii no. 45
La narrativa del conocimiento vol. ii no. 45Fernando Alarcón
 
June_2011_PE_CoverStory
June_2011_PE_CoverStoryJune_2011_PE_CoverStory
June_2011_PE_CoverStoryPeter Smith
 
2016 wida講演会資料
2016 wida講演会資料2016 wida講演会資料
2016 wida講演会資料義治 蛭本
 
ウィキペディアとレファレンスサービス ウィキペディア15周年記念イベント
ウィキペディアとレファレンスサービス ウィキペディア15周年記念イベントウィキペディアとレファレンスサービス ウィキペディア15周年記念イベント
ウィキペディアとレファレンスサービス ウィキペディア15周年記念イベントKumiko Korezumi
 
50 quick report card comments for assessing elementary student work habits sk...
50 quick report card comments for assessing elementary student work habits sk...50 quick report card comments for assessing elementary student work habits sk...
50 quick report card comments for assessing elementary student work habits sk...Yc Lua
 
Ryan - CV, Ijazah, Transkrip, Photo(2)
Ryan - CV, Ijazah, Transkrip, Photo(2)Ryan - CV, Ijazah, Transkrip, Photo(2)
Ryan - CV, Ijazah, Transkrip, Photo(2)RYAN HENDRYANTO
 

Andere mochten auch (17)

Rubrica esperanza
Rubrica esperanzaRubrica esperanza
Rubrica esperanza
 
Apresentação BofA-ML - Março 2010 (em inglês)
Apresentação BofA-ML - Março 2010 (em inglês)Apresentação BofA-ML - Março 2010 (em inglês)
Apresentação BofA-ML - Março 2010 (em inglês)
 
W bradley.resume.2016
W bradley.resume.2016W bradley.resume.2016
W bradley.resume.2016
 
(香港版)《意拳汇综》书中的珍贵照片
(香港版)《意拳汇综》书中的珍贵照片(香港版)《意拳汇综》书中的珍贵照片
(香港版)《意拳汇综》书中的珍贵照片
 
Management by Missions: how to make the mission a part of management
Management by Missions: how to make the mission a part of managementManagement by Missions: how to make the mission a part of management
Management by Missions: how to make the mission a part of management
 
Mapas mentales red
Mapas mentales redMapas mentales red
Mapas mentales red
 
Resume dharmendrakumar
Resume dharmendrakumarResume dharmendrakumar
Resume dharmendrakumar
 
Codeofethicsforteachers 140629202003-phpapp01
Codeofethicsforteachers 140629202003-phpapp01Codeofethicsforteachers 140629202003-phpapp01
Codeofethicsforteachers 140629202003-phpapp01
 
La narrativa del conocimiento vol. ii no. 45
La narrativa del conocimiento vol. ii no. 45La narrativa del conocimiento vol. ii no. 45
La narrativa del conocimiento vol. ii no. 45
 
Arte con Tenedores
Arte con TenedoresArte con Tenedores
Arte con Tenedores
 
June_2011_PE_CoverStory
June_2011_PE_CoverStoryJune_2011_PE_CoverStory
June_2011_PE_CoverStory
 
MY TRANSCRIPT
MY TRANSCRIPTMY TRANSCRIPT
MY TRANSCRIPT
 
2016 wida講演会資料
2016 wida講演会資料2016 wida講演会資料
2016 wida講演会資料
 
ウィキペディアとレファレンスサービス ウィキペディア15周年記念イベント
ウィキペディアとレファレンスサービス ウィキペディア15周年記念イベントウィキペディアとレファレンスサービス ウィキペディア15周年記念イベント
ウィキペディアとレファレンスサービス ウィキペディア15周年記念イベント
 
Resume
ResumeResume
Resume
 
50 quick report card comments for assessing elementary student work habits sk...
50 quick report card comments for assessing elementary student work habits sk...50 quick report card comments for assessing elementary student work habits sk...
50 quick report card comments for assessing elementary student work habits sk...
 
Ryan - CV, Ijazah, Transkrip, Photo(2)
Ryan - CV, Ijazah, Transkrip, Photo(2)Ryan - CV, Ijazah, Transkrip, Photo(2)
Ryan - CV, Ijazah, Transkrip, Photo(2)
 

Ähnlich wie EmbedThis Angular

The Role of Enterprise Integration in Digital Transformation
The Role of Enterprise Integration in Digital TransformationThe Role of Enterprise Integration in Digital Transformation
The Role of Enterprise Integration in Digital TransformationKasun Indrasiri
 
WSO2Con USA 2017: The Role of Enterprise Integration in Digital Transformation
WSO2Con USA 2017: The Role of Enterprise Integration in Digital TransformationWSO2Con USA 2017: The Role of Enterprise Integration in Digital Transformation
WSO2Con USA 2017: The Role of Enterprise Integration in Digital TransformationWSO2
 
More Datacenters, More Problems
More Datacenters, More ProblemsMore Datacenters, More Problems
More Datacenters, More ProblemsTodd Palino
 
Kafka at Scale: Multi-Tier Architectures
Kafka at Scale: Multi-Tier ArchitecturesKafka at Scale: Multi-Tier Architectures
Kafka at Scale: Multi-Tier ArchitecturesTodd Palino
 
Docebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverlessDocebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverlessAWS User Group Italy
 
Breaking Down the Monolith - Peter Marton, RisingStack
Breaking Down the Monolith - Peter Marton, RisingStackBreaking Down the Monolith - Peter Marton, RisingStack
Breaking Down the Monolith - Peter Marton, RisingStackNodejsFoundation
 
Refactoring to Microservices
Refactoring to MicroservicesRefactoring to Microservices
Refactoring to MicroservicesJacinto Limjap
 
Microservices: What's Missing - O'Reilly Software Architecture New York
Microservices: What's Missing - O'Reilly Software Architecture New YorkMicroservices: What's Missing - O'Reilly Software Architecture New York
Microservices: What's Missing - O'Reilly Software Architecture New YorkAdrian Cockcroft
 
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...Tony Erwin
 
Practical Thin Server Architecture With Dojo Peter Svensson
Practical Thin Server Architecture With Dojo Peter SvenssonPractical Thin Server Architecture With Dojo Peter Svensson
Practical Thin Server Architecture With Dojo Peter Svenssonrajivmordani
 
Fn meetup by Sardar Jamal Arif
Fn meetup by Sardar Jamal ArifFn meetup by Sardar Jamal Arif
Fn meetup by Sardar Jamal ArifOracle Developers
 
Practical Thin Server Architecture With Dojo Sapo Codebits 2008
Practical Thin Server Architecture With Dojo Sapo Codebits 2008Practical Thin Server Architecture With Dojo Sapo Codebits 2008
Practical Thin Server Architecture With Dojo Sapo Codebits 2008codebits
 
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18CodeOps Technologies LLP
 
"Micro-frontends from A to Z. How and Why we use Micro-frontends in Namecheap...
"Micro-frontends from A to Z. How and Why we use Micro-frontends in Namecheap..."Micro-frontends from A to Z. How and Why we use Micro-frontends in Namecheap...
"Micro-frontends from A to Z. How and Why we use Micro-frontends in Namecheap...Fwdays
 
Automation Testing Using WebDriver
Automation Testing Using WebDriverAutomation Testing Using WebDriver
Automation Testing Using WebDriverEvozon Test Lab
 
Why Does Modular Middleware Matters
Why Does Modular Middleware MattersWhy Does Modular Middleware Matters
Why Does Modular Middleware MattersWSO2
 
Automating ProjectWise with FME
Automating ProjectWise with FMEAutomating ProjectWise with FME
Automating ProjectWise with FMESafe Software
 
Brewing Beer with Windows Azure - ASPConf
Brewing Beer with Windows Azure - ASPConfBrewing Beer with Windows Azure - ASPConf
Brewing Beer with Windows Azure - ASPConfMaarten Balliauw
 

Ähnlich wie EmbedThis Angular (20)

The Role of Enterprise Integration in Digital Transformation
The Role of Enterprise Integration in Digital TransformationThe Role of Enterprise Integration in Digital Transformation
The Role of Enterprise Integration in Digital Transformation
 
WSO2Con USA 2017: The Role of Enterprise Integration in Digital Transformation
WSO2Con USA 2017: The Role of Enterprise Integration in Digital TransformationWSO2Con USA 2017: The Role of Enterprise Integration in Digital Transformation
WSO2Con USA 2017: The Role of Enterprise Integration in Digital Transformation
 
More Datacenters, More Problems
More Datacenters, More ProblemsMore Datacenters, More Problems
More Datacenters, More Problems
 
Kafka at Scale: Multi-Tier Architectures
Kafka at Scale: Multi-Tier ArchitecturesKafka at Scale: Multi-Tier Architectures
Kafka at Scale: Multi-Tier Architectures
 
Docebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverlessDocebo: history of a journey from legacy to serverless
Docebo: history of a journey from legacy to serverless
 
Breaking Down the Monolith - Peter Marton, RisingStack
Breaking Down the Monolith - Peter Marton, RisingStackBreaking Down the Monolith - Peter Marton, RisingStack
Breaking Down the Monolith - Peter Marton, RisingStack
 
Soa
SoaSoa
Soa
 
Refactoring to Microservices
Refactoring to MicroservicesRefactoring to Microservices
Refactoring to Microservices
 
Microservices: What's Missing - O'Reilly Software Architecture New York
Microservices: What's Missing - O'Reilly Software Architecture New YorkMicroservices: What's Missing - O'Reilly Software Architecture New York
Microservices: What's Missing - O'Reilly Software Architecture New York
 
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
Migration of an Enterprise UI Microservice System from Cloud Foundry to Kuber...
 
Practical Thin Server Architecture With Dojo Peter Svensson
Practical Thin Server Architecture With Dojo Peter SvenssonPractical Thin Server Architecture With Dojo Peter Svensson
Practical Thin Server Architecture With Dojo Peter Svensson
 
Fn meetup by Sardar Jamal Arif
Fn meetup by Sardar Jamal ArifFn meetup by Sardar Jamal Arif
Fn meetup by Sardar Jamal Arif
 
Practical Thin Server Architecture With Dojo Sapo Codebits 2008
Practical Thin Server Architecture With Dojo Sapo Codebits 2008Practical Thin Server Architecture With Dojo Sapo Codebits 2008
Practical Thin Server Architecture With Dojo Sapo Codebits 2008
 
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
Make Java Microservices Resilient with Istio - Mangesh - IBM - CC18
 
"Micro-frontends from A to Z. How and Why we use Micro-frontends in Namecheap...
"Micro-frontends from A to Z. How and Why we use Micro-frontends in Namecheap..."Micro-frontends from A to Z. How and Why we use Micro-frontends in Namecheap...
"Micro-frontends from A to Z. How and Why we use Micro-frontends in Namecheap...
 
Automation Testing Using WebDriver
Automation Testing Using WebDriverAutomation Testing Using WebDriver
Automation Testing Using WebDriver
 
Why Does Modular Middleware Matters
Why Does Modular Middleware MattersWhy Does Modular Middleware Matters
Why Does Modular Middleware Matters
 
Automating ProjectWise with FME
Automating ProjectWise with FMEAutomating ProjectWise with FME
Automating ProjectWise with FME
 
Active network
Active networkActive network
Active network
 
Brewing Beer with Windows Azure - ASPConf
Brewing Beer with Windows Azure - ASPConfBrewing Beer with Windows Azure - ASPConf
Brewing Beer with Windows Azure - ASPConf
 

Kürzlich hochgeladen

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 

Kürzlich hochgeladen (20)

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 

EmbedThis Angular

  • 2. Embedded Web  Billions of web servers in – Routers, printers, factories, robots, security cameras, gas pumps, even periscopes, ... 2 Confidential
  • 3. Embedded Web Interfaces  Problem with most embedded web interfaces – Slow -- Generate pages on a slow device – Static -- Don’t want to do unnecessary updates – Insecure -- Poor support for CSRF prevention – Ugly -- Good looking UIs come with a cost – First feature on chopping block 3 Confidential
  • 4. Embedded Web Interfaces  General Problem ... – – Not leveraging the browser –  Doing too much server-side on a modest CPU Missing a good client-side framework So we went looking – –  For the best client-side framework ... ... Angular Why Angular? 4 Confidential
  • 5. Why Angular for Embedded?  Balances the client-side – –  UI moved to client side Strong feature rich, framework Scales well – –  Dep. injection, data binding – + Unlike jQuery Services, Directives Great with RESTful services – Especially JSON payloads 5 Confidential
  • 6. Server-Side  Embedded web server – Offload the entire “V” in MVC – Thin binding between URIs and C functions – Services RESTful web requests with JSON  Embedded database with schema  JSON request/response – – Schema –  Data User feedback, errors and field validation errors WebSockets – Low overhead data supply for data bound widgets 6 Confidential
  • 7. Packaging  Angular apps can be packaged  Aggregate all scripts + HTML => single script  Combine all CSS => single CSS – – Single script + CSS + assets –  After home page load Thereafter, JSON data exchange only Result – Fast, zero delay UI transitions – Dynamic UI updates – Low overhead on server 7 Confidential