The document summarizes the history of web browsers and standards. It describes how early browsers competed by adding proprietary features without regard to standards, resulting in developer headaches. It then discusses how modern browsers have embraced standards-based development and cooperate on new technologies and APIs. The talk outlines how web APIs are helping make the web more "native" and powerful on mobile devices.
The document discusses the evolution of web APIs and browsers. It describes how in the early days of the web, browser vendors competed by adding proprietary features without regard to standards, which led to inconsistent support across browsers. It then explains how modern browsers now prioritize standards compliance and collaboration to ensure features work across all browsers, and how new web APIs are enabling richer mobile web experiences through access to device capabilities.
Ultimate Guide to 30+ API Documentation SolutionsBill Doerrfeld
This document provides a list of 31 API documentation solutions, with each listing including the name of the solution, a brief description, and a link. The solutions cover a range of formats including OpenAPI/Swagger, API Blueprint, RAML, and others. They provide functionality such as visualization of API resources, generation of documentation from code or specifications, and interactive developer portals. The list is compiled by Bill Doerrfeld and sourced from Apis.guru.
Extend your legacy SOA/ESB infrastructure to Mobile & IoT
This webinar recording provides a use-case driven discussion around appropriate use of existing middleware infrastructure as well as its shortcomings. It dives deep into how APIs can not only complement an ESB or SOA infrastructure but also fill existing gaps.
Watch this webinar recording to learn about:
- Strengths and weaknesses of your existing ESB/SOA infrastructure
- Architecture strategy: extend and add value to legacy middleware with APIs
- Integration / API use cases in Retail, Manufacturing and Telecom
- The API360 approach to digital strategy
apidays LIVE New York - API Lifecycle Management - Avoiding Breaches By Secur...apidays
The document discusses securing the API development lifecycle process. It describes how new APIs are originated through new business needs, applications, or customer requirements. It then discusses how the Akana API management platform addresses this issue through automated validation and approval workflows integrated with CI/CD pipelines. This ensures security policies are followed before APIs move from development to testing and production environments. It provides an example demo of how Akana enforces approval from solution architects before an API can be promoted between stages.
Cloudy rec citygridlosangeleshackathon (1)Kin Lane
Cloudyrec provides a mobile backend as a service that includes data storage, code generation for multiple platforms, REST APIs, user management, content management, and reporting capabilities. Developers can define data objects and relationships, use a ready sandbox for development, and separate production environments without deploying their own database layer. The service also allows browsing and managing backend data through a CMS and accessing backend structure and data via web APIs.
During the last few years, companies started to embrace APIs.
In FRANCE, the API boom really started lately, in 2014.
Today every company wants to build its API.
We had been involved in several API projects : and the goal of this session is to share with you common pitfall that could compromise your API strategy.
ProgrammableWeb's eSignature API Research ReportProgrammableWeb
The document evaluates and compares the APIs of seven e-signature services. It finds that DocuSign has the most comprehensive API with superior documentation, sample code, tools, and community support. HelloSign and Sertifi e-Sign Live also have strong APIs. The APIs of Adobe EchoSign, Barracuda SignNow, RightSignature, and Silanis e-Sign Live were disappointing due to brief or confusing documentation and lack of sample code. The document analyzed the APIs from the perspective of a programmer, focusing on features that help integrate e-signatures into workflows quickly and effectively.
The document discusses the evolution of web APIs and browsers. It describes how in the early days of the web, browser vendors competed by adding proprietary features without regard to standards, which led to inconsistent support across browsers. It then explains how modern browsers now prioritize standards compliance and collaboration to ensure features work across all browsers, and how new web APIs are enabling richer mobile web experiences through access to device capabilities.
Ultimate Guide to 30+ API Documentation SolutionsBill Doerrfeld
This document provides a list of 31 API documentation solutions, with each listing including the name of the solution, a brief description, and a link. The solutions cover a range of formats including OpenAPI/Swagger, API Blueprint, RAML, and others. They provide functionality such as visualization of API resources, generation of documentation from code or specifications, and interactive developer portals. The list is compiled by Bill Doerrfeld and sourced from Apis.guru.
Extend your legacy SOA/ESB infrastructure to Mobile & IoT
This webinar recording provides a use-case driven discussion around appropriate use of existing middleware infrastructure as well as its shortcomings. It dives deep into how APIs can not only complement an ESB or SOA infrastructure but also fill existing gaps.
Watch this webinar recording to learn about:
- Strengths and weaknesses of your existing ESB/SOA infrastructure
- Architecture strategy: extend and add value to legacy middleware with APIs
- Integration / API use cases in Retail, Manufacturing and Telecom
- The API360 approach to digital strategy
apidays LIVE New York - API Lifecycle Management - Avoiding Breaches By Secur...apidays
The document discusses securing the API development lifecycle process. It describes how new APIs are originated through new business needs, applications, or customer requirements. It then discusses how the Akana API management platform addresses this issue through automated validation and approval workflows integrated with CI/CD pipelines. This ensures security policies are followed before APIs move from development to testing and production environments. It provides an example demo of how Akana enforces approval from solution architects before an API can be promoted between stages.
Cloudy rec citygridlosangeleshackathon (1)Kin Lane
Cloudyrec provides a mobile backend as a service that includes data storage, code generation for multiple platforms, REST APIs, user management, content management, and reporting capabilities. Developers can define data objects and relationships, use a ready sandbox for development, and separate production environments without deploying their own database layer. The service also allows browsing and managing backend data through a CMS and accessing backend structure and data via web APIs.
During the last few years, companies started to embrace APIs.
In FRANCE, the API boom really started lately, in 2014.
Today every company wants to build its API.
We had been involved in several API projects : and the goal of this session is to share with you common pitfall that could compromise your API strategy.
ProgrammableWeb's eSignature API Research ReportProgrammableWeb
The document evaluates and compares the APIs of seven e-signature services. It finds that DocuSign has the most comprehensive API with superior documentation, sample code, tools, and community support. HelloSign and Sertifi e-Sign Live also have strong APIs. The APIs of Adobe EchoSign, Barracuda SignNow, RightSignature, and Silanis e-Sign Live were disappointing due to brief or confusing documentation and lack of sample code. The document analyzed the APIs from the perspective of a programmer, focusing on features that help integrate e-signatures into workflows quickly and effectively.
API Marketing: First Comes Usability, Then DiscoverabilityBill Doerrfeld
How do we increase developer conversion? In this session, I cover some ways to market your API, on and offline. You'll learn the major directories and marketplaces to add your API to, and how to set up your service for machine-readable discover. I also discuss Search Engine Optimization (SEO) suggestions for developer portals, and API definitions like OpenAPI Specification. Lastly, I reiterate the importance of creating and sharing evergreen knowledge.
This document provides an overview of the API documentation generator APIdoc. It explains that APIdoc scans source code comments to generate HTML documentation of API methods and parameters. It demonstrates setting up a sample project with two API methods - getUser and setName. Documentation is added for request parameters, success responses and errors. The document shows how APIdoc supports versioning to compare changes between releases. In summary, APIdoc generates API documentation from source code for developers to understand the interface.
This document discusses key aspects of self-documenting APIs, including discoverability, evolvability, and standardization. It recommends using HATEOAS and HAL links to make APIs discoverable, Swagger and Grape-Swagger to make them self-documenting, and standards like Swagger, HAL, and REST to make them standardized. Following these practices helps ensure APIs are easy to use, adapt to changing needs, and consistent with other APIs.
Co-Founder and CTO, Paul Fremantle and Solutions Architect, Senaka Fernando facilitated this workshop at Jax London 2014. The workshop illustrated how API management helps organizations participate in the API Economy; with the first half of the workshop looking at the overall landscape and approaches, while the second half focusing on using Open Source API Management tooling to expose, monitor and manage APIs.
My presentation from Nordic APIs 2014 in Stockholm, Sweden.
How can the architecture of one API platform look like? How can you break down things to make this challenge easier?
API Introduction - API Management Workshop Munich from Ronnie MitraCA API Management
This document summarizes an API workshop presentation focused on key topics in API design including API styles, usability, security, and architecture. The presentation discusses common API styles like tunnel, URI, hypermedia, and event-driven and how to choose a style based on constraints and goals. It emphasizes the importance of usability and a developer-centric design approach. The presentation also covers securing APIs using standards like OAuth and TLS and designing layered API architectures with elements like representation, caching, and orchestration layers. It compares API management to traditional SOA governance approaches.
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...CA API Management
APIs are everywhere: powering mobile apps, enabling cloud computing, connecting people through social networks and helping to create the Internet of Things. Organizations of every kind are evaluating how they can leverage APIs and replicate the success of companies like Amazon, Google and Salesforce.
Join this webinar to learn about the #API360 model for enterprise API success. This model covers the full spectrum of considerations for companies looking to succeed with APIs for the long haul. You will also hear more about the upcoming #API360 Summit that will take place in Dallas on February 26.
You Will Learn
• How leading Web companies have used APIs to boost revenues and market share
• How to create an enterprise API strategy that will yield real business results
• How to institutionalize best practices that will allow your APIs to evolve and grow
To view the recording of this webinar please use the below URL:
http://wso2.com/library/webinars/2015/03/wso2-product-release-webinar-wso2-app-factory-2.1.0/
In this webinar, Manjula Rathnayaka, associate technical lead, and Kasun De Silva, software engineer at WSO2, will present the following new features and improvements to App Factory 2.1:
Adding new application types by including an archive
Ability to add runtime externally
Puppet scripts for App Factory deployments
WSO2 BAM integration for user activity
Custom URL improvements
GlueCon 2019: Beyond REST - Moving to Event-Based APIs and StreamingLaunchAny
For more than a decade, web APIs have replaced the previous generation of web services. Throughout this period of growth, most APIs have been restricted to request-response over HTTP. We are now seeing a move back to eventing with the popularity of webhooks. Additionally, streaming is becoming another option for connecting services, apps, and devices. In this talk, we will look at the opportunities that event-based APIs and streaming offer and how our software architecture is evolving to handle these new styles of API interaction.
In this presentation from CA World 2017 you will learn how Asurion manages their large and growing portfolio of APIs that support clients, partners and millions of customers. The overhead of managing and communicating these APIs to various groups has become cumbersome and slow as the number of APIs has increased. To eliminate this overhead, Asurion uses CA API Management to enable API developers to self-publish their APIs out to the rest of the company. This new self-service portal will also allow application developers to learn about and gain access to the APIs without having to request access through an administrative team.
To learn more visit: http://ow.ly/VdNI50fzJyt
This document discusses Equinix's API strategy and developer platform. It provides an overview of Equinix's software capabilities and how it is building an API ecosystem. The key aspects covered include Equinix's API reference architecture, taxonomy of APIs it offers, the evolution of APIs, and its API lifecycle process. It also describes Equinix's developer platform which aims to provide a single interface for developers to explore, subscribe to, and build applications using Equinix's APIs.
Digital transformation is on its way and the industry is required to adopt new concepts and techniques, like the Internet of things (IoT), Cloud and Enterprise Mobility. As a matter of that, new business models arise, which need to be evaluated by companies to not lose market shares and stay in touch with the competitors.
Gartner’s vision of Bi-modal IT seems to become more and more the reality, which besides all chances, also brings a lot of challenges companies have to deal with. One essential topic for implementing the ideas of Bi-modal IT is API Management – at least from our point of view. In addition, it is also a key enabler to define a solid strategy, in order to meet the challenges with respect to digital transformation.
Open API and API Management - Introduction and Comparison of Products: TIBCO ...Kai Wähner
In October 2014, I had a talk at Jazoon in Zurich, Switzerland: "A New Front for SOA: Open API and API Management as Game Changer"
Open API represent the leading edge of a new business model, providing innovative ways for companies to expand brand value and routes to market, and create new value chains for intellectual property. In the past, SOA strategies mostly targeted internal users. Open APIs target mostly external partners.
This session introduces the concepts of Open API, its challenges and opportunities. API Management will become important in many areas, no matter if business-to-business (B2B) or business-to-customer (B2C) communication. Several real world use cases will discuss how to gain leverage due to API Management. The end of the session shows and compares API management products from different vendors such as TIBCO API Exchange, IBM, Apigee, 3scale, WSO2, MuleSoft, Mashery, Layer 7, Vordel
apidays LIVE Australia 2021 - API Horror Stories from an Unnamed Coworking Co...apidays
apidays LIVE Australia 2021 - Accelerating Digital
September 15 & 16, 2021
API Horror Stories from an Unnamed Coworking Company
Phil Sturgeon, DevRel at Stoplight
Create and Manage APIs with API Connect, Swagger and BluemixDev_Events
Presented by - Raghavan “Rags” Srinivas, Architect, IBM
Enabling other developers and organizations to use your APIs through their own applications and services provides a compelling system for innovation and monetization. The Swagger spec (v2.0), recently donated to the Open API Initiative (OAI), is part of an open source project for better creation and documentation of APIs. Companies are empowering developers via these initiatives to leverage the data and build apps around it. This hands-on session helps you get started with creating APIs for consumption by developers in a well-documented, secure, and easy-to-manage form.
Examining today's biggest API breaches to mitigate API security vulnerabilities
Data breaches have become the top news story. And APIs are quickly becoming the hacker's new favorite attack vector. They offer a direct path to critical information and business services that can be easily stolen or disrupted. And your private APIs can be exploited just as easily as a public API. So what measures can you take to strengthen your security position?
This webinar explores recent API data breaches, the top API security vulnerabilities that are most impactful to today's enterprise and the protective measures that need to be taken to mitigate API and business exposure.
You Will Learn
-Recent breaches in the news involving APIs
-Top attacks that compromise your business
-Mitigating steps to protect your business from attacks and unauthorized access
-API Management solutions that both enable and protect your business
Learn about API Security at http://www.ca.com/api
Continuous API Strategies for Integrated PlatformsBill Doerrfeld
Following the tagline for 2019’s Platform Summit, I will seek to examine the role web APIs are playing in improving efficiency and scalability across enterprises. In the modular world of microservices development, containers, Kubernetes, and quick deployment styles are all the rage. I’ll take a look at specific of APIs at work within DevOps, and point out new frontiers where API-first designs are improving development and interoperability standards for today’s most powerful digital platforms.
Learn about how to protect your digital assets from known external threats at the API layer. Secure your assets against threats like SQL injection, JSON threat protection and application DoS. Protect your apps from cyber threats and bad bots with data-driven enterprise grade API security and Adaptive Threat Protection.
This document is the copyrighted introduction to the book "APIs For Dummies, IBM Limited Edition" published by John Wiley & Sons, Inc. It provides an overview of what APIs are and why they are important for businesses. It states that APIs enable solutions like omnichannel experiences, faster innovation, mobile enterprises, and hybrid cloud environments. The book will define the nature of modern APIs and guide readers through decisions about which APIs to provide/consume and how to build an effective API platform. Key themes are that APIs should be treated as products and that an experimental approach of "trying early, learning fast, and scaling easily" is important.
Firefox OS - A (mobile) Web Developers dream - DWX14Carsten Sandtner
My slides from Developer Week 2014 in Nuremberg.
Original Slides: http://casarock.github.io/dwx14
(Quality of uploaded slides is not good as slideshare has problem converting the used backgorund)
Building modern web sites with ASP .Net Web API, WebSockets and RSignalAlessandro Pilotti
My session at ITCamp.ro 2012:
Web site development is an ever changing landscape. Thanks to the latest web browser technologies it's possible to create highly responsive single page applications, requiring a new approach to design and development on the server side. During this session we'll see ho to use .Net technologies to get the best out of the new Web API, WebSockets and the excellent RSignal framework.
API Marketing: First Comes Usability, Then DiscoverabilityBill Doerrfeld
How do we increase developer conversion? In this session, I cover some ways to market your API, on and offline. You'll learn the major directories and marketplaces to add your API to, and how to set up your service for machine-readable discover. I also discuss Search Engine Optimization (SEO) suggestions for developer portals, and API definitions like OpenAPI Specification. Lastly, I reiterate the importance of creating and sharing evergreen knowledge.
This document provides an overview of the API documentation generator APIdoc. It explains that APIdoc scans source code comments to generate HTML documentation of API methods and parameters. It demonstrates setting up a sample project with two API methods - getUser and setName. Documentation is added for request parameters, success responses and errors. The document shows how APIdoc supports versioning to compare changes between releases. In summary, APIdoc generates API documentation from source code for developers to understand the interface.
This document discusses key aspects of self-documenting APIs, including discoverability, evolvability, and standardization. It recommends using HATEOAS and HAL links to make APIs discoverable, Swagger and Grape-Swagger to make them self-documenting, and standards like Swagger, HAL, and REST to make them standardized. Following these practices helps ensure APIs are easy to use, adapt to changing needs, and consistent with other APIs.
Co-Founder and CTO, Paul Fremantle and Solutions Architect, Senaka Fernando facilitated this workshop at Jax London 2014. The workshop illustrated how API management helps organizations participate in the API Economy; with the first half of the workshop looking at the overall landscape and approaches, while the second half focusing on using Open Source API Management tooling to expose, monitor and manage APIs.
My presentation from Nordic APIs 2014 in Stockholm, Sweden.
How can the architecture of one API platform look like? How can you break down things to make this challenge easier?
API Introduction - API Management Workshop Munich from Ronnie MitraCA API Management
This document summarizes an API workshop presentation focused on key topics in API design including API styles, usability, security, and architecture. The presentation discusses common API styles like tunnel, URI, hypermedia, and event-driven and how to choose a style based on constraints and goals. It emphasizes the importance of usability and a developer-centric design approach. The presentation also covers securing APIs using standards like OAuth and TLS and designing layered API architectures with elements like representation, caching, and orchestration layers. It compares API management to traditional SOA governance approaches.
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...CA API Management
APIs are everywhere: powering mobile apps, enabling cloud computing, connecting people through social networks and helping to create the Internet of Things. Organizations of every kind are evaluating how they can leverage APIs and replicate the success of companies like Amazon, Google and Salesforce.
Join this webinar to learn about the #API360 model for enterprise API success. This model covers the full spectrum of considerations for companies looking to succeed with APIs for the long haul. You will also hear more about the upcoming #API360 Summit that will take place in Dallas on February 26.
You Will Learn
• How leading Web companies have used APIs to boost revenues and market share
• How to create an enterprise API strategy that will yield real business results
• How to institutionalize best practices that will allow your APIs to evolve and grow
To view the recording of this webinar please use the below URL:
http://wso2.com/library/webinars/2015/03/wso2-product-release-webinar-wso2-app-factory-2.1.0/
In this webinar, Manjula Rathnayaka, associate technical lead, and Kasun De Silva, software engineer at WSO2, will present the following new features and improvements to App Factory 2.1:
Adding new application types by including an archive
Ability to add runtime externally
Puppet scripts for App Factory deployments
WSO2 BAM integration for user activity
Custom URL improvements
GlueCon 2019: Beyond REST - Moving to Event-Based APIs and StreamingLaunchAny
For more than a decade, web APIs have replaced the previous generation of web services. Throughout this period of growth, most APIs have been restricted to request-response over HTTP. We are now seeing a move back to eventing with the popularity of webhooks. Additionally, streaming is becoming another option for connecting services, apps, and devices. In this talk, we will look at the opportunities that event-based APIs and streaming offer and how our software architecture is evolving to handle these new styles of API interaction.
In this presentation from CA World 2017 you will learn how Asurion manages their large and growing portfolio of APIs that support clients, partners and millions of customers. The overhead of managing and communicating these APIs to various groups has become cumbersome and slow as the number of APIs has increased. To eliminate this overhead, Asurion uses CA API Management to enable API developers to self-publish their APIs out to the rest of the company. This new self-service portal will also allow application developers to learn about and gain access to the APIs without having to request access through an administrative team.
To learn more visit: http://ow.ly/VdNI50fzJyt
This document discusses Equinix's API strategy and developer platform. It provides an overview of Equinix's software capabilities and how it is building an API ecosystem. The key aspects covered include Equinix's API reference architecture, taxonomy of APIs it offers, the evolution of APIs, and its API lifecycle process. It also describes Equinix's developer platform which aims to provide a single interface for developers to explore, subscribe to, and build applications using Equinix's APIs.
Digital transformation is on its way and the industry is required to adopt new concepts and techniques, like the Internet of things (IoT), Cloud and Enterprise Mobility. As a matter of that, new business models arise, which need to be evaluated by companies to not lose market shares and stay in touch with the competitors.
Gartner’s vision of Bi-modal IT seems to become more and more the reality, which besides all chances, also brings a lot of challenges companies have to deal with. One essential topic for implementing the ideas of Bi-modal IT is API Management – at least from our point of view. In addition, it is also a key enabler to define a solid strategy, in order to meet the challenges with respect to digital transformation.
Open API and API Management - Introduction and Comparison of Products: TIBCO ...Kai Wähner
In October 2014, I had a talk at Jazoon in Zurich, Switzerland: "A New Front for SOA: Open API and API Management as Game Changer"
Open API represent the leading edge of a new business model, providing innovative ways for companies to expand brand value and routes to market, and create new value chains for intellectual property. In the past, SOA strategies mostly targeted internal users. Open APIs target mostly external partners.
This session introduces the concepts of Open API, its challenges and opportunities. API Management will become important in many areas, no matter if business-to-business (B2B) or business-to-customer (B2C) communication. Several real world use cases will discuss how to gain leverage due to API Management. The end of the session shows and compares API management products from different vendors such as TIBCO API Exchange, IBM, Apigee, 3scale, WSO2, MuleSoft, Mashery, Layer 7, Vordel
apidays LIVE Australia 2021 - API Horror Stories from an Unnamed Coworking Co...apidays
apidays LIVE Australia 2021 - Accelerating Digital
September 15 & 16, 2021
API Horror Stories from an Unnamed Coworking Company
Phil Sturgeon, DevRel at Stoplight
Create and Manage APIs with API Connect, Swagger and BluemixDev_Events
Presented by - Raghavan “Rags” Srinivas, Architect, IBM
Enabling other developers and organizations to use your APIs through their own applications and services provides a compelling system for innovation and monetization. The Swagger spec (v2.0), recently donated to the Open API Initiative (OAI), is part of an open source project for better creation and documentation of APIs. Companies are empowering developers via these initiatives to leverage the data and build apps around it. This hands-on session helps you get started with creating APIs for consumption by developers in a well-documented, secure, and easy-to-manage form.
Examining today's biggest API breaches to mitigate API security vulnerabilities
Data breaches have become the top news story. And APIs are quickly becoming the hacker's new favorite attack vector. They offer a direct path to critical information and business services that can be easily stolen or disrupted. And your private APIs can be exploited just as easily as a public API. So what measures can you take to strengthen your security position?
This webinar explores recent API data breaches, the top API security vulnerabilities that are most impactful to today's enterprise and the protective measures that need to be taken to mitigate API and business exposure.
You Will Learn
-Recent breaches in the news involving APIs
-Top attacks that compromise your business
-Mitigating steps to protect your business from attacks and unauthorized access
-API Management solutions that both enable and protect your business
Learn about API Security at http://www.ca.com/api
Continuous API Strategies for Integrated PlatformsBill Doerrfeld
Following the tagline for 2019’s Platform Summit, I will seek to examine the role web APIs are playing in improving efficiency and scalability across enterprises. In the modular world of microservices development, containers, Kubernetes, and quick deployment styles are all the rage. I’ll take a look at specific of APIs at work within DevOps, and point out new frontiers where API-first designs are improving development and interoperability standards for today’s most powerful digital platforms.
Learn about how to protect your digital assets from known external threats at the API layer. Secure your assets against threats like SQL injection, JSON threat protection and application DoS. Protect your apps from cyber threats and bad bots with data-driven enterprise grade API security and Adaptive Threat Protection.
This document is the copyrighted introduction to the book "APIs For Dummies, IBM Limited Edition" published by John Wiley & Sons, Inc. It provides an overview of what APIs are and why they are important for businesses. It states that APIs enable solutions like omnichannel experiences, faster innovation, mobile enterprises, and hybrid cloud environments. The book will define the nature of modern APIs and guide readers through decisions about which APIs to provide/consume and how to build an effective API platform. Key themes are that APIs should be treated as products and that an experimental approach of "trying early, learning fast, and scaling easily" is important.
Firefox OS - A (mobile) Web Developers dream - DWX14Carsten Sandtner
My slides from Developer Week 2014 in Nuremberg.
Original Slides: http://casarock.github.io/dwx14
(Quality of uploaded slides is not good as slideshare has problem converting the used backgorund)
Building modern web sites with ASP .Net Web API, WebSockets and RSignalAlessandro Pilotti
My session at ITCamp.ro 2012:
Web site development is an ever changing landscape. Thanks to the latest web browser technologies it's possible to create highly responsive single page applications, requiring a new approach to design and development on the server side. During this session we'll see ho to use .Net technologies to get the best out of the new Web API, WebSockets and the excellent RSignal framework.
ITCamp 2012 - Alessandro Pilotti - Web API, web sockets and RSignalITCamp
This document summarizes a presentation about building modern web sites with ASP.Net Web API, WebSockets, and SignalR. The presentation introduces these technologies and how they can be used to build single page applications with real-time functionality. It provides examples of using ASP.Net Web API to create RESTful APIs, SignalR for persistent connections and messaging, and WebSockets for bidirectional communication. The presentation demonstrates how these tools allow building applications that approach the usability of desktop applications.
Wading through the mobile WebRTC developer gauntlet (IIT RTC Conference sessi...Brian Pulito
Today real-time communications in mobile devices typically means general purpose, non-contextual audio and video calling. WebRTC promises more by embedding real-time with context. For mobile this means apps enabled with WebRTC capabilities. While mobile implementations of WebRTC are now available for iOS and Android, there are still many decisions that need to be made to take advantage of it. Things like what frameworks to use, native vs. hybrid, how to handle security and much more. This session will discuss going from concept to delivered application and what steps and decisions need to be made along the way.
The document summarizes key aspects of building Firefox OS to address issues with the mobile web. Firefox OS is Mozilla's attempt to make the web a first-class citizen on phones and tablets by starting with the web stack rather than trying to add the web to an existing OS. It has launched in several countries and aims to be an affordable alternative to feature phones and closed platforms. The architecture is based on Linux, Gecko, and web technologies. It provides predictable HTML5 support and addresses performance, fragmentation, security and hardware access through its design and web APIs.
This document discusses Firefox OS, web APIs, and hybrid applications. It begins with an introduction to Firefox OS, including its origins in 2011 and current version 2.5. Firefox OS is no longer being developed for smartphones after version 2.6, and the Marketplace will stop accepting new apps in March 2016. The document then covers several web APIs like WebSockets, WebGL, WebRTC, and WebVR. It discusses the pros and cons of hybrid applications that can run on multiple platforms. It concludes by encouraging participants to help explore new ideas using the web as a platform.
The document summarizes key features of HTML5 including updated markup, forms, multimedia elements, APIs, and specifications. It discusses the evolution of HTML in an incremental way to ease authoring of web applications. Specific HTML5 features covered include forms, Canvas, WebSockets, and APIs for drag-and-drop, geolocation, offline events, and more. Browser support for HTML5 is also addressed.
Serverless Security: A How-to Guide @ SnowFROC 2019James Wickett
Serverless Security: A How-to Guide @ SnowFROC 2019
Covering serverless basics, looking at lambhack, and architectures/models for serverless. Special thanks to Signal Sciences!
SAPTechED 2015 UX114 -Building custom SAP Fiori Apps Using SAP Web IDEMarkus Van Kempen
This document provides an overview of a presentation on building custom SAP Fiori apps using SAP Web IDE. The presentation discusses using SAP Web IDE for development, hosting apps on-premise or in the cloud, creating web services, and building a sample store app. It includes an agenda, introductions to SAP Web IDE and HCP, demos of building apps and services, and references for further information.
Instead of Introducing Mojito, I want to recap on the state of the industry, and specifically on a new trending about frameworks and platforms that are trying to blur the line between server and client. Mojito, MeteorJS, DerbyJS and others are part of that group. I also want to provide more details about the motivations, challenges and the state of the Yahoo! Cocktails platform.
【BS1】What’s new in visual studio 2022 and c# 10日本マイクロソフト株式会社
Watch this session to learn about the new capabilities in Visual Studio 2022 and the new C# 10 features for .NET developers. With Visual Studio 2022, you'll always get the best-in-class tools and services available for any developer, any app, and any platform. Whether you're using Visual Studio for the first time, or you've been using it for years, there's a lot to like in our newest version.
This document discusses creating applications for Samsung bada using HTML5. There are two main options - native apps or HTML5 apps. Native apps are best if high performance graphics or device access is important, while HTML5 apps allow cross-platform support. HTML5 apps are written using web standards, zipped and run in browsers. They have cross-platform support but poorer UX and limited device access. The document also discusses deploying HTML5 apps, differences in mobile browsers, and the importance of testing apps across different browsers.
The document discusses building mobile web applications. It provides details on mobile hardware specifications in India, including the Intex Cloud FX phone. It lists various web APIs that can be used to build hosted, privileged, and certified mobile apps, such as the vibration, geolocation, and contacts APIs. The document encourages testing apps using Mozilla resources and simulators and concludes by thanking the audience.
The industry move towards wearables is all the rage and taking advantage of these new devices doesn’t have to mean learning a whole new platform. For example the Microsoft Band is a multi-function wearable device that works with your smart phone to help you track heart rate, steps, calorie burn, sleep quality and be productive with email and calendar alerts and more. While you can quickly and easily build an app for the Band in just a few minutes how can you be sure the back end is up to the scale you’d need to support potential massive growth if it were to take off? Enter the cloud and tools available that we can use to load test and explore the performance characteristics of the solution. In this session we’ll take a look at what’s possible and walk thru the scenario to see first hand how it is done.
Keynote at Codebits in Portugal, April 2014, explaining the how and why of Firefox OS and how to use it.
Video: https://videos.sapo.pt/ZYQyY57ZlB6lhgIdBzrs
This document summarizes a webinar about the WSO2 BAM 2.5.0 release. It introduces the presenters, provides an overview of WSO2 and the BAM product. The agenda includes introductions to BAM, highlights of the new release including new input/output event adaptors, a message console, Cassandra data archiving and purging, and Puppet scripts. It also demonstrates sending data to BAM using the HTTP adaptor and searching events in the message console.
Ugly truths about html5 moosecon - robert virkus - 2013-03-07Enough Software
This document discusses some of the challenges with using HTML5 for mobile apps. It notes that while HTML5 promised to allow one codebase to work across platforms, the fragmentation of WebKit browsers and lack of access to native device features have made that difficult to achieve. It also warns of potential security and performance issues when attempting to create native-like experiences with HTML5 alone. The document advocates for either hybrid approaches that combine HTML5 and native code, or limiting HTML5 to content-heavy rather than performance-critical applications.
Similar to Web APIs - Mobiletech Conference 2015 (20)
This document provides a summary of the state of web APIs in 2017. It begins with a brief history of web browsers and the "Browser Wars" of the 1990s. It then discusses the rise of mobile web usage, particularly in Asia and Africa, and the need for web APIs to support mobile web applications. The document proceeds to summarize several important modern web APIs, including APIs for device access, animations, games, sensors, battery status, ambient light, networking information, orientation, audio, MIDI, VR, service workers, push notifications, Bluetooth, and speech synthesis and recognition.
This document discusses mediaman's implementation of a headless architecture using Typo3 as a content management system and Magento 2 as a shop system. Some key challenges included migrating existing content, connecting different existing systems, and ensuring one user interface. The solution involved using Typo3 and Magento 2 APIs to integrate the systems while keeping the content and shop separate. Lessons learned included that being an early adopter of new technologies like Magento 2 comes with difficulties as extensions and features may not be fully developed, and going headless requires rebuilding templates and processes that rely on extensions.
My Slides about creating web sites which could also be useable even if you are not online! From Web Storages to Service Workers.
Presented at Mobiletech Conference in Munich March 2017
The document discusses Nightwatch.js, an open source end-to-end testing framework for browser-based apps and websites. It uses Selenium WebDriver to perform commands and assertions on DOM elements. Key features include a clean syntax, built-in test runner, support for CSS/XPath selectors, test grouping/filtering, and CI integration. The document provides information on installation, project structure, configuration, writing tests, using page objects, test execution, and ways to extend Nightwatch's functionality through custom commands/assertions.
My Slides for my Talk about being Always On is a lie and how developers could add improvements to their web site to deliver a great experience even when the network is flaky!
This document provides an overview of WebVR and its history. It discusses early VR devices from the 1960s, popular VR headsets today like Oculus Rift and HTC Vive, and frameworks for building VR experiences on the web like A-Frame. It also summarizes the WebVR API and how it allows accessing VR sensors and rendering to head-mounted displays from web content. While WebVR shows promise, the document notes it is still an editors draft and has limitations in browser support and requiring expensive hardware.
This document provides an overview of WebVR and its history. It discusses early VR devices from the 1930s through the 1990s. Modern VR head-mounted displays like the Oculus Rift and HTC Vive are described. The WebVR API allows creating VR experiences within browsers by accessing sensors and rendering to VR displays. Frameworks like A-Frame simplify development with markup. While WebVR has potential, the specification is not finalized and high-end VR hardware can be expensive.
- HTML5 Canvas allows for drawing and animation capabilities for building games directly in browsers
- It has been standardized and is supported across browsers, enabling cross-platform games
- While desktop games work well with HTML5 Canvas, mobile games face challenges like lower memory limits, different screen sizes and resolutions, and performance issues
- Frameworks like Phaser, Impact and libraries like CocoonJS aim to address these challenges and allow building games using HTML5 that run cross-platform on desktop and mobile browsers
Responsive design allows webpages to adapt to different screen sizes and devices by using fluid widths, images, and CSS media queries. It began in 2010 with a combination of flexible layouts, media queries, and using the viewport to optimize content for varied screens. While responsive design improves the user experience across devices, developers must address challenges like conditionally loading appropriate images, scripts, and styles to avoid delivering unnecessary content.
Firefox OS - A (web) developers dream - muxCamp 2014Carsten Sandtner
Firefox OS is a fully open source, HTML5-based mobile operating system developed by Mozilla. Apps for Firefox OS are written as regular web apps using HTML5, CSS, and JavaScript. The OS provides web APIs to access device hardware and services. App development does not require an SDK - apps are just web apps that can be hosted, privileged with permissions, or certified for distribution. The Gecko rendering engine displays HTML5-based apps and the Gaia UI provides access to the underlying OS. Developers can test apps using simulators, remote debugging tools, and UI component libraries. Apps can be distributed by hosting them online or submitting them to the Firefox OS marketplace.
This document discusses modern web UI components and frameworks. It introduces templates, custom elements, and HTML imports that allow developers to build reusable components. It then summarizes the Brick library from Mozilla, which includes common UI elements like calendars, sliders, and tabs. Developers can also build their own custom elements. The document encourages using these techniques and libraries to rapidly develop cross-browser web apps.
Traceur - Javascript.next - Now! RheinmainJS April 14thCarsten Sandtner
The document discusses Traceur, a compiler that allows developers to write JavaScript code using ECMAScript 6 features while targeting browsers that do not yet support these features natively. It provides an overview of Traceur's capabilities, how to use it through command line, Grunt, or Gulp builds, and the benefits of using a compiler like Traceur to write ES6 code now while targeting older browsers through compilation to ES5. However, it also notes that Traceur does not support all ES6 features and requires a runtime, so developers must carefully consider if their projects truly need ES6 features.
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC
Ellisha Heppner, Grant Management Lead, presented an update on APNIC Foundation to the PNG DNS Forum held from 6 to 10 May, 2024 in Port Moresby, Papua New Guinea.
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfFlorence Consulting
Quattordicesimo Meetup di Milano, tenutosi a Milano il 23 Maggio 2024 dalle ore 17:00 alle ore 18:30 in presenza e da remoto.
Abbiamo parlato di come Axpo Italia S.p.A. ha ridotto il technical debt migrando le proprie APIs da Mule 3.9 a Mule 4.4 passando anche da on-premises a CloudHub 1.0.
Understanding User Behavior with Google Analytics.pdfSEO Article Boost
Unlocking the full potential of Google Analytics is crucial for understanding and optimizing your website’s performance. This guide dives deep into the essential aspects of Google Analytics, from analyzing traffic sources to understanding user demographics and tracking user engagement.
Traffic Sources Analysis:
Discover where your website traffic originates. By examining the Acquisition section, you can identify whether visitors come from organic search, paid campaigns, direct visits, social media, or referral links. This knowledge helps in refining marketing strategies and optimizing resource allocation.
User Demographics Insights:
Gain a comprehensive view of your audience by exploring demographic data in the Audience section. Understand age, gender, and interests to tailor your marketing strategies effectively. Leverage this information to create personalized content and improve user engagement and conversion rates.
Tracking User Engagement:
Learn how to measure user interaction with your site through key metrics like bounce rate, average session duration, and pages per session. Enhance user experience by analyzing engagement metrics and implementing strategies to keep visitors engaged.
Conversion Rate Optimization:
Understand the importance of conversion rates and how to track them using Google Analytics. Set up Goals, analyze conversion funnels, segment your audience, and employ A/B testing to optimize your website for higher conversions. Utilize ecommerce tracking and multi-channel funnels for a detailed view of your sales performance and marketing channel contributions.
Custom Reports and Dashboards:
Create custom reports and dashboards to visualize and interpret data relevant to your business goals. Use advanced filters, segments, and visualization options to gain deeper insights. Incorporate custom dimensions and metrics for tailored data analysis. Integrate external data sources to enrich your analytics and make well-informed decisions.
This guide is designed to help you harness the power of Google Analytics for making data-driven decisions that enhance website performance and achieve your digital marketing objectives. Whether you are looking to improve SEO, refine your social media strategy, or boost conversion rates, understanding and utilizing Google Analytics is essential for your success.
Discover the benefits of outsourcing SEO to Indiadavidjhones387
"Discover the benefits of outsourcing SEO to India! From cost-effective services and expert professionals to round-the-clock work advantages, learn how your business can achieve digital success with Indian SEO solutions.
5. Web APIs - MobileTech conference 2015 - @casarock
The first browser war...
Microsoft vs. Netscape!
6. Web APIs - MobileTech conference 2015 - @casarock
Arms race of features
Everyone invented new and "better" features!
support other features? Hell, NO!
7. Web APIs - MobileTech conference 2015 - @casarock
And this happened...
8. Web APIs - MobileTech conference 2015 - @casarock
Standards? Which standards?
"We know what you want!"
W3C - ignored...
9. Web APIs - MobileTech conference 2015 - @casarock
And Web Developers?
Implemented pretty good browser detection
10. Web APIs - MobileTech conference 2015 - @casarock
And Browser vendors?
Browser Vendors wanted to be "supported"
... and this happened:
11. Web APIs - MobileTech conference 2015 - @casarock
Faking User Agents
Mosaic/0.9 // grandmother of all!
Mozilla/2.02 [fr] (WinNT; I) // Netscapes first!
Mozilla/4.0 (compatible; MSIE 4.0; Windows 98) // IE4!
Funny? There are more…
12. Web APIs - MobileTech conference 2015 - @casarock
Faking User Agents - part 2
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 // Firefox!
Mozilla/5.0 (compatible; Konqueror/Version; OS-or-CPU) KHTML/KHTMLVersion (like Gecko) // Konqueror
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/124 (KHTML, like Gecko) Safari/125.1 // Safari!
And chrome?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko)
Chrome/0.2.149.29 Safari/525.13
But Opera?
Opera/8.0 (Windows NT 5.1; U; en)
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 9.50
Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95
Safari/537.36 OPR/15.0.1147.153
13. Web APIs - MobileTech conference 2015 - @casarock
Faking User Agents - the End
And Spartan?
Mozilla/5.0 (Windows NT 6.4; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/36.0.1985.143 Safari/537.36 Edge/12.0
14. Web APIs - MobileTech conference 2015 - @casarock
At the end
Everything is a Mozilla...
15. Web APIs - MobileTech conference 2015 - @casarock
and Internet Explorer won the
first browser war
Development stopped for 5 years!
"Optimized for IE 6!"
Standards? IE was the standard!
16. Web APIs - MobileTech conference 2015 - @casarock
The second browser war...
The rise of the others
17. Web APIs - MobileTech conference 2015 - @casarock
The others
Other browser vendors raised
They keep standards in mind and develop
them together
18. Web APIs - MobileTech conference 2015 - @casarock
Standards, everywhere standards!
There is not only one "tool" for the internet
19. Web APIs - MobileTech conference 2015 - @casarock
New Feature: Implemented a
STANDARD!
20. Web APIs - MobileTech conference 2015 - @casarock
Competition?
Still exisits, but:
Performance!
Security!
Release cycles!
21. Web APIs - MobileTech conference 2015 - @casarock
Unique characteristic?
Add ons, technical features, developer tools etc..
Developers are being targeted.
22. Web APIs - MobileTech conference 2015 - @casarock
“Make the Internet a better place”
23. Web APIs - MobileTech conference 2015 - @casarock
The web Wins!
24. Web APIs - MobileTech conference 2015 - @casarock
The "mobile" Web
25. Web APIs - MobileTech conference 2015 - @casarock
The "real" mobile Web
26. Web APIs - MobileTech conference 2015 - @casarock
Everything changes...
Web developers want ...
... access to hardware features
... access Calendar, Addressbook
etc.
We got it!
But: Lessons learned from the past
27. Web APIs - MobileTech conference 2015 - @casarock
Standards!
28. Web APIs - MobileTech conference 2015 - @casarock
New technologies need new APIs
Vendors are working together
Service Workers (Google&Mozilla)
Web Components (Google&Mozilla)
WebGL etc.
29. Web APIs - MobileTech conference 2015 - @casarock
“The web is everywhere”
30. Web APIs - MobileTech conference 2015 - @casarock
“The web in your hands”
31. Web APIs - MobileTech conference 2015 - @casarock
Mobiles need new APIs
iPhone 2007: No SDK, just HTML5!
A smartphone without a browser? Unbelieveable!
Smartphones pushed HTML5
32. Web APIs - MobileTech conference 2015 - @casarock
HTML5 based OS
33. Web APIs - MobileTech conference 2015 - @casarock
HTML5 OS needs new APIs
Firefox OS is open source and with standards in mind
Mozilla introduced new APIs for mobile devices
Consistent use of APIs
34. Web APIs - MobileTech conference 2015 - @casarock
APIs submitted to W3C
Adopted by other mobile browsers ...
... and desktop browsers
more features, more fun!
35. Web APIs - MobileTech conference 2015 - @casarock
Web APIs
tell me more
36. Web APIs - MobileTech conference 2015 - @casarock
Definition
“WebAPI is a term used to refer to a suite of device compatibility and
access APIs that allow Web apps and content to access device
hardware (such as battery status or the device vibration hardware), as
well as access to data stored on the device (such as the calendar or
contacts list).
By adding these APIs, we hope to expand what the Web can do today
and only proprietary platforms were able to do in the past.”
37. Web APIs - MobileTech conference 2015 - @casarock
Disclaimer
Some WebAPIs are not (yet) a standard
I've marked them with a *
38. Web APIs - MobileTech conference 2015 - @casarock
Categories
Web APIs could be categorized
Communication
Datamanagement
Hardware access
"other"
39. Web APIs - MobileTech conference 2015 - @casarock
Communication
Network Information API
Bluetooth*, Mobile Connection API*,Network Stats API*, TCP Socket API*, Telephony*,
WebSMS*,
40. Web APIs - MobileTech conference 2015 - @casarock
Datamanagement
IndexedDB, Contacts API
FileHandle API*, Device Storage API*,
41. Web APIs - MobileTech conference 2015 - @casarock
Hardware access
Light events, Battery status, Geolocation, Pointer Lock,
Proximity, Device orientation, Screen orientation, Vibration API
WebFM API*, Camera API*, Power Management API*
42. Web APIs - MobileTech conference 2015 - @casarock
"Other"
Alarm API, Push API, Web Notifications, Service Worker
Apps API*, Web Activities*, WebPayment API*, Browser API*, Permissions API*, Time/
Clock API*
43. Web APIs - MobileTech conference 2015 - @casarock
Examples?
44. Web APIs - MobileTech conference 2015 - @casarock
Network Connection
var connection = navigator.connection ||
navigator.mozConnection ||
navigator.webkitConnection;
var type = connection.type;
function updateConnectionStatus() {
console.log("Connection type is change from " + type + " to " + connection.type);
type = connection.type;
}
connection.addEventListener('typechange', updateConnectionStatus);
Information about the system's connection
Firefox 12+, Firefox Mobile, Firefox OS, Android 2.2+
45. Web APIs - MobileTech conference 2015 - @casarock
BBC News
Network Information API
Warns when cellular connection detected
and video should be played
46. Web APIs - MobileTech conference 2015 - @casarock
Firefox Marketplace
Network Information API
Paying via carrier billing - Cellular detected
47. Web APIs - MobileTech conference 2015 - @casarock
Firefox Marketplace
Network Information API
When WIFI is detected
Confirmation code via SMS
48. Web APIs - MobileTech conference 2015 - @casarock
Notification
// At first, let's check if we have permission for notification
// If not, let's ask for it
if (Notification && Notification.permission !== "granted") {
Notification.requestPermission(function (status) {
if (Notification.permission !== status) {
Notification.permission = status;
}
});
}
if (Notification && Notification.permission === "granted") {
var n = new Notification("Hi!");
}
Desktop: Chrome 5+, Firefox 4+, Opera 25, Safari 6+
Mobile: Firefox Mobile 4+, Firefox OS
49. Web APIs - MobileTech conference 2015 - @casarock
Google KEEP
Notifications
50. Web APIs - MobileTech conference 2015 - @casarock
Light Events
window.ondevicelight = function(event) {
// Read out the lux value
console.log(event.value);
};
Get current ambient light intensity
Desktop: Firefox 22+
Mobile: Firefox Mobile
51. Web APIs - MobileTech conference 2015 - @casarock
Battery Status (old)
var battery = navigator.battery ||
navigator.mozBattery ||
navigator.webkitBattery,
info = {
charging: battery.charging,
chargingTime: parseInt(battery.chargingTime / 60, 10),
dischargingTime: parseInt(battery.dischargingTime / 60, 10),
level: Math.round(battery.level * 1 00)
};
function updateBatteryStatus() {
batterylevel.innerHTML = battery.level * 100 + " %";
batterystatus.innerHTML = battery.charging ? "" : "not";
}
battery.addEventListener("chargingchange", updateBatteryStatus);
battery.addEventListener("levelchange", updateBatteryStatus);
Information about the system's battery charge level and lets you be
notified by events that are sent when the battery level changes
Desktop: Firefox 10+
Mobile: Firefox Mobile 10+
52. Web APIs - MobileTech conference 2015 - @casarock
Battery Status (NEW)
function updateBatteryStatus(battery) {
// do stuff
}
navigator.getBattery().then(function(battery) {
// Update the battery status initially when the promise resolves ...
updateBatteryStatus(battery);
// .. and for any subsequent updates.
battery.onchargingchange = function () {
updateBatteryStatus(battery);
};
battery.onlevelchange = function () {
updateBatteryStatus(battery);
};
battery.ondischargingtimechange = function () {
updateBatteryStatus(battery);
};
});
Chrome at least
53. Web APIs - MobileTech conference 2015 - @casarock
Detecting device orientation
window.addEventListener("deviceorientation", handleOrientation, true);
function handleOrientation(event) {
var alpha = event.alpha; // Z-Axis
var beta = event.beta; // Y-Axis
var gamma = event.gamma; // X-Axis
// Do stuff with the new orientation data
}
Detection orientation and motion events
Desktop: Chrome 7+, 3.6+
Mobile: Android 3.0, Firefox Mobile 3.6+, Safari Mobile 4.2+
54. Web APIs - MobileTech conference 2015 - @casarock
Detecting device orientation
window.addEventListener("devicemotion", handleMotion, true);
function handleMotion(event) {
var x = event.accelerationIncludingGravity.x;
var y = event.accelerationIncludingGravity.y;
var z = event.accelerationIncludingGravity.z;
var r = event.rotationRate;
}
Information about the speed of changes for the device's position
and orientation.
Desktop: Chrome 7+, 3.6+
Mobile: Android 3.0, Firefox Mobile 3.6+, Safari Mobile 4.2+
55. Web APIs - MobileTech conference 2015 - @casarock
Vibration API
var pattern = [200, 100, 200, 200, 100],
goodVibration = navigator.vibrate(pattern);
Rumble in your pocket!
Mobile: Android, Firefox Mobile 11+
56. Web APIs - MobileTech conference 2015 - @casarock
Screen orientation
screen.addEventListener("orientationchange", function () {
console.log("The orientation of the screen is: " + screen.orientation);
});
Listening orientation change
Support is complex: This API is experimental and currently available on Firefox OS and
Firefox for Android with a moz prefix, and for Internet Explorer on Windows 8.1 and above
with a ms prefix.
screen.lockOrientation('landscape');
Preventing orientation change
57. Web APIs - MobileTech conference 2015 - @casarock
Page visibility
The Page Visibility API lets you know when a webpage is visible or
in focus
Desktop: Chrome, Firefox 30+, Safari 7+, Opera 24+, IE10+
Mobile: Chrome Android, Android 4.4+, Firefox Mobile, Firefox OS
if (document.hidden) {
// stop video etc.
}
document.addEventListener("visibilitychange", handleVisibilityChange, false);
function handleVisibilityChange() {
if (document.hidden) {
// stop something. e.g. stop a video, audio etc...
} else {
// do something else ;) play video, audio... you got it?
}
}
58. Web APIs - MobileTech conference 2015 - @casarock
Service Workers
navigator.serviceWorker.register('/myworker.js').then(function(reg) {
console.log('Registered', reg);
}, function(err) {
console.log('Error', err);
});
ServiceWorker is a background worker. It is complex. This is a
simplified explanation!
Desktop:
Mobile:
68. Web APIs - MobileTech conference 2015 - @casarock
Service Worker
69. Web APIs - MobileTech conference 2015 - @casarock
Conclusion
Standards are cool!
WebAPIs allow us to build cooler web apps
WebAPIs are not a "mobile"-thingy!
The "Web" becomes (more) "native"