DZone
Web Dev Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Web Dev Zone > A Web Standard for Notifications using JavaScript and HTML5

A Web Standard for Notifications using JavaScript and HTML5

Mitch Pronschinske user avatar by
Mitch Pronschinske
·
Oct. 18, 11 · Web Dev Zone · Interview
Like (0)
Save
Tweet
7.26K Views

Join the DZone community and get the full member experience.

Join For Free
These days, notifications are a feature that is baked into mobile platforms, and available through third party applications on the desktop (i.e. Growl, IE9 Pinned Sites).  If you're looking also for cross platform methods for implementing notifications, there's good news. There is currently a Web Notifications spec evolving in a W3C working group.  Chris Kalani explains in a blog post today:



In the near future, we should be able to take advantage of this kind of functionality in our web apps as well. The Web Notifications specification provides us with this ability. This defines what are known as simple notifications. With simple notifications it is possible to create a notification which contains an icon, title, and body test. This can then be displayed by the notification system that the browser/user-agent hooks into. The spec doesn’t define this, so the user-agent can either roll its own, or use an existing system made available by the operating system.  -Chris Kalani


Right now the spec is very new, and it's only been implemented in Chrome and Mobile Firefox (and those two implementations are NOT compatible).  However, if you're interested in getting a general idea for how these standard web notifications will work and would like to see a demo, you should read Chris' brief tutorial on the emerging topic.

Still, it'll probably be several years before the spec can compete with some deeply integrated platform notifications like you see on the mobile platforms or with IE site pinning.  I'd suggest you get acquainted with those first, since notifications are showing time and time again that they really help drive return engagement with an app.

Source: http://dstorey.tumblr.com/post/11597158114/webnotifications


HTML JavaScript

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Debugging Deadlocks and Race Conditions
  • Python: A Befitting Approach to Develop AI Web Apps
  • Creating Event-Based Architecture on Top of Existing API Ecosystem
  • Growth in Java Development for Web and Mobile Apps

Comments

Web Dev Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo