eXtropia: the open web technology company
Technology | Support | Tutorials | Development | About Us | Users | Contact Us
Development resources
 ::   WebWare 2.1 (Perl)
 ::   WebWare 2.0 (Java)
 ::   Cool hacks
cool hacks
WebCal Facility Manager  
sent in a really cool hack! Here's the email he sent us.


   Hi, my name is Ramesh Dharan, I'm a sophomore at Princeton and I'm
   interning at Lucent Technologies-Holmdel, in the Network Planning
   department. One of my tasks assigned was to create an online system to
   allow employees to reserve time in the five available conference rooms for
   the facility. I used WebCal 5.0 as my base, and made a lot of modification
   and customization to adapt to the task at hand. 

	One of the most useful features, I think, is the addition of a
   check for "double-booking". That is to say, in my modified version of the
   script, two events cannot be booked for the same time, if a second user
   tries to book an event for the same time as the first, he/she receives a
   message saying that the room has already been booked. I also incorporated
   some of the hacks already available on the extropia site, e.g. the
   previous/next month option.

	Finally, I created a second script, admin.pl, which can be
   executed independently of calendar.pl and which ties into the user
   database of the calendar. admin.pl lets a user change their password,
   name, e-mail, or listed phone number, and if you log in with an
   administrator account, it allows for creation and deletion of users.

	Other small changes included the addition of 1/2 hour time
   increments, the addition of phone number, room number, and "booked for"
   fields (mentioned above) and some cleanup. 

	The code still has a lot of bugs, I think, but I figured it might
   be useful. I can't send you in a working URL of the script in action,
   because I'm firewalled here, but I've included a zip of the source code.
   Thanks for the help getting started, and best of luck to your site and
   company. 

   Sincerely,

   Ramesh Dharan
   

Here is the zip file.