Tuesday, January 23, 2007

MooTools

MooTools - JavaScript Framework

If you are looking for an Object Oriented javascript framework then MooTools is for you. It is similar to Prototype and Scriptaculous but I feel MooTools is extremely well documented, more flexible and customizable and easy to use. It is compatible with IE6+, Firefox, Opera, Safari, Camino browsers.

If you are new to MooTools, and need a guide to help you along the way, I recommend you to check out MooTools documentation. The documentation is extensive and it includes

Mootools is released with the Open Source MIT license, which permits you to use it and modify it in every scenario.

Overall MooTools makes your life a lot more easier and your coding style way cooler.

Make ur files immutable

Sometimes you delete important files and folders accidentally and are not able to recover them. For this Linux has a great capacity to secure your valuable information by making ur files immutable which even root user cant delete.

Linux ships with a tool called chattr which can be used for this purpose.

To make your “MyFolder” immutable use the following command,

# chattr +i MyFolder

After successfully completing the command, your folder will become immutable and even the root user will not be able to delete the folder. To change its mode so that you can remove it, use the below command,

# chattr -i MyFolder.

Stikkit

Stikkit - online web based simple note taker.

Stikkit makes organizing your daily details as simple as jotting down a note or firing off email. Stikkit's "little yellow notes that think" talk to the productivity applications you already use, as well as to friends, coworkers and family, giving you a universal remote for your life.

The interesting thing is it parses the content of the notes that you type. So if you jot any address it will be automatically added in your address book or if you type a date/time an event will be created and will be displayed under My Calendar tab. Also any bulleted item goes onto your todo list. Thats really coool.

Monday, January 8, 2007

DWR

DWR- Easy Ajax for Java.

The DWR (Direct Web Remoting) project is an open source solution released under the Apache license for the developers who wants to use AJAX and XMLHttpRequest in an easy way. It allows Javascript in a browser to interact with Java servlet that runs on the server. The servlet then processes requests that arrive from clients and sends back responses. The deployment of DWR is pretty simple. It comes with a single jar file and you need to add few lines in your web.xml. In the web page you need to add <script> tags to indicate which classes you wish to import and can call the Java Code directly from the JavaScript.

Imperva Application Defense Center has found a vulnerability in DWR. For more details check out here. So think twice before using DWR for your web application as Denial of Service Attacks and other security vulnerabilites are possible.