Connected TV, Experience Design
We are living in a smart economy. Every passing day we witness a surge in smart and connected products may it be Smart Home, Smart Phones, Smart Watches or Smart TVs. The rise in digital technologies presents an opportunity to develop cutting-edge products that are both engaging and intuitive. Companies wanting to ride the smart bandwagon...
You can allow Cross Domain Ajax calls to an application by just registering a new filter and then configure it to Allow-Origin : {your domain's} or you can use a wild card "*" to allow the calls from all domains. You can even Define the Custom Headers your application supports by defining them in a comma separated format ,...
jQuery DataTables is simple to use as a jQuery plug-in with a huge range of customizable options. As discussed in a previous blog, we already know how to draw a basic paginated html table using DataTables. Another way is to make an ajax call for every page. This causes multiple requests to be made on your server for every dataset. ...
We often need to upload a file without refreshing page or even before user submits the complete form. We have been using flash uploaders or i-frames to achieve that. However now it is possible to upload a file using only ajax and javascript. The first thing we need is a HTML form that will allow the user to select the file that they...
There are use cases where we render the template from our action and update some div in the page using ajax. The downside of this approach is when the user hits the url directly in browser address bar and the UI get totally messed up. So to fix this issue we need to apply the layout at runtime and its pretty easy in grails to do...
How to implement CRAWLME? Make you ajax app use the hashbang #! instead of just hash # in urls which allows Google to crawl and index those ajax supported urls. Insert the CRAWLME middleware before your server in the chain of Connect/Express middlewares. Crawlme takes care of rest. Example: var connect = require('connect'); ...
Recently, Programmers are more inclined towards creating web application with AJAX than doing it with static HTML pages which makes applications faster and richer. But by doing so, application loses its indexability which results in modern and user friendly yet less searchable apps. Lets take an example of a website: For browser/user...
While developing a mobile app using phonegap ( or otherwise also :) ), we can access remotely hosted mysql database using jquery ajax calls. But this interaction between jquery and mysql database cannot happen directly. We will need to specify a server side script (in PHP terminology) or a controller action (in Grails Terminology) that...
In one of my recent project, i want to use grails web-flow with ajax call. It's very easy to implement the web-flow with ajax call. Grails web-flow always track the actions on the basis of eventId & flow execution key. So, to implement ajax call in web-flow, we have to pass the event id & flow execution key. 1. Let us assume,...
Hi, Recently guys, i faced problem while expanding the JQGrid SubGrid onLoad of the page. Initially, i used the following code on gridComplete Event of JQGrid, Using the code given below, i am only able to expand grid but without data populated in subgrid. gridComplete: function() { var rowIds =...
Ajax (shorthand for Asynchronous JavaScript and XML) is used to retrieve data from the server asynchronously without interfering with the display and behavior of the existing page. Forgetting this asynchronous behavior will produce incorrect result if it depends on the response from Ajax call. Lets take an example(I am using JQuery to...
Through my blog, I will discuss about sending JSON objects with ajax request using JQuery. We have number of functions in jQuery to kick-off an ajax request. But for sending JSON objects along with the request, I chose jQuer.ajax(). It takes various parameters url, type, data, dataType, beforeSend etc. Its API can be found here. Lets...