AJAX-Tools Tutorials
AJAX-ToolsLink Data Using SendMeHome
Google Web Toolkit or GWT is one of the most powerful frameworks for an Ajax based application.
Everyone knows one, if not the biggest, adaptors of Ajax is Google. Most of their online services today are based on this powerful programming technique.
These applications are not built directly from JavaScript but they instead go through another framework. This is done probably to show the power of the framework.
If this framework could handle online applications of Google, surely it will have the ability to handle other smaller applications.
Because of the reliability and partly the popularity of Google, GWT is one of the most popular frameworks today.
Keeping up with their reputation, reliability and more importantly, innovation developers of GWT released a new command called SendMeHome.
Basically, this code will help developers link one data to another. This is basically calling the functions from another website to be part of the application.
Think of it as embedding a video to your website but instead of a code with the loading time is based on the host, the client side will have a hand on how fast the content will load.
There is actually a social networking behavior in this type of code. SendMeHome will require developers to attach the code to any function or program online.
If they wish to make it available to other developers, they can just publish the SendMeHome code so that other developers could call on the function.
Instead of highly complicated functions such as GET or even XHR, a single code or number attached to SendMeHome will automatically send the function or any related data to another user.
Of course, this presupposes that you and the developer that requests the code is using GWT.
Hopefully this will be ported to other frameworks or even would become another function in JavaScript so that everyone could implement the function faster.
But there are challenges to this type of code. As already indicated, it will only work (for now) with GWT to GWT online applications.
You can see the working demo of the function on an actual website with the same name.
All you need to do is to enter a word and the website will load items from other websites that have been tagged with this SendMeHome.
Another challenge to SendMeHome functionality is the never ending security problems of an Ajax based application.
XSS and JavaScript hijacking could be the possible form of attacks as injecting functions and other scripts will be a lot easier with SendMeHome.
You may not know it but you could be calling something that could take over your application. Users could also be in trouble with SendMeHome as they try to create an account.
The function could be used to snoop into sensitive information and use it without the acknowledgment of the owner.
SendMeHome of GWT is actually a unique idea on how to make things simple. They just have to make sure that these functions are safe so that users will be confident in dealing with the function.
Sponsored Links
