2013/3/29 Alexander Karelas <[email protected]>

>  So PushNotifications (Simple Push?) are only for apps & applications,
> NOT for websites. Websites wanting to utilize Simple Push are required to
> build one app for each mobile OS under the sun, and one application for
> every desktop OS under the sun.
>

Right now, the implementation is only for FirefoxOS and Applications, but
that does not mean that will be available for all platforms and websites.
But you are wrong, you don't have to create N apps for N operating systems,
because we will be running the web, and that's the only platform, and you
won't mind what is the underlying platform.


>
> As for Desktop Notifications (mozNotifications), you need to already be
> somehow connected to the website/webservice to see them. You either need to
> have an app
>

(not finish?)


>
> The two cannot be combined, if the website hasn't built dedicated apps &
> applications (which few can for every OS under the sun, and even fewer will
> manage to get their users to install them)! That's the tragedy!
>

Why not? You can use the SimplePush API to notify you app (and webpage in
the future) and then the Notification API to show a VISUAL message to the
user. They are complimentary.


>
> What could have been a perfect, open system for me to receive
> notifications from the 150 different websites I use, will end up being a
> system that only windows and b2g users can use, and for only aroud 10 of
> the sites I use, at most.
>

I don't understand why you are restricting PushNotifications for Windows or
B2G. This is the web, it runs everywhere!


>
> My original message in this thread was very to the point and correct: it
> said "There's something in SimplePush I don't like" and I meant "in
> comparison to the push system Mozilla was considering before SimplePush
> came around", and I was right.
>
>
>
>
>
> On 03/30/2013 01:34 AM, Guillermo López wrote:
>
>
> 2013/3/29 Alexander Karelas <[email protected]>
>
>> So if a simple website, such as Github.com, wants to display its
>> notifications on the user's desktop (like it already does on Mac OS X's
>> notification center), it'll need to create a desktop app for Linux, another
>> for Windows, and so on.
>>
>
> I think you are mixing PushNotifications and Desktop Notifications here
>
>  In your example, you will be using Desktop Notifications [1], and that
> will show a "bubble" (depends on the OS). PushNotification will be used to
> send new data (version number) from your server to a webapp (right now, as
> Doug says) and then the app will decide what to do: connect to its server
> to retrieve data, show a Desktop Notification saying: "Hey! There are new
> data, click here to retrieve it!", or even do nothing.
>
>  Cheers,
>
> [1] https://developer.mozilla.org/en-US/docs/DOM/navigator.mozNotification
>
>  --
> Guillermo López [willyaranda]
> http://mozilla-hispano.org
> http://twitter.com/mozilla_hispano
> http://facebook.com/mozillahispano
> Certified Mozillian: https://mozillians.org/willyaranda
>
>
>


-- 
Guillermo López [willyaranda]
http://mozilla-hispano.org
http://twitter.com/mozilla_hispano
http://facebook.com/mozillahispano
Certified Mozillian: https://mozillians.org/willyaranda
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to