Calendar Date Select: A Lightweight, Prototype-based Date/Time Picker for Rails Developers

Post by Peter Cooper

Permanent Link  |   book mark Calendar Date Select: A Lightweight, Prototype-based Date/Time Picker for Rails Developers in del.icio.usClick here to add on del.icio.us

Calendardateselect

Calendar Date Select is a new(ish) "date and time picker", developed by Tim Harper, designed primarily for developers to use in Rails applications. It uses the standard Prototype JavaScript library, and is easily installed as a Rails plugin:

script/plugin install http://calendardateselect.googlecode.com/svn/tags/calendar_date_select

Take a look at the collection of demos of the picker to see its full range.

7 Responses to “Calendar Date Select: A Lightweight, Prototype-based Date/Time Picker for Rails Developers”

  1. #1
    Matthijs Langenberg Says:

    Looks useful to me, why is it actually ment to be used with Rails? It’s just javascrip, right?

  2. #2
    Mark Thomas Says:

    Kudos! It’s about freakin’ time someone created a Rails plugin, seeing as how there are so many standalone ones available. There’s one that requires rails engines, but I’ve been trying to avoid that….

  3. #3
    Brian Lee Says:

    I’m currently using it for my site - works pretty well so far

  4. #4
    Tim Harper Says:

    Matthijs,

    There’s a lot of people who use CalendarDateSelect just for the JavaScript component alone, and are having success with it.

    You can checkout the latest version of the JavaScript / css here:

    http://calendardateselect.googlecode.com/svn/tags/calendar_date_select/public/

  5. #5
    Hendy Irawan Says:

    Very cool :-)

  6. #6
    Andy Martin Says:

    Chris Petersen at the Assay Depot posted ActiveCalendar a while back that does a very similar thing. I haven’t had a chance to dig under the hood with your plugin but it is great to have some more options! Thanks!

    fyi - Active Calendar is at http://developer.assaydepot.com/?p=5

  7. #7
    Tim Harper Says:

    ActiveCalendar is a great rails plugin. It’s the underlying JavaScript code which is the fundamental difference between CalendarDateSelect and ActiveCalendar. The Dynarch Calendar JavaScript (ActiveCalendar) code has quite a few more features than CalendarDateSelect’s prototype-based date picker. However, Dynarch also comes with it’s own proprietary framework and is almost 5 times the size of CalendarDateSelect’s CSS+JS code!

    If you are already using prototype, and you really only need a flexible Calendar Date Picker with the options of picking times, and running lightweight is important to you, Calendar Date Select is likely a perfect fit.

    However, if you value features like semantics, being able to drag the calendar, etc. and size/”page loading” speed is not important to you, Dynarch’s calendar (ActiveCalendar) is a fantastic solution.

    The project’s home page has a link to ActiveCalendar (along with many other date pickers), with a comparison chart of features/size.

    Tim