Chrome is not just a great browser for viewing websites, but also an invaluable tool for building websites. Out of the box, Chrome ships with “developers tools”. Many web developers are aware of this and make use of some of the tools it provides. However, most developers only scratch the surface of what the browser can do.
Join in as we take a deep-dive into the Chrome developer tools and learn, among other things, how to:
– Quickly test styling fixes
– Emulate handheld devices to test responsive designs
– Easily navigate and debug JavaScript
– Use the JavaScript console
– View form submissions
– Monitor AJAX requests
– Check for performance issues
– Troubleshoot caching issues
– Create and use your own snippets
Session Description:
In this session, Ravi Described some use cases about harmonizing Ceph storage with Apache CloudStack for a CloudStack infrastructure setup. This includes using primary and secondary storage for CloudStack, synchronizing and rendering VM snapshots accessible across remote zones, fortifying storage for disaster recovery, and upholding client VM data backup.
Speaker Bio:
Ravichandran has 15+ years of technical expertise in Linux and Cloud solutions in Assistanz Networks Private Limited. Ravi is currently leading Business Development at Apache CloudStack consulting, Storage solutions and Stackbill CMP product.
---------------------------------------------
On Friday 18th August, the Apache CloudStack India User Group 2023 took place in Bangalore, seeing CloudStack enthusiasts, experts, and industry leaders from across the country, discuss the open-source project. The meetup served as a vibrant platform to delve into the depths of Apache CloudStack, share insights, and forge new connections.
Chrome is not just a great browser for viewing websites, but also an invaluable tool for building websites. Out of the box, Chrome ships with “developers tools”. Many web developers are aware of this and make use of some of the tools it provides. However, most developers only scratch the surface of what the browser can do.
Join in as we take a deep-dive into the Chrome developer tools and learn, among other things, how to:
– Quickly test styling fixes
– Emulate handheld devices to test responsive designs
– Easily navigate and debug JavaScript
– Use the JavaScript console
– View form submissions
– Monitor AJAX requests
– Check for performance issues
– Troubleshoot caching issues
– Create and use your own snippets
Session Description:
In this session, Ravi Described some use cases about harmonizing Ceph storage with Apache CloudStack for a CloudStack infrastructure setup. This includes using primary and secondary storage for CloudStack, synchronizing and rendering VM snapshots accessible across remote zones, fortifying storage for disaster recovery, and upholding client VM data backup.
Speaker Bio:
Ravichandran has 15+ years of technical expertise in Linux and Cloud solutions in Assistanz Networks Private Limited. Ravi is currently leading Business Development at Apache CloudStack consulting, Storage solutions and Stackbill CMP product.
---------------------------------------------
On Friday 18th August, the Apache CloudStack India User Group 2023 took place in Bangalore, seeing CloudStack enthusiasts, experts, and industry leaders from across the country, discuss the open-source project. The meetup served as a vibrant platform to delve into the depths of Apache CloudStack, share insights, and forge new connections.
Here I covered the cores of Apache and also discuss each and every core. Virtual host, resistance server process some protocols like HTTP, SMTP, DNS FTP, are also be highlighted.
Focus on some installing part of apache.
This presentation introduces Microsoft Powershell version 5. It defines what are commands and how can you use them to write scripts and classes in Powershell.
HTML5 Web Storage is a way for web pages to store named key/value pairs locally, within the client web browser. Like cookies, this data persists even after you navigate away from the web site, close your browser tab, exit your browser, or what have you. Unlike cookies, this data is never transmitted to the remote web server (unless you go out of your way to send it manually). Unlike all previous attempts at providing persistent local storage, it is implemented natively in web browsers.
Class lecture by Prof. Raj Jain on Storage Virtualization. The talk covers Disk Arrays, Data Access Methods, SCSI (Small Computer System Interface), Advanced Technology Attachment (ATA), ESCON and FICON, Fibre Chanel, Fibre Channel Devices, Fibre Channel Protocol Layers, Fibre Channel Flow Control, Fibre Channel Classes of Service, What is Storage Virtualization?, Benefits of Storage Virtualization, Virtualizing Storage, RAID Levels, Nested RAIDs, Synchronous vs. Asynchronous Replication, Virtual Storage Area Network (VSAN), Physical Storage Network, Virtual Storage Network, SAN vs. NAS, iSCSI (Internet Small Computer System Interface), iFCP (Internet Fiber Channel Protocol), FCIP (Fibre Channel over IP), FCoE (Fibre Channel over Ethernet), Virtual File Systems. Video recording available in YouTube.
Top 10 HTML5 Features for Oracle Cloud DevelopersBrian Huff
Whether you are using Mobile, Social, Java, or Sites in the cloud, HTML5 is probably the easiest way to create and maintain web applications. Most of the Oracle cloud supports HTML5, so it is important to understand what powerful new features are built into this platform.
Here I covered the cores of Apache and also discuss each and every core. Virtual host, resistance server process some protocols like HTTP, SMTP, DNS FTP, are also be highlighted.
Focus on some installing part of apache.
This presentation introduces Microsoft Powershell version 5. It defines what are commands and how can you use them to write scripts and classes in Powershell.
HTML5 Web Storage is a way for web pages to store named key/value pairs locally, within the client web browser. Like cookies, this data persists even after you navigate away from the web site, close your browser tab, exit your browser, or what have you. Unlike cookies, this data is never transmitted to the remote web server (unless you go out of your way to send it manually). Unlike all previous attempts at providing persistent local storage, it is implemented natively in web browsers.
Class lecture by Prof. Raj Jain on Storage Virtualization. The talk covers Disk Arrays, Data Access Methods, SCSI (Small Computer System Interface), Advanced Technology Attachment (ATA), ESCON and FICON, Fibre Chanel, Fibre Channel Devices, Fibre Channel Protocol Layers, Fibre Channel Flow Control, Fibre Channel Classes of Service, What is Storage Virtualization?, Benefits of Storage Virtualization, Virtualizing Storage, RAID Levels, Nested RAIDs, Synchronous vs. Asynchronous Replication, Virtual Storage Area Network (VSAN), Physical Storage Network, Virtual Storage Network, SAN vs. NAS, iSCSI (Internet Small Computer System Interface), iFCP (Internet Fiber Channel Protocol), FCIP (Fibre Channel over IP), FCoE (Fibre Channel over Ethernet), Virtual File Systems. Video recording available in YouTube.
Top 10 HTML5 Features for Oracle Cloud DevelopersBrian Huff
Whether you are using Mobile, Social, Java, or Sites in the cloud, HTML5 is probably the easiest way to create and maintain web applications. Most of the Oracle cloud supports HTML5, so it is important to understand what powerful new features are built into this platform.
This presentation shows a great overview about what is html 5 and all new features of this new generation of html with examples and outstanding bibliography and references.
A great starting point
This deck was created by David Draper for Alfresco TTL 70 on October 2, 2013.
It covers enhancements to the Spring Surf framework as used by Alfresco Share.
HTML5 introduces significant changes for today\'s websites: new and updated tags, new functionality, better error handling and improved Document Object Model (DOM). However, the HTML5 new features come with new (application) security vulnerabilities. This presentation reviews the new attack vectors, associated risks and what a needs to be taken into consideration when implementing HTML5.
Denodo Partner Connect: Technical Webinar - Ask Me AnythingDenodo
Watch full webinar here: https://buff.ly/47jH4lk
In this session, Denodo experts will cover a deeper dive into the top 5 differentiated use cases for Denodo by answering any questions since the previous session.
Additionally, we invite partners to bring any general questions related to Denodo, the Denodo Platform, or data management.
EWD 3 Training Course Part 1: How Node.js Integrates With Global Storage Data...Rob Tweed
This presentation is the first part of the EWD 3 Training Course. It provides an overview of how Node.js integrates with Global Storage Databases such as InterSystems' Cache, GT.M and the Redis-based ewd-redis-globals
Complex applications need a persistent database to store, search and join data: till now a dedicated server was needed to do this, and no offline usage of the app was possible. With the introduction of HTML5 and the concept of Web Databases, we don’t need an external server anymore: everything is stored within the user browser and thus the web app can be used offline as well as online.
Complex applications need a persistent database to store, search and join data: till now a dedicated server was needed to do this, and no offline usage of the app was possible. With the introduction of HTML5 and the concept of Web Databases, we don’t need an external server anymore: everything is stored within the user browser and thus the web app can be used offline as well as online.
Expertezed 2012 Webcast - XML DB Use CasesMarco Gralike
Presentation used during the 3rd December 2012 Expertezed Webcast (see the following websites for more details: www.expertezed.com, www.amis.nl or www.xmldb.nl)
Similar to Local Storage for Web Applications (20)
Responsive and Personalized Web Layouts with Integer ProgrammingMarkku Laine
The slides for the PACMHCI / EICS 2021 paper titled "Responsive and Personalized Web Layouts with Integer Programming" authored by Markku Laine, Yu Zhang, Simo Santala, Jussi P. P. Jokinen, and Antti Oulasvirta.
In Proceedings of the ACM on Human-Computer Interaction, EICS 2021.
// Project page
https://userinterfaces.aalto.fi/c-rwd/
// Abstract
Over the past decade, responsive web design (RWD) has become the de facto standard for adapting web pages to a wide range of devices used for browsing. While RWD has improved the usability of web pages, it is not without drawbacks and limitations: designers and developers must manually design the web layouts for multiple screen sizes and implement associated adaptation rules, and its “one responsive design fits all” approach lacks support for personalization. This paper presents a novel approach for automated generation of responsive and personalized web layouts. Given an existing web page design and preferences related to design objectives, our integer programming -based optimizer generates a consistent set of web designs. Where relevant data is available, these can be further automatically personalized for the user and browsing device. The paper includes presentation of techniques for runtime adaptation of the designs generated into a fully responsive grid layout for web browsing. Results from our ratings-based online studies with end users (N = 86) and designers (N = 64) show that the proposed approach can automatically create high-quality responsive web layouts for a variety of real-world websites.
// Keywords
Responsive web design, Web personalization, Computational design, Integer programming, Retargeting
Layout as a Service (LaaS): A Service Platform for Self-Optimizing Web LayoutsMarkku Laine
The slides for the ICWE 2020 paper titled "Layout as a Service (LaaS): A Service Platform for Self-Optimizing Web Layouts" authored by Markku Laine, Ai Nakajima, Niraj Dayama, and Antti Oulasvirta.
In Proceedings of the 20th International Conference on Web Engineering (ICWE 2020).
// Project page
https://userinterfaces.aalto.fi/laas/
// Abstract
To personalize a web page, case-specific rules or templates must be specified that define the visuospatial layout of elements as well as device-specific adaptation rules for an individual. This approach scales poorly. We present LaaS, a service platform for self-optimizing web layouts to improve their usability at individual, group, and population levels. No hand-coded rules or templates are needed, as LaaS uses combinatorial optimization to generate web layouts for stated design objectives. This allows personalization to be controlled via intuitive objectives that affect the full web layout. We present an extensible architecture and solutions for (1) layout generation using integer programming, (2) data abstractions to mediate between browsers and layout generators, and (3) page restructuring. Moreover, we show how LaaS can be easily deployed as part of existing web pages. Results demonstrate that our approach can produce usable personalized web layouts in diverse scenarios.
// Keywords
Self-adaptive web interfaces, Web-based interaction, Web personalization, Web layouts, Web service architectures
XFormsDB: An XForms-Based Framework for Simplifying Web Application DevelopmentMarkku Laine
My Master's Thesis presentation. 2010. (a fully working version of the presentation is available at http://xformsdb.googlecode.com/svn/trunk/doc/theses/Markku_Laine_2010_-_Masters_Thesis.pdf)
by Markku Laine, http://www.tinyurl.com/mplaine
XIDE: Expanding End-User Web DevelopmentMarkku Laine
Our presentation at the Eighth International Conference on Web Information Systems and Technologies (WEBIST'12).
by Markku Laine, http://www.tinyurl.com/mplaine, Evgenia Litvinova, and Petri Vuorimaa
Connecting XForms to Databases: An Extension to the XForms Markup LanguageMarkku Laine
Our presentation at the W3C Workshop on Declarative Models of Distributed Web Applications (DMDWA'07).
by Markku Laine, http://www.tinyurl.com/mplaine, Mikko Honkala, and Oskari Koskimies
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
I have heard many times that architecture is not important for the front-end. Also, many times I have seen how developers implement features on the front-end just following the standard rules for a framework and think that this is enough to successfully launch the project, and then the project fails. How to prevent this and what approach to choose? I have launched dozens of complex projects and during the talk we will analyze which approaches have worked for me and which have not.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
JMeter webinar - integration with InfluxDB and GrafanaRTTS
Watch this recorded webinar about real-time monitoring of application performance. See how to integrate Apache JMeter, the open-source leader in performance testing, with InfluxDB, the open-source time-series database, and Grafana, the open-source analytics and visualization application.
In this webinar, we will review the benefits of leveraging InfluxDB and Grafana when executing load tests and demonstrate how these tools are used to visualize performance metrics.
Length: 30 minutes
Session Overview
-------------------------------------------
During this webinar, we will cover the following topics while demonstrating the integrations of JMeter, InfluxDB and Grafana:
- What out-of-the-box solutions are available for real-time monitoring JMeter tests?
- What are the benefits of integrating InfluxDB and Grafana into the load testing stack?
- Which features are provided by Grafana?
- Demonstration of InfluxDB and Grafana using a practice web application
To view the webinar recording, go to:
https://www.rttsweb.com/jmeter-integration-webinar
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Key Trends Shaping the Future of Infrastructure.pdf
Local Storage for Web Applications
1. Local Storage for Web
Applications
T-111.5502 Seminar on Media Technology B P (4-8 cr)
Presentation
Markku Laine, M.Sc. (Tech.)
markku.laine@aalto.fi
November 22, 2011
2. Presentation Outline
• Introduction
• Evolution
• Revolution: The HTML5 Approach
– Web Storage
– Indexed Database API
– Web SQL Database
– HTML5 Offline
• Research topics
• Conclusion
2
6. Benefits of Local Storage
• Reduces server load
• Less data to be transferred
• Faster websites
• Enables offline support
• Improves user experience
6
8. Cookie
• Conventional approach
• Simple key-value pairs
• Information via HTTP headers
– Extra overhead
• Typically used for session
management
• Storage size limited to 4 kB
– Way too small for modern Web
applications
• Problems when running the same
application in multiple windows
• Supported by major browsers
8
9. Local Shared Object (Flash Cookie)
• Proprietary browser plug-in (Adobe
Flash 6+, 2002)
• Storage size limited to 100 kB per
domain (can be increased)
• ExternalInterface (Adobe Flash 8+,
2006)
– Easy and fast access to LSOs
from JavaScript
9
10. (Google) Gears: R.I.P. 2007-2011
• Open-source browser plug-in,
http://gears.google.com/
• Several major APIs: e.g., Database
(SQLite), WorkerPool, LocalServer,
Desktop, and Geolocation
• Storage size unlimited per domain
• Focus from Gears to HTML5 and
associated APIs: Indexed
Database API, Web Workers,
Geolocation API
• Does not support newer browser
versions
10
12. Motivations
• Standardized APIs
• Native support by major browsers (no plug-ins)
• Increase storage limitations
• Persistent storage
12
13. Web Storage
Working Draft October 25, 2011
http://www.w3.org/TR/webstorage/
13
14. Overview
• Beloved child has many names: HTML5 Storage, Local
Storage, DOM Storage
• Improved cookies
– Simple key-value pairs
– Stores data in a Web browser, persistently
• localStorage (Persisted Cookies) and sessionStorage
(Session Cookies) accessible via global window object
• Enables running the same application in multiple
windows
• Storage size limited to 5-10 MB per domain (default)
14
15. Examples and Demo
// Store persistent data
localStorage.setItem( ”key”, ”value” )
// Retrieve persistent data
localStorage.getItem( ”key” )
// Retrieve the name of the key
localStorage.key( number )
// Retrieve the number of key-value pairs
localStorage.length
// Remove persistent data
localStorage.removeItem( ”key” )
http://html5demos.com/storage
15
16. Browser Support
Source: http://caniuse.com/#search=web%20storage
16
17. Indexed Database API
Working Draft April 19, 2011
http://www.w3.org/TR/IndexedDB/
17
18. Overview
• Beloved child has many names: IndexedDB,
WebSimpleDB API
• Newest of the three specifications
• Simple values and hierarchical objects
• An advanced version of Web Storage, support for
– Robust indexes
– efficient searching over keys
– duplicate keys (multiple values for a key)
• Allows for advanced data scenarios on the client
• Asynchronous database requests
18
19. (Sync) Examples
// Open a database
var db = window.indexedDBSync.open( ”todos” );
// Open an object store
var objectStore = db.openObjectStore( ”todo”, 0 ); //
read-write
// Add data to an object store
objectStore.add( { ”text”: ”todo text”, ”timeStamp”: new
Date().getTime() } );
19
22. Overview
• Beloved child has many names: WebDB
• As of November 18, 2010 a deprecated specification
– Not enough independent implementations
– All use SQLite as the database engine
• Manipulate client-side databases using SQL
– A variant of SQL
• Asynchronous database requests
• The most advanced client storage specification
22
23. Example and Demo
// Insert new tweet
t.executeSql( ”INSERT INTO tweets (id, screen_name, date,
text) VALUES (?, ?, ?, ?), [tweet.id, tweet.from_user,
tweet / 1000, tweet.text]” );
http://html5demos.com/database
23
24. Browser Support
http://caniuse.com/#search=web%20sql%20database
24
25. HTML5 Offline
Working Draft May 25, 2011
http://www.w3.org/TR/html5/offline.html
25
27. Silo
• A system that reduces both the number of HTTP
requests and the bandwidth required to construct a page
• Uses JavaScript and Web Storage à no plug-ins
needed
• The idea is to store JavaScript and CSS fragments in a
local storage. When a web page is requested, only the
server asks which fragments are missing and sends
them to the client in one file
27
28. Sync Kit
• Client-server toolkit
• Uses JavaScript and (Google) Gears
• Offloads some data storage and processing from a web
server onto the web browsers
• Synchronizes relational database tables between the
browser and the web server
• Persists both data and templates across web sessions
• Increases server load handling capability from 3 to 4
times
28
30. Comparison of Local Storage Options
Name Standard Features Data type Storage space Browser support
Cookie IETF RFC 2109, IETF RFC simple key-value string 4 kB all major
2965 pairs, information (serialization)
via HTTP headers
Local Shared Object proprietary browser plug-in alternative to Flash data 100 kB per all major via Adobe
(Flash cookie) (Adobe) cookies, types domain (can be Flash Player 6+ plug-in
accessible from increased)
JavaScript
(Google) Gears open source browser plug- relational many unlimited per deprecated (old
in (BSD License) database (SQLite) domain (SQLite versions via Gears
limitations) plug-in)
Web Storage Working Draft simple key-value string 5-10 MB (can IE 8+, Firefox 2.0/3.5+,
pairs, no duplicate (serialization) be increased) Chrome 4/5+, Safari
values for a key 4+, Opera 10.5+
Indexed Database API Working Draft indexed key-value many N/A IE 10+, Firefox 4+,
pairs, duplicate Chrome 11+
values for a key,
efficient searching
over keys
Web SQL Database Working Group Note SQL queries many 5 MB (can be “deprecated” Chrome
(variant) increased) 4+, Safari 3.1/4.0+,
Opera 10.5+
30
31. References
• Local Storage – Dive into HTML5:
http://diveintohtml5.info/storage.html
• Lawson, B. and Sharp, R. ”Introducing HTML5”. New
Riders, 2011.
• Mickens, J. ”Silo: Exploiting JavaScript and DOM
Storage for Faster Page Loads”. In WebApps/USENIX,
2010.
• Benson, E. et al. ”Sync Kit: A Persistent Client-Side
Database Caching Toolkit for Data Intensive Websites”.
In WWW, 2010.
• Cannon, B. and Wohlstadter, E. ”Automated Object
Persistence for JavaScript”. In WWW, 2010.
31