JavaScript Like Ruby

Written on April 6th, 2010, by Cristian


JS.Class is a library designed to facilitate object-oriented development in JavaScript. It implements Ruby’s core object, module and class system and some of its metaprogramming facilities, giving you a powerful base to build well-structured OO programs.

    var Event = new JS.Class({
        include: JS.Observable,

        fire: function(data) {
            this.notifyObservers('fire', data);
        }
    });

JS.Class is designed to make JavaScript behave like Ruby in terms of its OOP structures. It provides Classes and modules with Ruby-compatible inheritance, Subclassing and mixins, Singleton methods and eigenclasses, Method binding, Ports of various standard Ruby modules, including Enumerable, Hash, Set, Observable, Comparable, Forwardable.

The library looks pretty interesting, the documentation is good and there are a lot of cool modules. I have to try it.

What do you think about it? Write down your thoughts and experience with it.

Read more

Retro Animated Flip-Down Clock

Written on October 30th, 2009, by Cristian

0

Learn how to Create a Retro Animated Flip-Down Clock is a tutorial published by Nettus. They are showing how they create an animated flip down clock inspired by the 70’s. Using the Mootools framework, we are trying to replicate the flip action of the pads and make it as lifelike as possible. With it’s retro styling, it could be a really neat thing to add to your website.

The technique that they suggest is interesting and I see this tutorial applied on a maintenance page, something like “Back online in …. “. Pretty cool

jQuery Weekly Calendar Plugin

Written on August 5th, 2009, by Cristian

calendar

This is the best, simple and flexible jQuery Week Calendar. It is built on top of jquery and jquery ui and is inspired by other online weekly calendars such as Google Calendar.

Calendar events can be supplied as an array, url or function returning json. They can be dragged, dropped and resized. Lots of callbacks for customizing the way events are rendered plus callbacks for drag, drop, resize, mouseover, click etc. The jquery-week-calendar plugin is also highly configurable, enabling variable timeslots, readonly calendars, display of partial days, custom date formatting, direct manipulation of individual events for create, update, delete of events and much more.

This is one of the best jQuery plugins. If you need week calendar in your application I suggest to give it a try.

jQuery Tools – UI Library for the Web

Written on June 5th, 2009, by Cristian

indexjQuery Tools is a collection of the most important user-interface components for today’s websites. This single JavaScript file weighs only 5.8 Kb. This library contains some useful JavaScript tools like tabs, tooltips, accordions, overlays, smooth navigation, great visual effects and all those “web 2.0″ goodies that you have seen on your favourite websites.

And above all, the library is constantly maintained and updated. Expect to see new releases coming out on a regular basis. This library is dual licensed under MIT and GPL 2+ licenses

Have a look at demos >>

Automatic Tabs Content Rotator with jQuery

Written on May 26th, 2009, by Cristian

content-rotatorRaymond Selda has published a tutorial about how to Create a Tabbed Content Rotator using jQuery and the interface library called jQuery UI. This effect can be used effectively on your homepage to present customers with your products and services. Very nice user experience!