Lesson 10 Flashcards
Accelerometer
Is a device that measures acceleration, which is a change in speed or direction over a period of time.
Blob
Is simply a data type that can store binary data, like images or multimedia files.
Capacitive Touch Screen
Use electrodes to sense objects touching the screen. Because the object must have conductive properties, a finger works but something like a stylus does not. Most touch-screen smartphones and computer monitors are capacitive.
Civic Data
Is location data that’s more easily understood by humans, such as a map or an address like 637 Park Street.
Device-Independent
A program or interface that runs software that produces similar results on a wide variety of hardware.
File API
Allows a browser or application to upload files from local storage to a remote server without the need for a plug-in.
Geodetic Data
Provides raw location data, such as longitude and latitude.
Geolocation API
Defines an interface that provides a device’s location, usually using latitude and longitude coordinates. The API exposes the latitude and longitude to JavaScript in a Web page using the geolocation object.
Gesture Event
Gesture events are triggered for multi-finger gestures. The main gesture events are:
• gesturestart: Every new two-finger gesture triggers a gesturestart event.
• gesturechange: When both fingers move around the screen, a gesturechange event occurs.
• gestureend: Lifting both fingers from the screen triggers a gestureend event.
Local Storage Is persistent data and is useful for things like online to-do lists, contact lists, calendars, and saved shopping cart data. You want this information to be available to the user after the browser closes and the user reopens it at some point. The information is held in persistent memory of Web applications and mobile devices.
Platform-Independent That means you can use the HTML5 family of technologies to create Web pages and apps that run on different desktop and mobile device operating systems, such as Microsoft Windows, Internet Explorer, and Windows Phone. You can also run them in Mac OS X, Android, iOS, and Blackberry OS. Because HTML5 is built on an open standard, users of HTML5 apps do not have to download a plug-in or use devices.
Polling In which a browser would contact the Web server periodically (sometimes constantly) to see if new information was available to present to the user.
Resistive Touch Screen Is made up of several layers, the topmost of which flexes when pressed and pushes into the layer underneath. Sensors detect the pressure, which is how the system knows which part of the screen has been pressed. The touch screens used in hospitals and restaurants are often resistive.
Session Storage Is temporary data that’s kept for only one session, until the browser is closed. All of the data in a session is saved in session storage and then erased from session storage when you close the browser tab or window. An example of the proper use of session storage is a ZIP code lookup program.
Touch Event You can use JavaScript to create touch events in touch-enabled apps. Developers can draw from a large set of input application programming interfaces (APIs) that work with touch screen data.
Touch Object Detects input from touch-enabled devices.
Touchlist Which includes all of the points of contact with a touch screen.
Web Hypertext Application Technology Working Group (WHATWG) The Web Hypertext Application Technology Working Group (WHATWG) maintains a living HTML specification that includes APIs that were not originally part of the HTML5 specification. These include Geolocation, Web Workers, WebSockets, and File API.
Web Worker API APIs that allow scripts to run in the background as parallel threads. These background threads can connect to multiple Web pages, fetch real-time data like stock.
WebSocket API Is an API that offers full-duplex communication, which is simultaneous two-way communication, through a single socket over the Internet. Developers use WebSockets mainly for real-time Web applications like chat, multiplayer online gaming, and stock quotes.