Data-Centric Uis Using Declarative Templates That Efficiently Wrap Third-Party Javascript Components

Total Page:16

File Type:pdf, Size:1020Kb

Data-Centric Uis Using Declarative Templates That Efficiently Wrap Third-Party Javascript Components FORWARD: Data-Centric UIs using Declarative Templates that Efficiently Wrap Third-Party JavaScript Components∗ Yupeng Fu, Kian Win Ong, Yannis Papakonstantinou, Erick Zamora fy4fu,kianwin,[email protected], [email protected] UC San Diego ABSTRACT { quakes: [ While Ajax programming and the plethora of JavaScript { _key: 456, component libraries enable high-quality UIs in web appli- mag : 2.5, lat : -150.3, cations, integrating them with page data is laborious and lng : 63.2, error-prone as a developer has to handcode incremental loc : '74km..', time: 'Mar..' modifications with trigger-based programming and manual }, ... coordination of data dependencies. The FORWARD web ], filter: [ framework simplifies the development of Ajax applications { _key : 1, through declarative, state-based templates. This declara- range: '>= 7.0', tive, data-centric approach is characterized by the principle selected: true }, ... of logical/physical independence, which the database com- ] munity has often deployed successfully. It enables FOR- } WARD to leverage database techniques, such as incremental Figure 1: Running Example: Figure 2: Page view maintenance, updatable views, capability-based com- Faceted Browsing of Earthquakes State ponent wrappers and cost-based optimization to automate efficient live visualizations. We demonstrate an end-to-end magnitude ranges, the page displays only earthquakes that system implementation, including a web-based IDE (itself satisfy the magnitude filter. built in FORWARD), academic and commercial applications Using mainstream web frameworks such as Ruby-on-Rails built in FORWARD and a wide variety of JavaScript com- and Backbone, developers already modularize code follow- ponents supported by the declarative templates. ing the Model-View-Controller (MVC) architectural pat- tern. The model (or page state) is an abstraction that rep- 1. INTRODUCTION resents the logical data used by user interfaces. For ex- Ajax programming and JavaScript component libraries ample, Figure 2 shows the example's page state in JSON have led to a new generation of modern web applications, format. Notice that the page state stores earthquake data which are characterized by user interfaces commensurate once in quakes, even though the data is utilized thrice in with desktop applications. This is achieved by the devel- the summary, table and map. Furthermore, the page state oper handcoding performance optimizations for incremental also contains the results of user interaction: filter stores modifications from the old page to the new page [4]. user input on whether a range is selected, whereas quakes Consider the running example in Figure 1, which shows a stores earthquakes that satisfy the filter. web application providing faceted browsing over earthquake Despite the page state abstraction, incremental modifi- data. The page shows a summary of total earthquakes dis- cations still occur in tedious and error-prone ways: (1) played, a table of earthquake details, and a map where each JavaScript components (maps, calendars, tabbed dialogs marker represents the earthquake's location and magnitude. etc.) encapsulate their complex state by exporting program- In response to the user selecting/deselecting checkboxes for matic APIs comprising methods and event handlers. When page state changes (e.g. displaying more earthquakes), call- ∗Supported by NSF III-1018961 and NSF III-1219263, PI'd ing a method (e.g. adding a particular marker on the by Prof Papakonstantinou who is a shareholder of App2you map) incrementally re-renders the component as a side- Inc, which commercializes outcomes of this research. effect. Conversely, when user interaction changes a compo- nent's state (e.g. deselecting a checkbox), an event handler fires and triggers code to change the page state. Effectively, This work is licensed under the Creative Commons Attribution- a developer engages in event-driven / trigger-based pro- NonCommercial-NoDerivs 3.0 Unported License. To view a copy of this li- gramming to laboriously translate from page state changes cense, visit http://creativecommons.org/licenses/by-nc-nd/3.0/. Obtain per- to component state changes, and vice versa. (2) Due to mission prior to any use beyond those covered by the license. Contact trigger-based programming, the developer has to manually copyright holder by emailing [email protected]. Articles from this volume assess data flow dependencies on the page, in order to cor- were invited to present their results at the 40th International Conference on rectly transition the application from one consistent state Very Large Data Bases, September 1st - 5th 2014, Hangzhou, China. Proceedings of the VLDB Endowment, Vol. 7, No. 13 to another. For example, when page state changes with Copyright 2014 VLDB Endowment 2150-8097/14/08. the addition of earthquakes, calling methods to refresh the 1649 4+5#&"'+-0/1%/+- <% unit google.map.Maps %> { -*.&( +%,'( !"#$"%&%'( markers : [ )'*'&( )'*'&( )'*'&( <% for q in quakes %> { { markers : [ position: { { .#,"'"$&+-2%+3- !"#"$%&%'()$"*+,-./%'-0/1%/+- lat: <%= q.lat %>, _key : 456, lng: <%= q.lng %> position: { }, lat : -150.3, !*$*:,/,';(),#</*7"%( +%,'(51*$$&12( 6&0/*1*78&( size : <%= siz(q.mag) %>, lng : 63.2, 9&#$/*'&( color: <%= col(q.mag) %> }, !"2'=:*2&4(>$7#,?&1( 3&%4&1&12( !"//&0'"12( } size : 3.5, <% end for %> color : '#FDD49E' ] }, ... } ] Figure 3: Architecture of Template Engine <% end unit %> } Figure 4: Template for Map Figure 5: Unit State for Map map/table, but not the summary, results in a buggy page that is inconsistent. Such data dependencies cause incre- <% bind filter each f %> <% unit html.Checkbox %> mental modifications to be very error-prone. (3) Vibrant { activity among commercial vendors and open-source com- checked: <% bind f.selected %>, { munities has led to numerous JavaScript libraries. As a data label: <%= f.range %> _key : 456, point, popularity tracker JSDB.io lists over 600 libraries. } checked: true, <% end unit %> label : '>= 7.0' Since these libraries are varied and do not utilize the same <% end bind %> } API conventions (unlike HTML/DOM, which has been stan- dardized), developers who integrate multiple libraries have Figure 6: Template for Figure 7: Unit State for to familiarize themselves with subtly different syntax and Checkboxes Checkbox semantics for incremental modifications. The database community has emphasized new opportu- of the declarative template language, and illustrates its up- nities in applying data-centric approaches, including data datable view semantics for bidirectional synchronization be- independence and declarative programming to other emerg- tween the page state and unit state. Section 2.2 presents ing language platforms [1]. In the same spirit, we present the how capability-based unit wrappers perform bidirectional FORWARD web framework [4, 5], which provides a declar- synchronization between unit state and component state. ative, state-based language for developers to create web ap- Section 2.3 presents how the logical/physical independence plications. Declarative programming enables the system between the unit state and component state enables the tem- to leverage database techniques, such as updatable views, plate engine to simulate missing capabilities and perform capability-based wrappers [6] and cost-based optimization to cost-based optimizations. Section 2.4 illustrates how devel- automatically propagate incremental modifications between opers can specify renderers and collectors directly within a page state and component state, and vice-versa. FOR- declarative template, thus enabling more lightweight inte- WARD thus extends prior declarative web frameworks such gration than implementing fully-capable unit wrappers. as Strudel [3] and Hilda [8], which have focused on mod- eling page state as queries, but do not perform incremen- 2.1 Declarative Templates as Updatable Views tal modifications. More recently, Model-View-ViewModel Figure 3 shows that the template engine takes two inputs: (MVVM) web frameworks such as AngularJS [2] and Knock- (1) the page state, which is represented in the JSON data out [7] have also employed declarativeness in utilizing HTML model. For efficiency of propagating changes bidirectionally templates to automate incremental modifications of the across page state, unit state and component state, it is rec- browser DOM. FORWARD's novel template language sup- ommended (but not required) that each element of an array ports HTML too, but goes beyond to also integrate the rich is identified by a key that remains immutable across page functionality of third-party JavaScript component libraries. refreshes. A common and simple solution is to generate such keys from the primary keys of data stored within databases. For example, keys are encoded as special key attributes in 2. TEMPLATE ENGINE OVERVIEW Figure 2. (2) the declarative template, which specifies how In this paper, we focus on the template engine of the FOR- the page should be displayed in the browser. For exam- WARD web framework, which automatically propagates ple, Figure 4 and 6 show the declarative templates for the changes between page state and component state, and vice- map and checkboxes respectively. Notably, a declarative versa. The template engine is independent of the modules template allows JavaScript components to be used without which output page state: FORWARD currently computes writing any integration JavaScript code. page state through a middleware query processor which eval- The unit state represents the state of a unit wrapper. For
Recommended publications
  • Working with System Frameworks in Python and Objective-C
    Working with System Frameworks in Python and Objective-C by James Barclay Feedback :) j.mp/psumac2015-62 2 Dude, Where’s My Source Code? CODE https://github.com/futureimperfect/psu-pyobjc-demo https://github.com/futureimperfect/PSUDemo SLIDES https://github.com/futureimperfect/slides 3 Dude, Where’s My Source Code? CODE https://github.com/futureimperfect/psu-pyobjc-demo https://github.com/futureimperfect/PSUDemo SLIDES https://github.com/futureimperfect/slides 3 Dude, Where’s My Source Code? CODE https://github.com/futureimperfect/psu-pyobjc-demo https://github.com/futureimperfect/PSUDemo SLIDES https://github.com/futureimperfect/slides 3 Agenda 1. What are system frameworks, and why should you care? 2. Brief overview of the frameworks, classes, and APIs that will be demonstrated. 3. Demo 1: PyObjC 4. Demo 2: Objective-C 5. Wrap up and questions. 4 What’s a System Framework? …and why should you care? (OS X) system frameworks provide interfaces you need to write software for the Mac. Many of these are useful for Mac admins creating: • scripts • GUI applications • command-line tools Learning about system frameworks will teach you more about OS X, which will probably make you a better admin. 5 Frameworks, Classes, and APIs oh my! Cocoa CoreFoundation • Foundation • CFPreferences - NSFileManager CoreGraphics - NSTask • Quartz - NSURLSession - NSUserDefaults • AppKit - NSApplication 6 CoreFoundation CoreFoundation is a C framework that knows about Objective-C objects. Some parts of CoreFoundation are written in Objective-C. • Other parts are written in C. CoreFoundation uses the CF class prefix, and it provides CFString, CFDictionary, CFPreferences, and the like. Some Objective-C objects are really CF types behind the scenes.
    [Show full text]
  • Vmware Fusion 12 Vmware Fusion Pro 12 Using Vmware Fusion
    Using VMware Fusion 8 SEP 2020 VMware Fusion 12 VMware Fusion Pro 12 Using VMware Fusion You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com © Copyright 2020 VMware, Inc. All rights reserved. Copyright and trademark information. VMware, Inc. 2 Contents Using VMware Fusion 9 1 Getting Started with Fusion 10 About VMware Fusion 10 About VMware Fusion Pro 11 System Requirements for Fusion 11 Install Fusion 12 Start Fusion 13 How-To Videos 13 Take Advantage of Fusion Online Resources 13 2 Understanding Fusion 15 Virtual Machines and What Fusion Can Do 15 What Is a Virtual Machine? 15 Fusion Capabilities 16 Supported Guest Operating Systems 16 Virtual Hardware Specifications 16 Navigating and Taking Action by Using the Fusion Interface 21 VMware Fusion Toolbar 21 Use the Fusion Toolbar to Access the Virtual-Machine Path 21 Default File Location of a Virtual Machine 22 Change the File Location of a Virtual Machine 22 Perform Actions on Your Virtual Machines from the Virtual Machine Library Window 23 Using the Home Pane to Create a Virtual Machine or Obtain One from Another Source 24 Using the Fusion Applications Menus 25 Using Different Views in the Fusion Interface 29 Resize the Virtual Machine Display to Fit 35 Using Multiple Displays 35 3 Configuring Fusion 37 Setting Fusion Preferences 37 Set General Preferences 37 Select a Keyboard and Mouse Profile 38 Set Key Mappings on the Keyboard and Mouse Preferences Pane 39 Set Mouse Shortcuts on the Keyboard and Mouse Preference Pane 40 Enable or Disable Mac Host Shortcuts on the Keyboard and Mouse Preference Pane 40 Enable Fusion Shortcuts on the Keyboard and Mouse Preference Pane 41 Set Fusion Display Resolution Preferences 41 VMware, Inc.
    [Show full text]
  • Bridging the Realism Gap for CAD-Based Visual Recognition
    University of Passau Faculty of Computer Science and Mathematics (FIM) Chair of Distributed Information Systems Computer Science Bridging the Realism Gap for CAD-Based Visual Recognition Benjamin Planche A Dissertation Presented to the Faculty of Computer Science and Mathematics of the University of Passau in Partial Fulfillment of the Requirements for the Degree of Doctor of Natural Sciences 1. Reviewer Prof. Dr. Harald Kosch Chair of Distributed Information Systems University of Passau 2. Reviewer Prof. Dr. Serge Miguet LIRIS Laboratory Université Lumière Lyon 2 Passau – September 17, 2019 Benjamin Planche Bridging the Realism Gap for CAD-Based Visual Recognition Computer Science, September 17, 2019 Reviewers: Prof. Dr. Harald Kosch and Prof. Dr. Serge Miguet University of Passau Chair of Distributed Information Systems Faculty of Computer Science and Mathematics (FIM) Innstr. 33 94032 Passau Abstract Computer vision aims at developing algorithms to extract high-level information from images and videos. In the industry, for instance, such algorithms are applied to guide manufacturing robots, to visually monitor plants, or to assist human operators in recognizing specific components. Recent progress in computer vision has been dominated by deep artificial neural network, i.e., machine learning methods simulating the way that information flows in our biological brains, and the way that our neural networks adapt and learn from experience. For these methods to learn how to accurately perform complex visual tasks, large amounts of annotated images are needed. Collecting and labeling such domain-relevant training datasets is, however, a tedious—sometimes impossible—task. Therefore, it has become common practice to leverage pre-available three-dimensional (3D) models instead, to generate synthetic images for the recognition algorithms to be trained on.
    [Show full text]
  • A Framework for Compiling C++ Programs with Encrypted Operands
    1 E3: A Framework for Compiling C++ Programs with Encrypted Operands Eduardo Chielle, Oleg Mazonka, Homer Gamil, Nektarios Georgios Tsoutsos and Michail Maniatakos Abstract In this technical report we describe E3 (Encrypt-Everything-Everywhere), a framework which enables execution of standard C++ code with homomorphically encrypted variables. The framework automatically generates protected types so the programmer can remain oblivious to the underlying encryption scheme. C++ protected classes redefine operators according to the encryption scheme effectively making the introduction of a new API unnecessary. At its current version, E3 supports a variety of homomorphic encryption libraries, batching, mixing different encryption schemes in the same program, as well as the ability to combine modular computation and bit-level computation. I. INTRODUCTION In this document, we describe the E3 (Encrypt-Everything-Everywhere) framework for deploying private computation in C++ programs. Our framework combines the properties of both bit-level arithmetic and modular arithmetic within the same algorithm. The framework provides novel protected types using standard C++ without introducing a new library API. E3 is developed in C++, is open source [2], and works in Windows and Linux OSes. Unique features of E3: 1) Enables secure general-purpose computation using protected types equivalent to standard C++ integral types. The protected types, and consequently the code using them, do not depend on the underlying encryption scheme, which makes the data encryption independent of the program. 2) Allows using different FHE schemes in the same program as well as the same FHE scheme with different keys. E. Chielle, O. Mazonka, H. Gamil, and M. Maniatakos are with the Center for Cyber Security, New York University Abu Dhabi, UAE.
    [Show full text]
  • Using the Java Bridge
    Using the Java Bridge In the worlds of Mac OS X, Yellow Box for Windows, and WebObjects programming, there are two languages in common use: Java and Objective-C. This document describes the Java bridge, a technology from Apple that makes communication between these two languages possible. The first section, ÒIntroduction,Ó gives a brief overview of the bridgeÕs capabilities. For a technical overview of the bridge, see ÒHow the Bridge WorksÓ (page 2). To learn how to expose your Objective-C code to Java, see ÒWrapping Objective-C FrameworksÓ (page 9). If you want to write Java code that references Objective-C classes, see ÒUsing Java-Wrapped Objective-C ClassesÓ (page 6). If you are writing Objective-C code that references Java classes, read ÒUsing Java from Objective-CÓ (page 5). Introduction The original OpenStep system developed by NeXT Software contained a number of object-oriented frameworks written in the Objective-C language. Most developers who used these frameworks wrote their code in Objective-C. In recent years, the number of developers writing Java code has increased dramatically. For the benefit of these programmers, Apple Computer has provided Java APIs for these frameworks: Foundation Kit, AppKit, WebObjects, and Enterprise Objects. They were made possible by using techniques described later in Introduction 1 Using the Java Bridge this document. You can use these same techniques to expose your own Objective-C frameworks to Java code. Java and Objective-C are both object-oriented languages, and they have enough similarities that communication between the two is possible. However, there are some differences between the two languages that you need to be aware of in order to use the bridge effectively.
    [Show full text]
  • Adaptive Heterogeneous Language Support Within a Cloud Runtime
    Adaptive Heterogeneous Language Support within a Cloud Runtime Kathleen Ericson and Shrideep Pallickara Department of Computer Science Colorado State University Fort Collins, US {ericson, shrideep}@cs.colostate.edu Abstract— Cloud runtimes are an effective method of executions limits the maximum amount of times a distributing computations, but can force developers to use the computation can be run. The data driven axis schedules runtime’s native language for all computations. We have computations as data becomes available on any input streams extended the Granules cloud runtime with a bridge framework the computation has registered. The user can also specify that that allows computations to be written in C, C++, C#, Python, a computation should be executed on a specific interval. It is and R. We have additionally developed a diagnostics system also possible to specify a custom scheduling strategy that is a which is capable of gathering information on system state, as combination along these three dimensions. A computation well as modifying the underlying bridge framework in can change its scheduling strategy during execution, and response to system load. Given the dynamic nature of Granules enforces the newly established scheduling strategy Granules computations, which can be characterized as long- during the next round of execution. running with intermittent CPU bursts that allow state to build up during successive rounds of execution, these bridges need to Computations in Granules build state over successive be bidirectional and the underlying communication rounds of execution. Though the typical CPU burst time for mechanisms decoupled, robust and configurable. Granules computations during a given execution is short (seconds to a bridges handle a number of different programming languages few minutes), these computations can be long-running with and support multiple methods of communication such as computations toggling between activations and dormancy.
    [Show full text]
  • Apple Objective C Guide
    Apple Objective C Guide Is Isadore always fungicidal and pearlier when cranks some rapping very full-sail and languorously? Ricky never subcontract any noddles indentureddifferentiates stammeringly. hereat, is Hewe sanatory and stirless enough? Codicillary and robustious Chaddie heist her three-quarter fecundates or This new quarter is stored as part broke your Firebase project, strength he creates a TV object. All goes far less code writing guides are also search for user had a guide was lost when their class. Get started with string should always recommend that work without delaying or other named as a program was possible and comes out! Two applications that apple tv object class names plural would make a guide will experience, and guides provided bar when you can do not. This language they actually two or may be ready for login request has some of indirection is. Objc-property-declaration Finds property declarations in Objective-C files that do besides follow one pattern a property names in Apple's programming guide. This is by main programming language used by Apple for the OS X and iOS operating systems and appoint respective APIs Cocoa and Cocoa Touch This reference. What objective c version? Do careful bounds and a journey under you have interacted with livecoding, do you can indicate included services. With enough working in your needs only easier convenience developers. Please sent these guidelines as voluntary as Apple's developer information. It through be customized with substantial help of scripts and plugins written in Java or Python. Open source code is apple development purposes.
    [Show full text]
  • Using Swift with Cocoa and Objective-C
    ​​ Getting Started ​​ Basic Setup Swift is designed to provide seamless compatibility with Cocoa and Objective-C. You can use Objective-C APIs (ranging from system frameworks to your own custom code) in Swift, and you can use Swift APIs in Objective-C. This compatibility makes Swift an easy, convenient, and powerful tool to integrate into your Cocoa app development workflow. This guide covers three important aspects of this compatibility that you can use to your advantage when developing Cocoa apps: Interoperability lets you interface between Swift and Objective-C code, allowing you to use Swift classes in Objective-C and to take advantage of familiar Cocoa classes, patterns, and practices when writing Swift code. Mix and match allows you to create mixed-language apps containing both Swift and Objective-C files that can communicate with each other. Migration from existing Objective-C code to Swift is made easy with interoperability and mix and match, making it possible to replace parts of your Objective-C apps with the latest Swift features. Before you get started learning about these features, you need a basic understanding of how to set up a Swift environment in which you can access Cocoa system frameworks. ​ Setting Up Your Swift Environment To start experimenting with accessing Cocoa frameworks in Swift, create a Swift-based app from one of the Xcode templates. To create a Swift project in Xcode 1. Choose File > New > Project > (iOS or OS X) > Application > your template of choice. 2. Click the Language pop-up menu and choose Swift. A Swift project’s structure is nearly identical to an Objective-C project, with one important distinction: Swift has no header files.
    [Show full text]
  • Understanding Programming Languages
    Understanding Programming Languages M. Ben-Ari Weizmann Institute of Science Originally published by John Wiley & Sons, Chichester, 1996. Copyright °c 2006 by M. Ben-Ari. You may download, display and print one copy for your personal use in non-commercial academic research and teaching. Instructors in non-commerical academic institutions may make one copy for each student in his/her class. All other rights reserved. In particular, posting this document on web sites is prohibited without the express permission of the author. Contents Preface xi I Introduction to Programming Languages 1 1 What Are Programming Languages? 2 1.1 The wrong question . 2 1.2 Imperative languages . 4 1.3 Data-oriented languages . 7 1.4 Object-oriented languages . 11 1.5 Non-imperative languages . 12 1.6 Standardization . 13 1.7 Computer architecture . 13 1.8 * Computability . 16 1.9 Exercises . 17 2 Elements of Programming Languages 18 2.1 Syntax . 18 2.2 * Semantics . 20 2.3 Data . 21 2.4 The assignment statement . 22 2.5 Type checking . 23 2.6 Control statements . 24 2.7 Subprograms . 24 2.8 Modules . 25 2.9 Exercises . 26 v Contents vi 3 Programming Environments 27 3.1 Editor . 28 3.2 Compiler . 28 3.3 Librarian . 30 3.4 Linker . 31 3.5 Loader . 32 3.6 Debugger . 32 3.7 Profiler . 33 3.8 Testing tools . 33 3.9 Configuration tools . 34 3.10 Interpreters . 34 3.11 The Java model . 35 3.12 Exercises . 37 II Essential Concepts 38 4 Elementary Data Types 39 4.1 Integer types .
    [Show full text]
  • Extending Adobe Captivate with Javascript
    EXTENDING ADOBE CAPTIVATE WITH JAVASCRIPT ADVANCED TECHNIQUES FROM A WEB DEVELOPER’S PERSPECTIVE HTTPS://GITHUB.COM/SDWARWICK/CAPTIVATE-DEMOS STEVEN WARWICK, ELEARNINGOCEAN.COM [email protected] COPYRIGHT (C)2017 ELEARNING OCEAN LLC 1 AUDIENCE • Learning interaction designers • Project managers / Course strategy developers • Web Developers • eLearning methodology strategists • Content Authors COPYRIGHT (C)2017 ELEARNING OCEAN LLC 2 CONTEXT • Captivate • HTML projects • “Responsive” design • Windows 10 development environment • JavaScript ECMA 2015 • Chrome browser • Notepad++ text editor COPYRIGHT (C)2017 ELEARNING OCEAN LLC 3 PLAN • Captivate as a web development platform • Efficient development of JavaScript/Captivate scripts • Example Scripts • Fully custom quiz interactions • Full-screen mode • D&D • Adobe documented vs. undocumented functions • Bridging between JavaScript and Captivate • Overview of other possibilities with JavaScript • Questions COPYRIGHT (C)2017 ELEARNING OCEAN LLC 4 CAPTIVATE FROM THE WEB DEVELOPERS PERSPECTIVE • WYSIWYG website builders: • “Closed” builders generate sites that cannot easily be modified after being generated • Easy to get started building, limited access to potential of modern design • Weebly, Wix, Squarespace • “Open” builders support direct modification of generated sites & continued editing • Deeper understanding of web technologies needed • Pinegrow, Bootstrap Studio, Bootply • Captivate – 90% closed / 10% open • Custom features valuable for eLearning • Reasonable strategy given
    [Show full text]
  • Bridging the Gap Between People and Policies in Security and Privacy
    Bridging the Gap between People and Policies in Security and Privacy by Umesh Shankar A.B. (Harvard University) 1999 M.S. (University of California, Berkeley) 2002 A dissertation submitted in partial satisfaction of the requirements for the degree of Doctor of Philosophy in Electrical Engineering and Computer Science in the GRADUATE DIVISION of the UNIVERSITY OF CALIFORNIA, BERKELEY Committee in charge: Professor David Wagner, Chair Professor J. D. Tygar Professor Marti Hearst Fall 2006 The dissertation of Umesh Shankar is approved: Chair Date Date Date University of California, Berkeley Fall 2006 Bridging the Gap between People and Policies in Security and Privacy Copyright 2006 by Umesh Shankar Portions of this work drawn with permission from [86, 87]: Umesh Shankar and Chris Karlof. ”Doppelganger: Better Browser Privacy Without the Bother”. In Proceedings of the 13th ACM Conference on Computer and Communications Security (CCS 2006), October 2006. Trent Jaeger, Reiner Sailer, and Umesh Shankar. ”PRIMA: Policy-Reduced Integrity Measurement Architecture”. In Proceedings of the 11th ACM Symposium on Access Con- trol Models and Technologies (SACMAT 2006), June 2006. 1 Abstract Bridging the Gap between People and Policies in Security and Privacy by Umesh Shankar Doctor of Philosophy in Electrical Engineering and Computer Science University of California, Berkeley Professor David Wagner, Chair The most powerful of security and privacy mechanisms may be rendered ineffective if people cannot use them. A common usability problem is that it is hard to specify the policies that the mechanisms enforce. Indeed, the more powerful the mechanism, the larger and more complex its policy can be; this makes it difficult not only to write a policy down, but also to make sure that an existing policy is a secure one.
    [Show full text]
  • Webkit and Blink: Bridging the Gap Between the Kernel and the HTML5 Revolution
    WebKit and Blink: Bridging the Gap Between the Kernel and the HTML5 Revolution Juan J. Sánchez LinuxCon Japan 2014, Tokyo Myself, Igalia and WebKit Co-founder, member of the WebKit/Blink/Browsers team Igalia is an open source consultancy founded in 2001 Igalia is Top 5 contributor to upstream WebKit/Blink Working with many industry actors: tablets, phones, smart tv, set-top boxes, IVI and home automation. WebKit and Blink Juan J. Sánchez Outline 1 Why this all matters 2 2004-2013: WebKit, a historical perspective 2.1. The technology: goals, features, architecture, ports, webkit2, code, licenses 2.2. The community: kinds of contributors and contributions, tools, events 3 April 2013. The creation of Blink: history, motivations for the fork, differences and impact in the WebKit community 4 2013-2014: Current status of both projects, future perspectives and conclusions WebKit and Blink Juan J. Sánchez PART 1: Why this all matters WebKit and Blink Juan J. Sánchez Why this all matters Long time trying to use Web technologies to replace native totally or partially Challenge enabled by new HTML5 features and improved performance Open Source is key for innovation in the field Mozilla focusing on the browser WebKit and now Blink are key projects for those building platforms and/or browsers WebKit and Blink Juan J. Sánchez PART 2: 2004-2013 WebKit, a historical perspective WebKit and Blink Juan J. Sánchez PART 2.1 WebKit: the technology WebKit and Blink Juan J. Sánchez The WebKit project Web rendering engine (HTML, JavaScript, CSS...) The engine is the product Started as a fork of KHTML and KJS in 2001 Open Source since 2005 Among other things, it’s useful for: Web browsers Using web technologies for UI development WebKit and Blink Juan J.
    [Show full text]