410x Filetype PPTX File size 0.18 MB Source: software.intel.com
Application Architecture
Components & function Topology
• Device: connect to physical world
– Microcontroller: behavior Cloud services
– Sensors: switch, knob, temp, video, mic
– Actuators: led, speaker, servo, stepper
motor hosting
• PC/Tablet/phone: user interface
– Observe, control
• Server
– Proxy, connectivity Human
– Aggregation: collect sensor data Thing
– Computation: speech/vision
– Storage: persistent logging
– Security: authentication
– Services: geocoding
Application Architecture
Application Stack
Client Server Device
• iOS: • PHP • Arduino/Spark
ObjectiveC/Cocoa – Low power/cost
• .net (asp) – No OS, slow, small memory
Touch – Sketches in wiring, C-like
• Mac: • Ruby – Used in lab
• Netduino
ObjectiveC/Cocoa – Like arduino
• Windows desktop: • Java – C# + visual studio
C#/Win32 • Python • Raspberry Pi, Galileo,
beaglebone
• Win8: */winrt – Powerful processors
• Javascript – Linux
• Browser: HTML5
(nodejs) • Files, networking, software
(Javascript/HTML/CS – C, python, javascript (nodejs)
S) – Galileo also uses Wiring
– Extensive runtime
– Not well suited for hard real-time
• Predictability over speed
• Glitches in game or video
Javascript Across the Stack
–HTML5 for client
–Nodejs for server
–Nodejs for device
• Benefits
–1 language, but not 1 program
–Great support for communication
–Big community committed to open source
Javascript
• Started as scripting language for browser
–Now for server, applications
• Similar syntax to C & Java
–if (a > 3) b = 2;
• Dynamic typing
> var a = 1
> a + 1
2
> a = '1'
> a + 1
'11'
Environments for Javascript
• Browser: runs on everything with a display
–PC, phone, tablet, …
• Nodejs: does not require display
–Laptop, server, beaglebone, raspberry pi, galileo
no reviews yet
Please Login to review.