background preloader


Facebook Twitter

Memory leaks with Ajax calls. Browser Memory Leak when using jQuery, AJAX, Google Visualization API and setTimeout() Using JQuery and AJAX in Mojolicious / No time to wait. I don't really know how to program in JavaScript and that's why I chose JQuery to do all the job with AJAX.

Using JQuery and AJAX in Mojolicious / No time to wait

Let's see how short and easy the solution in Mojolicious::Lite could be. To distinguish between normal requests and AJAX requests I check for X-Request-With header that contains XMLHttpRequest string (but remember that this header is set up by JQuery, if you use another JavaScript library read its documentation for setting headers). Google Visualization API―データを操作する - 愚鈍人. 本稿ではGoogle Visualization API の英文のドキュメント中にVisualizationと記述されている語をわかり易いようにチャートと呼ぶことにする。

Google Visualization API―データを操作する - 愚鈍人

例えばTable visualizationはテーブルチャートと記述する。 チャートだけでなくチャートの基となるデータの操作についてもGoogle Visualization APIは非常に高機能だ。 Google Visualization APIのチャートの基となるデータはDataTableに格納される。 DataTableはリレーショナルデータベースのテーブルと同様に2次元テーブルで表現される。 またチャートの基となるデータには他に、読み込み専用のDataViewがある。 DataTableとDataViewの関係は一般的なリレーショナルデータベースのTableとViewの関係と同じようなものと考えられる。 DataViewは、基となる書き換え可能なDataTableから特定の列や行,フィルタリングされたデータを抽出してつくられた読み込み専用のテーブルということになる。 DataTable DataTableを作成し、データを格納するには2つの方法がある。 DataTableオブジェクトを作成してデータを格納するには以下の例のようにする。 以下のようにオブジェクト作成時に格納するテータも同時に指定する事もできる。 DataTableクラスのコンストラクタの第一引数にテーブルの内容を示すJSONデータを,第2引数にワイヤープロトコルというデータフォーマットのバージョンを示す数値を指定する。 Web, Perl/CGI & jQuery/AJAX. Ajax. Description: Perform an asynchronous HTTP (Ajax) request.


The $.ajax() function underlies all Ajax requests sent by jQuery. It is often unnecessary to directly call this function, as several higher-level alternatives like $.get() and .load() are available and are easier to use. If less common options are required, though, $.ajax() can be used more flexibly.

At its simplest, the $.ajax() function can be called with no arguments: Note: Default settings can be set globally by using the $.ajaxSetup() function. This example, using no options, loads the contents of the current page, but does nothing with the result. The jqXHR Object The jQuery XMLHttpRequest (jqXHR) object returned by $.ajax() as of jQuery 1.5 is a superset of the browser's native XMLHttpRequest object.

As of jQuery 1.5.1, the jqXHR object also contains the overrideMimeType() method (it was available in jQuery 1.4.x, as well, but was temporarily removed in jQuery 1.5). Callback Function Queues Data Types. Create a new Fiddle - jsFiddle - Online Editor for the Web (JavaScript, MooTools, jQuery, Prototype, YUI, Glow and Dojo, HTML, CSS) Very simple login using Perl, jQuery, Ajax, JSON and MySQL. Introduction Since the beginning of the WWW, the developers try to equip their Web sites with new features and widgets to attract the users' attention and make the life much easier for them by applying the latest technologies.

Very simple login using Perl, jQuery, Ajax, JSON and MySQL

Nowadays, an average Web user, among other activities, shops, searches for information, registers to forums and communities, plays online games and communicates with the other users on the Internet. For most of these activities the user typically needs to register and then log in to the Web site. These basic features require special care; they need to be simple, fast and secure for the user. From the developer's perspective, thanks to the new techniques, the implementation of these features gets easier every day. 75+ Tools for Visualizing your Data, CSS, Flash, jQuery, PHP. Most people would agree that the old adage “A picture is worth a thousand words” is also true for web based solutions.

75+ Tools for Visualizing your Data, CSS, Flash, jQuery, PHP

Visualization. Data::Google::Visualization::DataTable - Easily create Google DataTable objects version 0.10 Easily create Google DataTable objects without worrying too much about typed data Google's excellent Visualization suite requires you to format your Javascript data very carefully.


It's entirely possible to do this by hand, especially with the help of the most excellent JSON::XS but it's a bit fiddly, largely because Perl doesn't natively support data types and Google's API accepts a super-set of JSON - see "JSON vs Javascript" below. This module is attempts to hide the gory details of preparing your data before sending it to a JSON serializer - more specifically, hiding some of the hoops that have to be jump through for making sure your data serializes to the right data types. More about the Google Visualization API. Every effort has been made to keep naming conventions as close as possible to those in the API itself. To use this module, a reasonable knowledge of Perl is assumed. Columns Rows Cells. Using Google WorldMap visualization component in your applications « The Storyteller. Its really hard to find a good flash based world map component to use in your web applications.

Using Google WorldMap visualization component in your applications « The Storyteller

They are either too complex to add or they cost quite a lot. And even sometime if you pay that, its tough to customize the chart as you want it to look like. But you know there is someone called “Uncle G” (i.e google) here who has almost all the components in his Pandora’s box. So lets see how can we use the geomap component from their Visualization Library. CartoonSmart: jQuery Basics. CartoonSmart: jQuery Basics English | 4 Hours | .MOV | 1280x720 | H264 | 10fps 452kbps | AAC 64kbps | 933MBGenre: eLearning Four Amazing Tutorials on the Basics of jQuery Course 1 CSS Selectors Importing Jquery and why document order is important Writing your first statement Make a simple fadeOut transition Timing those methods Making a click-able anchor Making open and close button Looking at all animation methods Editing CSS with Jquery Adding Classes using Jquery Remove Class method Learning all Toggle methods Course 2 Working with multiple elements inside of one function Statement chaining and the .delay method Link events together Change any attribute with Jquery Removing attributes Remove entire elements Creating variables and using the console.log method Creating an element and using appendTo method Create animations using animate method Timing and callback on animate method Chaining the animate method Using the load ajax method @FilesonicAngus77_Cartoon.Smart.

CartoonSmart: jQuery Basics

Apprendre Ajax / jQuery - Repost. Introduction to jQuery. Introduction to jQuery | 1.9 Gb In its short history, jQuery has revolutionized front-end web development, making it faster, easier, and more rewarding to write JavaScript – allowing easier selection and manipulation of HTML elements, and ensuring that scripts work across the ever increasing landscape of browsers and operating systems. jQuery is now the most popular JavaScript library on the web, powering over 27% of the 10,000 most popular sites.

Introduction to jQuery

This video walks the viewer through the essential concepts and syntaxes needed start writing simple-yet-powerful JavaScript using jQuery.