A javascript library is a collection of functions and methods in Javascript for performing some of the most common needs like Dom traversing, event handling, adding Ajax interaction etc. There are many free Javascript libraries available like jQuery, Prototype, Scriptaculous, Dojo, MochiKit, Yahoo! UI Library (YUI). Prototype and Scriptaculous together forms the backbone of the Ruby-on-Rails project. YUI is a free set of utilities and controls supported by Yahoo!. Dojo Toolkit is a library having Java like syntax. All the libraries have their own highs and lows.
Recently jQuery has started getting a lot of attention. jQuery is a fast and extremely lightweight Javascript library. Recently jQuery v1.1.3 was released, which is said to be upto eight times faster than the previous version. But the biggest advantages is that the size of the library when compressed is just 20KB. Don’t you think that is great? Drupal 5.0 is using jQuery instead of the older drupal.js.
Another advantage is that jQuery can be used with other Javascript Libraries without conflict. It also has a clean and modular approach to plugins. Since writing plugins is very simple in jQuery, a number of plugins are available for most of the common uses.
With jQuery running an animation like sliding and fading are very simple. Interface is a jQuery plugin for animation. Interface is like scriptaculous library for prototype. It can be used for handling sorting, drag and drop effect and other complex effects.
Another important feature of jQuery is the ready function. For Dom scripting we have to wait till the complete Dom loads. Using the onload event handler for this purpose is a waste of time for pages having images as the event is triggered only when every element, including the images, have been loaded. jQuery provides a workaround, ie the ready function, which is called when the dom has loaded completely.
Sending and retrieving data via ajax has never been easier. jQuery provides us with a rich set of functions for managing it.
jQuery has a really simplified format for traversing the Dom. jQuery’s selector syntax is based heavily on CSS3 and XPath. Hence selecting and traversing through elements have never been simpler. Elements can be selected using id, classname, a combination of id and classname and XPath reference.
Another important feature of jQuery is method chaining. Every call of a method on a jQuery object returns the object itself. Hence to apply multiple methods to an element you can do it without typing the selector again. All you have to do is to chain the new method at the end of the previous method.
jQuery has made Javascript programming fun and enjoyable for me. Try it and feel its power.
Links
Recently I got an opportunity to use a MacBook. I was amazed by its speed and the cool graphics. Vista looked like a reproduction of Mac OS X Tiger to me. The sidebar of vista seems to be inspired by the Dashboard Widget system of Mac. The new integrated instant desktop search and powerful indexing integrated with Vista was available in Mac Jaguar since 2002.
As with windows, the first thing I did was stuff it with as many softwares as I can. I always love trying out different softwares. After 2 weeks of constant use, I found out that I cannot live without the following programs.
Though there are many other applications that I like, these are the five applications I found hard to live with. Some other programs worth mentioning are
Browsers - Firefox, Camino and Opera
Text Editors - BBEdit, Smultron
FTP Client - Transmit
BitTorrent Client - Transmission
Anti Virus - ClamXav
There are many services out there that provide free sms sending options. But the problem with most of the services are that they are limited to a particular region or a handfull of carriers. Today I am going to introduce you to a service that has no limitation. You can send as many messages as you want. The service is from Callwave. They provide a number of free sms sending widgets which you can add to your Google homepage (iGoogle), Yahoo Widgets, Mac Dashboard or Vista sidebar. Once the widget is added, you have to register for a free Callwave account. Which can be done from the widget itself. You will need a valid mobile number capable of accepting SMS for registering, because you will be sent an activation number to the provided phone number. You can use the same account with all the above widgets. Further, you can access an archive of all your sent messages at your Account Page.
They also provide free Visual Voicemail service. If you fail to answer a received call, the call automatically gets forwarded to Callwave. Callwave records the call and shows it in your widget, from where you can access it. The messages can also be accessed from any mobile phone too. Unfortunately, the service is currently limited to U.S. Hopefully they will expand it to other countries too.
If you have an email address (which most of us have), you would have received hundreds of emails saying how to become a millionaire or a billionaire. Unfortunately, making money online is not that easy. No one in this world is crazy enough to give you money for doing nothing. Or as the popular adage says, “There Ain’t No Such Thing As A Free Lunch”.
It is true that you can’t make money by doing nothing, but if you are willing to spend some effort then you can surely start making good money from the internet. But you should know to do the right thing at the right time. I am going to introduce you to some easy money making opportunities in the internet.
Forum posting can provide you multiple sources of income. Inorder for a forum to succeed, there should be a large number of users. But it is a universal truth that people tend to join only active forum. Hence to lure new users into joining, many forum admins start giving out incentives just for posting. These include
AGLOCO stands for A GLObal COmmunity.
AGLOCO’s story is simple:
Do you realize how valuable you are? Advertisers, search providers and online retailers are paying billions to reach you while you surf. How much of that money are you making? NONE! AGLOCO thinks you deserve a piece of the action.AGLOCO collects money from those companies on behalf of its members. (For example, Google currently pays AOL 10 cents for every Google search by an AOL user. And Google still has enough profit to pay $1.6 billion dollars for YouTube, an 18-month old site full of content that YouTube’s users did not get paid for!
AGLOCO will work to get its Members their share of this and more.
AGLOCO is building a new form of online community that they call an Economic Network. They are not only paying Members their fair share, but they’re building a community that will generate the kind of fortune that YouTube made. But instead of that wealth making only a few people rich, the entire community will get its share.
What’s the catch?
No catch - no spyware, no pop-ups and no spam - membership and software are free and AGLOCO is 100% member owned. Privacy is a core value and AGLOCO never sells or rents member information.
What is it that you have to do?
Nothing. Download the viewbar available from your Agloco account page and browse the web normally as you do. Ads will be shown on the viewbar and you get money depending on the number of hours you browse the web with the viewbar running.
This is another way to start making money from the internet. There are many popular free blogging sites which allow you to start your own blog. All you need is an email address. How does blogging earn you revenue? There are again several ways.
Here I have shared some of the methods. I will try to tell you about more such methods when I get time. And please keep in mind that you won’t be able to make money by sitting idle. Always think about new ideas and how to make them practical.