|
|
Registered tutorials: 501 Registered Users: 24390
|
|
Rating: 2.6 out of 5 votes cast
Category: Facebook MockAjax
|
AJAX Wrapper for Facebook JavaScript
Abstract: Collin Chung wrote an extension to the FBJS Ajax. This article demonstrates bow to use those new feature.
Introducing fAjax, an AJAX wrapper for Facebook JavaScript. It features caching, simple throttling and queueing of requests (and responses).
About 2 weeks ago, I tried to implement browser-side caching for my Facebook app. I went through the Ajax Typeahead example, and abstracted the AJAX communications portion into a simple wrapper class. I isolated the caching and submission throttling functionalities from Tyson Malchow's code, and later, I added queues support, adapting from jQuery's Ajax Queue plugin. Like the plugin, the wrapper allows for both response synchronization and request queueing. The former fires all requests immediately but executes the responses in order, while the latter processes each request and response sequentially.
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
1180 |
| Unique Hits: |
1070 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
3.8 |
4.1 |
26.5 |
29.2 |
107 |
118 |
| Current |
4 |
4 |
16 |
19 |
101 |
109 |
| Previous |
3 |
4 |
32 |
34 |
168 |
187 |
| Jul 22 |
3 |
3 |
34 |
35 |
0 |
0 |
| Jul 21 |
6 |
8 |
25 |
27 |
151 |
173 |
| Jul 20 |
3 |
3 |
38 |
41 |
138 |
149 |
| Jul 19 |
3 |
3 |
0 |
0 |
160 |
174 |
| Jul 18 |
0 |
0 |
42 |
48 |
0 |
0 |
| Jul 17 |
6 |
6 |
43 |
45 |
137 |
154 |
| Jul 16 |
7 |
7 |
35 |
43 |
182 |
200 |
| Jul 15 |
3 |
3 |
0 |
0 |
33 |
34 |
| Highest |
12 |
13 |
49 |
53 |
182 |
200 |
|
|
|
Script Execution Time: 16.17133 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|