|
|
Registered tutorials: 501 Registered Users: 38030
|
|
Rating: 2.67 out of 3 votes cast
Category: JavaScript Framework
|
Prototype.js: Using bind
Abstract: This tutorial shows how utilize prototype.jss bind method
Im coming back up to speed on front end technology, and it's been more fun than I anticipated. One of the pleasant surprises has been getting back into JavaScript, which I haven't done much of since back in the days when a simple image rollover was an exercise in cross-browser madness. It's matured well, and browser support has come a long way over the years.
I've been digging into a number of documentation and tutorial pages learning about the DOM, prototype.js, Ajax calls, and a number of other things. Prototype.js in particular is a very powerful tool, and severely lacking in documentation. Tutorials are scattered around the web, and as I work my way through them I'll post my own regurgitations as I can.
Today I was trying to get my head around bind(), and why it keeps showing up. Part of the difficulty in wrapping my head around it is simply the lack of sigils in JavaScript, which to a Perl developer makes everything look like barewords. Once I got my internal visual parser to handle that (emacs font-lock helps too), I kept seeing examples where "this" was clearly being used in different ambiguous contexts. So here's my attempt to disambiguate "this".
|
Reviews:
Rate and Review This Site
No reviews yet
Statistic Information About this Resource:
| Total Hits: |
316 |
| Unique Hits: |
282 |
| |
Daily |
Weekly |
Monthly |
| |
Unique |
Total |
Unique |
Total |
Unique |
Total |
| Average |
0.2 |
0.2 |
2.2 |
2.3 |
14.3 |
15.9 |
| Current |
0 |
0 |
0 |
0 |
14 |
14 |
| Previous |
0 |
0 |
3 |
3 |
11 |
12 |
| Feb 23 |
0 |
0 |
7 |
7 |
24 |
25 |
| Feb 22 |
1 |
1 |
3 |
3 |
19 |
22 |
| Feb 21 |
0 |
0 |
0 |
0 |
24 |
28 |
| Feb 20 |
1 |
1 |
3 |
4 |
16 |
19 |
| Feb 19 |
0 |
0 |
0 |
0 |
6 |
6 |
| Feb 18 |
0 |
0 |
4 |
4 |
24 |
28 |
| Feb 17 |
0 |
0 |
0 |
0 |
5 |
5 |
| Feb 16 |
0 |
0 |
2 |
2 |
0 |
0 |
| Highest |
4 |
5 |
11 |
12 |
25 |
28 |
|
|
|
Script Execution Time: 0.15248 | SQL Queries: 10 | Members: 501
Ajax Tutorial Top List - Powered by Aardvark Topsites PHP 5.1.2
|