Opencv.Js: Computer Vision Processing for the Web

Total Page:16

File Type:pdf, Size:1020Kb

Opencv.Js: Computer Vision Processing for the Web 24 OpenCV.js: Computer Vision Processing for the Web Sajjad Taheri, Alexander Veidenbaum, Mohammad R. Haghighat Alexandru Nicolau Intel Corp Computer Science Department, Univerity of [email protected] California, Irvine sajjadt,alexv,[email protected] ABSTRACT the web based application development, the general paradigm The Web is the most ubiquitous computing platform. There is used to be deploying computationally complex logic on the are already billions of devices connected to the web that server. However, with recent client side technologies, such have access to a plethora of visual information. Understand- as Just in time compilation, web clients are able to handle ing images is a complex and demanding task which requires more demanding tasks. sophisticated algorithms and implementations. OpenCV is There are recent efforts to provide computer vision for the defacto library for general computer vision application web based platforms. For instance [4] and [5] have pro- development, with hundreds of algorithms and efficient im- vided lightweight JavaScript libraries that offer selected vi- plementation in C++. However, there is no comparable sion functions. There is also a JavaScript binding for Node.js, computer vision library for the Web offering an equal level that provides JavaScript programs with access to OpenCV of functionality and performance. This is in large part due libraries. There are requirements for a computer vision li- to the fact that most web applications used to adopt a client- brary on the web that are not entirely addressed by the server approach in which the computational part is handled above mentioned libraries that this work seeks to meet: by the server. However, with HTML5 and new client-side 1. High performance: Computer vision processing requires technologies browsers are capable of handling more complex a large amount of complex computation. This substan- tasks. This work brings OpenCV to the Web by making tial computational cost demands efficient implementa- it available natively in JavaScript, taking advantage of its tion and careful optimization. efficiency, completeness, API maturity, and its community's collective knowledge. We developed an automatic approach 2. Comprehensiveness: Complex computer vision appli- to compile OpenCV source code into JavaScript in a way cations often incorporate several algorithms from dif- that is easier for JavaScript engines to optimize significantly ferent domains to such as image processing, machine and provide an API that makes it easier for users to adopt learning, and data analysis. Hence, it is amenable to the library and develop applications. We were able to trans- provide programmers wit a comprehensive list of func- late more than 800 OpenCV functions from different vision tionality. categories while achieving near-native performance for most of them. 3. Portability: Library must be portable across all diverse web based platforms including browsers and IOT de- Keywords vices. Computer vision; Web; JavaScript; Performance 4. Adoptability: It should be easy for the community to adopt the library. This requires documentation, tuto- 1. INTRODUCTION AND MOTIVATION rials and online forums. JavaScript has rapidly evolved from a programming lan- guage designed to add scripting capabilities to make static Towards achieving these goals we decided to port OpenCV web pages more appealing[1] into the most popular and ubiq- library to JavaScript, so that can be run in different web uitous programming language deployed on billions of devices clients. We call it OpenCV.js. OpenCV[6] is an open source [2, 3]. With emergence of new technologies such as WebVR computer vision library that offers a large number of low and WebRTC, the popularity of Internet Of Things(IOT) level kernels and high level applications ranging from im- platforms, and with the abundance of visual data, computer age processing, object detection, tracking, and matching. vision processing on the web will have numerous applica- OpenCV provides efficient implementations of algorithms tions. optimized for multiple target architectures such as Desk- However, computer vision usually has high computational top and mobile processors and GPUs[7]. OpenCV has a cost, due to 1) sheer amount of computation especially on mature API which is well documented with a lot of sam- images with higher resolution and high frame rates, 2) com- ples and online tutorials. The source code is also rigorously plex algorithms to process and understand the visual data, tested. Although it is developed in C++, there are bindings 3) real time requirements for interactive applications. JavaScript for other languages such as Python and Java that expand is a scripting dynamically-typed language, which makes it its availability to a broader scope and audience. OpenCV.js performance-wise inferior to languages such as C++. With is provided as a JavaScript library that works with different Listing 2: Implementation of Strlen function with typed ar- User Application rays used as program memory (JavaScript) OpenCV.js // Memory var Memory= new Uint8Array(256 ∗ 1 0 2 4 ) ; Host ... Layout Engine JS Engine Environment function s t r l e n(ptr) f ptr= ptr j 0 ; var curr= ptr; OS and Hardware while (Memory[curr] j 0 != 0) f Figure 1: OpenCV.js interaction with user programs and curr=(curr+1) j 0 ; host environments g return (curr −ptr) j 0 ; g web environment. As shown in Figure 1, it utilizes the un- derlying environment to perform computation and media ac- cess. Environments rely on JavaScript engines for executing 2.2 WebAssembly JavaScript logic and utilize rendering and browser engines While ASM.js provides opportunity to reach near native to display graphics. Two such environments that are consid- performance, it has limitations that make it a challenge to ered in this work are: web browsers such as Mozilla Firefox use for some targets with low resources such as embedded and Node.js[8]. Table 1 provides a comparison between vi- devices. One major limitation is that the size of the gen- sion libraries that are available to JavaScript programs. erated JavaScript code tend to be large. This makes pars- ing JavaScript code to hot spot especially on mobile devices. 2. METHODOLOGY This motivates WebAssembly[11] to be pushed forward. We- bAssembly is a portable size and load-time efficient binary This section describes the approach taken to compile OpenCV format designed as an alternative target for web compila- source code directory into JavaScript equivalent. Modifica- tion. tions to the source code and techniques to adopt it to the web model will be discussed. We have used Emscripten[9] 2.3 Binding Generation and Compilation to generate JavaScript code. It is a source to source com- Regardless of the target, there is an issue with this ap- piler developed by Mozilla to translates LLVM bitcode to proach: as part of the compilation, compiler removes high JavaScript. Emscripten targets a subset of JavaScript called level language information such as class and function iden- ASM.js that allows engines to perform extra level of opti- tifiers and assign unique mangled names to them. While mizations. this is fine for compiling a C++ programs to executable 2.1 ASM.js JavaScript programs, when porting libraries, it will be al- most impossible for developers to develop programs through ASM.js[10] is a strict subset of JavaScript that is designed mangled names. To address this issue, we have provided an to allow JavaScript engines to perform additional optimiza- automatic approach to extract binding information of differ- tions that is not possible with normal JavaScript. Some ent OpenCV entities such as functions and classes and ex- JavaScript engines such as SpiderMonkey are even able to pose them to JavaScript properly. This enables the library perform Ahead-Of-Time (AOT) compilation. to have a similar interface with normal OpenCV that many ASM.js makes several limiations to the normal JavaScript: programmers are already familiar with. Table 2 shows equiv- 1) data is annotated with explicit type information. This in- alent JavaScript data types for common C++ data types . formation can be sued to eliminates dynamic type guards. Listing 3 shows how C++ and JavaScript API of OpenCV Code listing 1 demonstrate this technique. without this can be used to implement a filter. assumption, since addition between different types such as Although it is possible to convert the majority of OpenCV Numbers and Strings leads to different operations, JavaScript library to JavaScript, in order to make it portable, some of engines need to generate guards that check the data type its functionality can be skipped: dynamically. 2) ASM.js utilizes JavaScript typed arrays to provide an abstraction for program memory similar to 1. There are alternative implementations for some OpenCV the C/C++ virtual machine. Typed arrays are raw buffers functions that are better suited for the web. For in- available in JavaScript that engines are highly optimized for stance accessing file system is not trivial in web and working with it. Listing 2 demonstrate how typed arrays functions to access media devices such as cameras, and can be used to model program memory. 3) Memory is ex- graphical user interfaces have alternatives. We pro- pected to be manually managed by the programmer and no vide a JavaScript helper module that uses HTML5 garbage collection is provided. primitives to provides users with replacement func- tions to access to files hosted on the web, media de- Listing 1: Type inferrance based optimization vices through getUserMedia and display graphics us- function add(x,y) f ing HTML Canvas. x=x j 0 ; //x isa 32-bit value y=y j 0 ; //y is alsoa 32-bit value 2. OpenCV is very comprehensive. Some of the provided functions are not used in certain applications domains. // 32-bit addition Including them in the library, will make the library un- return x+y; necessary bigger.
Recommended publications
  • Machine Learning in the Browser
    Machine Learning in the Browser The Harvard community has made this article openly available. Please share how this access benefits you. Your story matters Citable link http://nrs.harvard.edu/urn-3:HUL.InstRepos:38811507 Terms of Use This article was downloaded from Harvard University’s DASH repository, and is made available under the terms and conditions applicable to Other Posted Material, as set forth at http:// nrs.harvard.edu/urn-3:HUL.InstRepos:dash.current.terms-of- use#LAA Machine Learning in the Browser a thesis presented by Tomas Reimers to The Department of Computer Science in partial fulfillment of the requirements for the degree of Bachelor of Arts in the subject of Computer Science Harvard University Cambridge, Massachusetts March 2017 Contents 1 Introduction 3 1.1 Background . .3 1.2 Motivation . .4 1.2.1 Privacy . .4 1.2.2 Unavailable Server . .4 1.2.3 Simple, Self-Contained Demos . .5 1.3 Challenges . .5 1.3.1 Performance . .5 1.3.2 Poor Generality . .7 1.3.3 Manual Implementation in JavaScript . .7 2 The TensorFlow Architecture 7 2.1 TensorFlow's API . .7 2.2 TensorFlow's Implementation . .9 2.3 Portability . .9 3 Compiling TensorFlow into JavaScript 10 3.1 Motivation to Compile . 10 3.2 Background on Emscripten . 10 3.2.1 Build Process . 12 3.2.2 Dependencies . 12 3.2.3 Bitness Assumptions . 13 3.2.4 Concurrency Model . 13 3.3 Experiences . 14 4 Results 15 4.1 Benchmarks . 15 4.2 Library Size . 16 4.3 WebAssembly . 17 5 Developer Experience 17 5.1 Universal Graph Runner .
    [Show full text]
  • Create Mobile Apps with HTML5, Javascript and Visual Studio
    Create mobile apps with HTML5, JavaScript and Visual Studio DevExtreme Mobile is a single page application (SPA) framework for your next Windows Phone, iOS and Android application, ready for online publication or packaged as a store-ready native app using Apache Cordova (PhoneGap). With DevExtreme, you can target today’s most popular mobile devices with a single codebase and create interactive solutions that will amaze. Get started today… ・ Leverage your existing Visual Studio expertise. ・ Build a real app, not just a web page. ・ Deliver a native UI and experience on all supported devices. ・ Use over 30 built-in touch optimized widgets. Learn more and download your free trial devexpress.com/mobile All trademarks or registered trademarks are property of their respective owners. Untitled-4 1 10/2/13 11:58 AM APPLICATIONS & DEVELOPMENT SPECIAL GOVERNMENT ISSUE INSIDE Choose a Cloud Network for Government-Compliant magazine Applications Geo-Visualization of SPECIAL GOVERNMENT ISSUE & DEVELOPMENT SPECIAL GOVERNMENT ISSUE APPLICATIONS Government Data Sources Harness Open Data with CKAN, OData and Windows Azure Engage Communities with Open311 THE DIGITAL GOVERNMENT ISSUE Inside the tools, technologies and APIs that are changing the way government interacts with citizens. PLUS SPECIAL GOVERNMENT ISSUE APPLICATIONS & DEVELOPMENT SPECIAL GOVERNMENT ISSUE & DEVELOPMENT SPECIAL GOVERNMENT ISSUE APPLICATIONS Enhance Services with Windows Phone 8 Wallet and NFC Leverage Web Assets as Data Sources for Apps APPLICATIONS & DEVELOPMENT SPECIAL GOVERNMENT ISSUE ISSUE GOVERNMENT SPECIAL DEVELOPMENT & APPLICATIONS Untitled-1 1 10/4/13 11:40 AM CONTENTS OCTOBER 2013/SPECIAL GOVERNMENT ISSUE OCTOBER 2013/SPECIAL GOVERNMENT ISSUE magazine FEATURES MOHAMMAD AL-SABT Editorial Director/[email protected] Geo-Visualization of Government KENT SHARKEY Site Manager Data Sources MICHAEL DESMOND Editor in Chief/[email protected] Malcolm Hyson ..........................................
    [Show full text]
  • Extracting Taint Specifications for Javascript Libraries
    Extracting Taint Specifications for JavaScript Libraries Cristian-Alexandru Staicu Martin Toldam Torp Max Schäfer TU Darmstadt Aarhus University GitHub [email protected] [email protected] [email protected] Anders Møller Michael Pradel Aarhus University University of Stuttgart [email protected] [email protected] ABSTRACT ACM Reference Format: Modern JavaScript applications extensively depend on third-party Cristian-Alexandru Staicu, Martin Toldam Torp, Max Schäfer, Anders Møller, and Michael Pradel. 2020. Extracting Taint Specifications for JavaScript libraries. Especially for the Node.js platform, vulnerabilities can Libraries. In 42nd International Conference on Software Engineering (ICSE have severe consequences to the security of applications, resulting ’20), May 23–29, 2020, Seoul, Republic of Korea. ACM, New York, NY, USA, in, e.g., cross-site scripting and command injection attacks. Existing 12 pages. https://doi.org/10.1145/3377811.3380390 static analysis tools that have been developed to automatically detect such issues are either too coarse-grained, looking only at 1 INTRODUCTION package dependency structure while ignoring dataflow, or rely on JavaScript is powering a wide variety of web applications, both manually written taint specifications for the most popular libraries client-side and server-side. Many of these applications are security- to ensure analysis scalability. critical, such as PayPal, Netflix, or Uber, which handle massive In this work, we propose a technique for automatically extract- amounts of privacy-sensitive user data and other assets. An impor- ing taint specifications for JavaScript libraries, based on a dynamic tant characteristic of modern JavaScript-based applications is the analysis that leverages the existing test suites of the libraries and extensive use of third-party libraries.
    [Show full text]
  • Microsoft AJAX Library Essentials Client-Side ASP.NET AJAX 1.0 Explained
    Microsoft AJAX Library Essentials Client-side ASP.NET AJAX 1.0 Explained A practical tutorial to using Microsoft AJAX Library to enhance the user experience of your ASP.NET Web Applications Bogdan Brinzarea Cristian Darie BIRMINGHAM - MUMBAI Microsoft AJAX Library Essentials Client-side ASP.NET AJAX 1.0 Explained Copyright © 2007 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, Packt Publishing, nor its dealers or distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: July 2007 Production Reference: 1230707 Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK. ISBN 978-1-847190-98-7 www.packtpub.com Cover Image by www.visionwt.com Table of Contents Preface 1 Chapter 1: AJAX and ASP.NET 7 The Big Picture 8 AJAX and Web 2.0 10 Building
    [Show full text]
  • Learning Javascript Design Patterns
    Learning JavaScript Design Patterns Addy Osmani Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo Learning JavaScript Design Patterns by Addy Osmani Copyright © 2012 Addy Osmani. All rights reserved. Revision History for the : 2012-05-01 Early release revision 1 See http://oreilly.com/catalog/errata.csp?isbn=9781449331818 for release details. ISBN: 978-1-449-33181-8 1335906805 Table of Contents Preface ..................................................................... ix 1. Introduction ........................................................... 1 2. What is a Pattern? ...................................................... 3 We already use patterns everyday 4 3. 'Pattern'-ity Testing, Proto-Patterns & The Rule Of Three ...................... 7 4. The Structure Of A Design Pattern ......................................... 9 5. Writing Design Patterns ................................................. 11 6. Anti-Patterns ......................................................... 13 7. Categories Of Design Pattern ............................................ 15 Creational Design Patterns 15 Structural Design Patterns 16 Behavioral Design Patterns 16 8. Design Pattern Categorization ........................................... 17 A brief note on classes 17 9. JavaScript Design Patterns .............................................. 21 The Creational Pattern 22 The Constructor Pattern 23 Basic Constructors 23 Constructors With Prototypes 24 The Singleton Pattern 24 The Module Pattern 27 iii Modules 27 Object Literals 27 The Module Pattern
    [Show full text]
  • Analysing the Use of Outdated Javascript Libraries on the Web
    Updated in September 2017: Require valid versions for library detection throughout the paper. The vulnerability analysis already did so and remains identical. Modifications in Tables I, III and IV; Figures 4 and 7; Sections III-B, IV-B, IV-C, IV-F and IV-H. Additionally, highlight Ember’s security practices in Section V. Thou Shalt Not Depend on Me: Analysing the Use of Outdated JavaScript Libraries on the Web Tobias Lauinger, Abdelberi Chaabane, Sajjad Arshad, William Robertson, Christo Wilson and Engin Kirda Northeastern University {toby, 3abdou, arshad, wkr, cbw, ek}@ccs.neu.edu Abstract—Web developers routinely rely on third-party Java- scripts or HTML into vulnerable websites via a crafted tag. As Script libraries such as jQuery to enhance the functionality of a result, it is of the utmost importance for websites to manage their sites. However, if not properly maintained, such dependen- library dependencies and, in particular, to update vulnerable cies can create attack vectors allowing a site to be compromised. libraries in a timely fashion. In this paper, we conduct the first comprehensive study of To date, security research has addressed a wide range of client-side JavaScript library usage and the resulting security client-side security issues in websites, including validation [30] implications across the Web. Using data from over 133 k websites, we show that 37 % of them include at least one library with a and XSS ([17], [36]), cross-site request forgery [4], and session known vulnerability; the time lag behind the newest release of fixation [34]. However, the use of vulnerable JavaScript libraries a library is measured in the order of years.
    [Show full text]
  • 6. Client-Side Processing
    6. Client-Side Processing 1. Client-side processing 2. JavaScript 3. Client-side scripting 4. Document Object Model (DOM) 5. Document methods and properties 6. Events 7. Calling a function 8. Table of squares function 9. Comments on previous script 10. Defining a function 11. Event handlers 12. Event handlers example 13. Event listeners 14. Functions and form fields 15. Defining the function myTranslate 16. Navigating the DOM tree 17. Finding elements by name 18. Finding elements by name (function body) 19. Using CSS selectors 20. Adding elements 21. Deleting elements 22. Using jQuery 23. Using jQuery to add elements 24. Finding elements by name (jQuery) 25. DOM and XML 26. jQuery method to load an XML file 27. Retrieving RSS item titles 28. Retrieving JSON data 29. JSON country data 30. Code for JSON retrieval (1) 31. Code for JSON retrieval (2) 32. Exercises 33. Links to more information 6.1. Client-side processing client program (e.g. web browser) can be used to customise interaction with the user validate user input (although HTML5 now provides this) generate (part of) document dynamically send requests to a server in the background make interaction with a web page similar to that of a desktop application this is typically done using JavaScript, since a Javascript interpreter is built into browsers 6.2. JavaScript interpreted, scripting language for the web loosely typed variables do not have to be declared the same variable can store values of different types at different times HTML <script> element specifies script to be executed type attribute has value text/javascript src attribute specifies URI of external script usually <script> appears in the <head> and just declares functions to be called later ECMAScript, 10th edition (June 2019) is the latest standard 6.3.
    [Show full text]
  • Javascript DOM Manipulation Performance Comparing Vanilla Javascript and Leading Javascript Front-End Frameworks
    JavaScript DOM Manipulation Performance Comparing Vanilla JavaScript and Leading JavaScript Front-end Frameworks Morgan Persson 28/05/2020 Faculty of Computing, Blekinge Institute of Technology, 371 79 Karlskrona, Sweden This thesis is submitted to the Faculty of Computing at Blekinge Institute of Technology in partial fulfillment of the requirements for the bachelor’s degree in software engineering. The thesis is equivalent to 10 weeks of full-time studies. Contact Information: Author(s): Morgan Persson E-mail: [email protected] University advisor: Emil Folino Department of Computer Science Faculty of Computing Internet : www.bth.se Blekinge Institute of Technology Phone : +46 455 38 50 00 SE–371 79 Karlskrona, Sweden Fax : +46 455 38 50 57 Abstract Background. Websites of 2020 are often feature rich and highly interactive ap- plications. JavaScript is a popular programming language for the web, with many frameworks available. A common denominator for highly interactive web applica- tions is the need for efficient methods of manipulating the Document Object Model to enable a solid user experience. Objectives. This study compares Vanilla JavaScript and the JavaScript frameworks Angular, React and Vue.js in regards to DOM performance, DOM manipulation methodology and application size. Methods. A literature study was conducted to compare the DOM manipulation methodologies of Vanilla JavaScript and the selected frameworks. An experiment was conducted where test applications was created using Vanilla JavaScript and the selected frameworks. These applications were used as base for comparing applica- tion size and for comparison tests of DOM performance related metrics using Google Chrome and Firefox. Results. In regards to DOM manipulation methodology, there is a distinct difference between Vanilla JavaScript and the selected frameworks.
    [Show full text]
  • Load Time Optimization of Javascript Web Applications
    URI: urn:nbn:se:bth-17931 Bachelor of Science in Software Engineering May 2019 Load time optimization of JavaScript web applications Simon Huang Faculty of Computing, Blekinge Institute of Technology, 371 79 Karlskrona, Sweden This thesis is submitted to the Faculty of Computing at Blekinge Institute of Technology in partial fulfilment of the requirements for the degree of Bachelor of Science in Software Engineering. The thesis is equivalent to 10 weeks of full time studies. The authors declare that they are the sole authors of this thesis and that they have not used any sources other than those listed in the bibliography and identified as references. They further declare that they have not submitted this thesis at any other institution to obtain a degree. Contact Information: Author: Simon Huang E-mail: [email protected] University advisor: Emil Folino Department of Computer Science Faculty of Computing Internet : www.bth.se Blekinge Institute of Technology Phone : +46 455 38 50 00 SE–371 79 Karlskrona, Sweden Fax : +46 455 38 50 57 Abstract Background. Websites are getting larger in size each year, the median size increased from 1479.6 kilobytes to 1699.0 kilobytes on the desktop and 1334.3 kilobytes to 1524.1 kilobytes on the mobile. There are several methods that can be used to decrease the size. In my experiment I use the methods tree shaking, code splitting, gzip, bundling, and minification. Objectives. I will investigate how using the methods separately affect the loading time and con- duct a survey targeted at participants that works as JavaScript developers in the field.
    [Show full text]
  • Comparing Javascript Libraries
    www.XenCraft.com Comparing JavaScript Libraries Craig Cummings, Tex Texin October 27, 2015 Abstract Which JavaScript library is best for international deployment? This session presents the results of several years of investigation of features of JavaScript libraries and their suitability for international markets. We will show how the libraries were evaluated and compare the results for ECMA, Dojo, jQuery Globalize, Closure, iLib, ibm-js and intl.js. The results may surprise you and will be useful to anyone designing new international or multilingual JavaScript applications or supporting existing ones. 2 Agenda • Background • Evaluation Criteria • Libraries • Results • Q&A 3 Origins • Project to extend globalization - Complex e-Commerce Software - Multiple subsystems - Different development teams - Different libraries already in use • Should we standardize? Which one? - Reduce maintenance - Increase competence 4 Evaluation Criteria • Support for target and future markets • Number of internationalization features • Quality of internationalization features • Maintained? • Widely used? • Ease of migration from existing libraries • Browser compatibility 5 Internationalization Feature Requirements • Encoding Support • Text Support -Unicode -Case, Accent Mapping -Supplementary Chars -Boundary detection -Bidi algorithm, shaping -Character Properties -Transliteration -Charset detection • Message Formatting -Conversion -IDN/IRI -Resource/properties files -Normalization -Collation -Plurals, Gender, et al 6 Internationalization Feature Requirements
    [Show full text]
  • Javalikescript User Guide
    JavaLikeScript User Guide spyl <[email protected]> Table of Contents 1. Installation ..................................................................................................................... 1 1.1. Installed Directory Tree ......................................................................................... 1 1.2. Update the PATH variable ..................................................................................... 2 1.3. Linux 64-bit ........................................................................................................ 2 2. Usage ........................................................................................................................... 2 2.1. Command line arguments ...................................................................................... 2 2.2. Garbage collection ................................................................................................ 3 2.3. Self executable ..................................................................................................... 3 2.4. Web browser ....................................................................................................... 3 3. Concepts ....................................................................................................................... 4 3.1. Bootstrap ............................................................................................................ 4 3.2. Classes ..............................................................................................................
    [Show full text]
  • Ajax : Creating Web Pages with Asynchronous Javascript and XML / Edmond Woychowsky
    00_0132272679_FM.qxd 7/17/06 8:57 AM Page i Ajax 00_0132272679_FM.qxd 7/17/06 8:57 AM Page ii 00_0132272679_FM.qxd 7/17/06 8:57 AM Page iii Ajax Creating Web Pages with Asynchronous JavaScript and XML Edmond Woychowsky Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Cape Town • Sydney • Tokyo • Singapore • Mexico City 00_0132272679_FM.qxd 7/17/06 8:57 AM Page iv Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The author and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for inci- dental or consequential damages in connection with or arising out of the use of the information or programs contained herein. The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales, which may include electronic versions and/or custom covers and content particular to your business, training goals, marketing focus, and branding interests. For more information, please contact: U.S. Corporate and Government Sales (800) 382-3419 [email protected] For sales outside the United States, please contact: International Sales [email protected] This Book Is Safari Enabled The Safari‚ Enabled icon on the cover of your favorite technology book means the book is avail- able through Safari Bookshelf.
    [Show full text]