Google Developing Master API — Web Intents 86
GeneralSecretary writes "Google is developing an API to allow web apps to easily share information with various services. Quoting: 'Android OS addresses this problem with Intents, a facility for late run-time binding between components in the same or different applications. In the Intents system, the client application requests a generic action, e.g. share, and specifies the data to pass to the selected service application. The user is given a list of applications which have registered that they can handle the requested intent. The user-selected application is created in a new context and passed the data sent from the client, the format of which is predefined for each specific intent type. We are hard at work designing an analogous system for the web: Web Intents. This web platform API will provide the same benefits of Android Intents, but better suited for web application. ... As with Android, Web Intents documents an initial set of intent actions (edit, view, share, etc.) that likely cover the majority of use cases on the web today; however, as the web grows and sites provide more functionality, new intent actions will be added by services that document these intents, some more popular than others. To foster development and use of intents, we plan to create a site to browse existing intents and add new intents.'"
Re: (Score:3, Informative)
Yea, in the same way that following a specific ABI in your C magically tracks your users...
Re: (Score:3)
The C ABI is not even remotely analogous to what Google is doing here.
Re: (Score:3)
Yes it is.
Re: (Score:3)
How so?
Re: (Score:3)
And if Google's C ABI required submitting all function arguments to Google...
Google works very hard to make submitting things to them very easy, to the point where you dont even realize any submission is happening, this just greases the rails a little more.
Re: (Score:3)
I don't see anything here that permits Google to track you any more than they already do.
Re: (Score:3)
Exactly. My "Intents" are that Google pisses the fuck off.
Your intents are making you rather intense
Re: (Score:3, Funny)
He seems to be incensed, as evidenced by his intense intents
Let me know if I'm wrong... (Score:4, Interesting)
Google seems to be proposing a bit of javascript that anyone can add to their website,
which will pull my data from any other enabled website I've stored information on?
Why does this just seem like another entry point for abuse?
Re: (Score:2)
Google seems to be proposing a bit of javascript that anyone can add to their website,
which will pull my data from any other enabled website I've stored information on?
Why does this just seem like another entry point for abuse?
Anything can be abused, give enough time and effort. It's just a matter of figuring if it is still worth giving how much useful it is still is. By the looks of the example it reminds me a lot of a ESB where You have services that do stuff registered in a common place, Google way seems like the REST counterpart of it.
Re:Let me know if I'm wrong... (Score:4, Interesting)
Re: (Score:3)
No, Google is proposing a set of web technologies (markup + JavaScript API) that will allow websites to advertise that they support certain actions, allow you to choose to install those websites as options to handle those actions, and then allow other websites to specify that they want one of those actions performed, at which point you will b
Re: (Score:2)
Sounds like ARexx brought to the Web (an expanded Rexx implementation on the Amiga from the '80s) but standardized.
The interaction between different applications was wonderful (Want to edit an image embedded in a document in your word processor? Update numbers in a spreadsheet or calculator? Send those updated numbers to a 3D model?) but required too much technical knowledge on the part of the user, due to lack of standard calls, or limited the end user functionality to developers who had worked together,
Re: (Score:3)
Its really not all that similar: ARexx was essentially a scripting language integrated into the Amiga platform and to which many Amiga apps provided an interface allowing automation.
Web Intents isn't a new language that sits external to web apps and allows you to automate them.
Discovery is done through one markup tag which advertises that service can handle a particular "intent" (an action), an
Re: (Score:2)
Re: (Score:2)
No, it has very little in common with ActiveX; the closest analogy that's been posted on the thread so far is UDDI, but its not very much like that, either.
Re: (Score:2)
Re:API aka tie in (Score:4, Insightful)
The same is very true with JavaScript, and especially with platforms like NodeJS and MongoDB gaining in popularity (yeah, I'm a fan). Not understanding that string concatenation is far slower in most cases than array joins can be a huge difference (not as much in V8, as it does a better job in compilation, but still).
Re: (Score:2)
which will hide all the nasty implementation details of various platforms from you and make it simple to develop.
Yes, make it simple to develop shitty, inefficient apps because the "programmers" who bawww over actually having to learn how things work write absolutely abysmal code.
Re: (Score:2)
So wanting efficient programs and competent programmers writing them makes me elitist? Did I travel to the bizarro world?
Re: (Score:2)
you will be just as stuffed as you were when you had all those lines of code which relied on Microsoft apps.
From TFA:
Mozilla is also actively exploring this problem space. In fact weâ(TM)re working closely with Mozilla engineers to unify our two proposals into one simple, useful API. Visit the examples page to try out the feature in any current browser. To explore using the API in your site, check out out the JavaScript shim, which provides an implementation of the API for browsers that have not implemented this feature.
So, not only are they working with Mozilla to standardize the API but they are creating a javascript shim for other browsers to play along too. Thanks for the daily dose of FUD though!
Re: (Score:1)
Seriously. I am seeing so much of this lately...an attempt to put Google into the same box as Microsoft, Apple, and Oracle. The fact is that those companies represent a different era in business models and within the tech community. Google is as much a social reaction the state of affairs on the tech scene when they came into existence as they are a technological one. They saw the issues created by the companies before them and developed their approaches to those issues before they got big enough to apply t
The one API (Score:4, Funny)
Re: (Score:1)
haha! you can't see my data! oh wait, krap!!
Re: (Score:2)
So Google will be evil. :(
Re: (Score:2)
We need a truly open mobile platform with truly open applications written to act in the best interests of their users, not for the bottom line of their corporate controllers.
Unfortunately, that's impossible in the current climate. No business will do this because there's no money in it. No group of programmers can just decide to do it either because they have day jobs to worry about and won't want to spend all their leisure time working just to churn out something that won't be up to the level Android is. What we would need to accomplish this (among other more important goals) is an economy that doesn't rely on the profit motive the function.
Re: (Score:2)
Re: (Score:1)
Wait a minute... (Score:2)
Re: (Score:1)
I wonder if Mozilla is involved?
Mozilla is also actively exploring this problem space. In fact we’re working closely with Mozilla engineers to unify our two proposals into one simple, useful API.
Is that FOSS enough for you? because I would think that the Chrome team is part of the FOSS community, but you apparently do not.
Reinventing the Web Services Wheel? (Score:2)
I might be missing something, but how is it significantly different from the work on languages such as WSDL [wikipedia.org] used to describe Web Services? Is this just a JavaScript/REST version of the same?
Thanks,
-A
Re: (Score:3)
From the sound of it, it decouples the service call from the service end point and allows the user to select which end point they'd like to use. Rather than making a call to a specific service provider, the page simply registers that it'd like some intent to be completed and then dispatches it. The user then gets to pick from the list of sites/apps that have registered their ability to handle that type of intent.
Re: (Score:1)
If done right, it would indeed be a very useful thing. However I'm not sure if Google really wants an interface which allows you to select whether you want the service "show the map of New York" requested from the web site to be served by Google Maps or Open Streetview ...
In any case, the user should be given the option to use a local program instead of a web app. For example, for "edit the image" I might want to use a locally installed Photoshop or Gimp instead of some web app which almost certainly is les
Re: (Score:2)
Its strange then that they have proposed pretty much exactly that, and delivered the code to implement it in existing browsers.
You can't really do
Re: (Score:2)
Impossible! Everybody knows Google is eeeeeeeeeeeeeeevul.
Re: (Score:1)
Re: (Score:2)
Its similar to UDDI or WS-Discovery in that it provides a service discovery mechanism.
Its dissimilar to them in that it also includes a JavaScript API for calling a service.
Its even more dissimilar in its lack of complexity.
Compare:
Web Intents [webintents.org]
UDDI [uddi.org]
WS-Discovery [oasis-open.org]
Re: (Score:2)
Thank you. Now I get it. Hopefully someone with mod points can use them on your post. +5 Informative!
Re: (Score:3)
Re: (Score:2)
It specifies a JavaScript API and a basic end-user interaction model, which isn't part of the WS-* family of standards, and its about a billionth the weight of a web services standard because the actual markup doesn't encode very much at all.
I mean, look at http://webintents.org/ [webintents.org]
A complete definition of a service (a handler for an intent) is a single tag w
Can anyone explain that in English? (Score:2)
Re: (Score:2)
Uh, no. Google wants to make it possible for you to make your website's abilities available to other websites (and in return, make it possible for your website to use other website's abilities). On android, I can write a shopping app that uses the built in camera app to allow the user to take a picture of the barcode, a free photo editing app to crop the picture down to just the code, and then the default web browser to actually show them information on the product. (Obviously, there are barcode scanners
Re: (Score:1)
Re: (Score:3)
Something like this, your web based applications will in some way register in your browser an API, another web application can call an that API, allowing a local web application be able to pass and receive data from another local web applications, from local I mean web applications that are running on your browser, without the server from application A know about server of application B and the data is trasferred to both applications locally. This solve the problem two problems, currently web applications m
Re: (Score:2)
Thank you, both for knowing what the hell TFA is talking about, and breaking it down in a way that the rest of us can understand. Why don't the people who make APIs hire people like you, to sell dimwits like me, on why libraries like this are useful?
If you have Android, choose "Share" (Score:5, Informative)
Intents is one of the best and most powerful parts of the Android platform, and one that is often overlooked when comparing to iOS.
In pretty much any Android application under the sun, you can hit "Share" from a menu or button somewhere. When you do that, whatever data you have in that app posts a message to android saying "Hey, I want to share this (image/jpg or text/xml or application/octet-stream)... and any other application on the system that is registered to handle that intent's mime type will show up as something to share to.
This is what lets you share videos from anywhere on the phone not only to YouTube, but also to Picassa, DropBox, SMB, Email, or any other app that says they can handle videos or binary files.
It's a really powerful and flexable application cross-commnication system, that makes all kinds of otherwise disconnected third-party applications work together seemlessly for the user. For example, I can "Share" my PhotoStich images with my Dropbox, directly inside the application.... and none of the PhotoStitch or Dropbox developers had to talk to each other to make that happen.
Re: (Score:1)
Have you actually programmed with intents? They are pure crap. A nice idea with a piss poor implementation. Mainly, you have no guarantee how the intent performs, or if intents actually do what they say they do. On my HTC Legend I rarely find an intent mime type which is NOT answered by the HTC mail app. What the fuck?
Also, please explain why if intents are so nice and great why all applications which care about quality implement their own twitter/facebook integration through static libraries rather than in
Re: (Score:1)
Re: (Score:2)
At least the proposed Web Intents use both content types and actions (edit, share, view, etc.); seems to me mail apps would be fairly unrestricted in the content-types they could handle, but very restricted in the actions that they can handle for most content types.
Re: (Score:1)
UDDI - have a central service (your android) and a request for a resource (give me a map [here's a url for a map]), give me a function (a destination, an app) and invoke it.
Re: (Score:2)
Exactly, eliminating the tracking those services do with those like, +1, tweet buttons forcing you to embed external (to your domain) scripts or add awful iframes
Re: (Score:2)
Intents (Score:2)
Re: (Score:3)
Re: (Score:1)
Well intents on the web will require some work and thought outside Android's intents for sure. For one thing, intents on Android allow you to select one intended target but on the web you could easily intend to sent it to two targets (faceboox and twitter) for example and that social intent is probably the best use of the intents system they are developing.
Then you have malicious use which on the web could be much easier achieved though presumably if Google was running the show, such websites would be remo
Re: (Score:1)
Well, the most logical thing would be to have the browser handle it, and if there's a request type unknown to the browser, allow to search for it with a provider of your choice. That provider would be just a specialized search engine seeking for handlers instead of generic web pages, and it could be done by every search engine provider.
Of course it this matches what Google has in mind is another question.
Re: (Score:2)
A better way in my opinion would be for the application launching the intent to "suggest" an adequate service, so if you didn't have any appropriate handler the browser could ask if you wanted to use that.
Couldn't resist (Score:2)
I propose a 4 letter type and creator tag (Score:1)
Wrap around another wrapper (Score:2)
great.... this has potential of bloat written all over.
Re: (Score:2)
There is no "wrapper" involved.
A little suprised... (Score:2)
Re: (Score:2)
Re: (Score:2)
Master API? (Score:1)
A "Master API"? What device does that interface to, a universal controller?