WARNING: Your browser, IE6, released in 2001 and superseded by IE7 in 2006, is out of date. I advise that you either upgrade to IE7 or switch to a more standards-compliant browser.

Updates

I’m currently working on a rapid development framework, which combines the MVC pattern, a Data Object, a DB Wrapper, AJAX helpers, and many other things implemented as helpers, rather than as the typical framework approach, hindering development more than speeding things up. I like to have more control over my apps than CakePHP offers, so I’ve taken it upon myself to write my own alternative. It’s certainly not as refined, but that’ll just take time. Also, documentation will actually be beneficial for people unlike CakePHP.

I’m in my new apartment, all set up except for a few things. I’m going to be buying some wood and building a desk for my living room, and I’ve ordered some LEDs and with the help of my friend Mike we’re gonna set up my living room with some low-power bright LEDs. I’m thinking of putting them up behind some wax paper, to sort of diffuse the light and soften it. Next up is to find somebody who can paint, especially on a large scale, because I’d like to be able to have a sweet mural/painting on my wall.

My friend Josh and I have decided to use Adobe AIR to develop our own todo list with built in timer to keep track of hours spent on projects at work.

I’ve also decided I’m going to build my own desk, and I’ve already got the designs. It’s going to be 30 inches deep, and about 4 feet wide. The back half of the desk will have an elevated platform for 4 monitors to sit on.

Lastly, I’ve begun twittering regularly, so check me out and follow me if you like: http://twitter.com/dmsuperman

Alright, I’m off for now but I’ll be coming back soon with more updates, and eventually the framework will be posted for public use.

DateTime Picker v1.2

Attached is the version 1.2 zip of my datetime picker.

New features include:

  • A start date and end date, for specific dates to start and stop linking.
  • Specific days of the weeks to be unlinked (overrides anything specified in the to be linked array)
  • Specific dates to be unlinked (overrides anything specified in the to be linked array

Also, a few bugs have been fixed.

You can use either the full or compressed versions, both are included in the zip.

Download it here

JavaScript Date/Time Picker

So, I work at People To My Site, as a web developer, specifically using PHP (and dabbling in JavaScript).

We needed a way to choose dates and times, and frankly the choices out there either have too much fluff, or aren’t customizable, or the license isn’t compatible with commercial works. This meant that I had to write one from scratch. I set out, not really sure what I was doing, and just winging it. The result was completely functional, and not half bad if I say so myself.

This didn’t help the community, and I really wanted to give another choice to you developers for this solution until it’s implemented in HTML.

I came home the other day, and decided that since I was bored I would just write another one, this time off company time so it would be my own. I started out kind of slow (I had House of 1000 Corpses on my other monitor, very distracting). Once it was over, however, I really got into it. I hammered out a half-decent framework, stopping to ask for help only once from ##javascript (freenode). What I had was a Version 1.0 release of the code, and with a bit of work it would work well with anybody’s web form. I decided that wasn’t good enough, and reworked it a little bit. What I’ve got now is a Version 1.1 release, which relies 100% (except for the position of the popup) on the external CSS file, and allows a lot more in the way of customizing.

I present to you:

CakePicker 1.1 (I’m terrible at names, so shoot me)

Example

You can use it by including the zipped javascript and css stylesheet, and calling the following function for your onload event:

function init(){
var cal = new dateTimePicker();
cal.linked_days = new Array(0, 1, 2, 4);
cal.linked_dates = new Array(”2008-04-05″, “2008-04-06″);
cal.init();
}

linked_days is the days of the week that will be linked, 0 for Sunday through 6 for Saturday

linked_dates is an array of dates that will be linked, in format YYYY-MM-DD

init() will go through all the input fields that are designated date/time fields and setup the event listeners.

For every input field you want to have the date/time picker attached to it, use the attribute rel=”date”, rel=”time”, or rel=”datetime”

The license simply states: Use it for anything you want, modify it, distribute it, whatever, just keep my header in the JS file.

Enjoy :D

PS: I plan to implement specific dates and days to not be linked, as well as formats to return the times and dates, in the next version. Expect that here soon, I just ran out of time during class today :P

Twitter