Archive

Archive for the ‘Javascript’ Category

Posada Condominiums

April 17th, 2010

Back to a more interactive example.  I’ve done some work for http://posadacondominiums.com.  The site was designed by somebody else.  What I did was take the site, strip out the content from each page, and create a template engine to display all the same content with a more consistent look and feel.  Also making changes, like copyright text changes, became ridiculously easy.  I also put together a nice way to view info on condos for rentals and sales.  As you can see it has a nice little tab-drop-down effect, and light-boxes for the photos.  Another thing that I did was make a webcam script for them.  What was difficult was later on making it not break.  The first issue was the camera couldn’t handle the traffic they would get during storms.  So I made the script cache a local copy of the photo every 10 seconds.  The next issue was that the caching script was too “cpu intensive” according to the hosting provider that shut the site down.  So the script was moved off the server on to my own where it updates the photo through ftp every 10 seconds.

Javascript, MySQL, PHP, Portfolio, Programming

Appraisal Program

April 17th, 2010

This is a PHP app I made to create rug appraisals from.  You fill in a bunch of fields and choose a rug photo and it makes up this image file for you to email/print out.  If I had to do it again I might make it just a fillable PDF form like I did with their consignment sheets(assuming I could figure out how to import the photo into the PDF).  At the very least I would most likely make it print out a PDF.  I am finding those to be my preference when it comes to printing from a browser-based program.

Ouput of Appraisal Program

Ouput of Appraisal Program

Javascript, PHP, Portfolio, Programming

Time-clock

April 17th, 2010

Here’s one of the first programs I made in PHP/MySQL.    This program was made to replace a physical stamp time-clock.  It had been in use for years and was constantly slowing down and creating payroll issues.  Then each week the time cards were collected and put into an excel sheet to calculate hours.  With the new program it was all automatically calculated in an easy-to-print format for input into your actual payroll software.

I was experimenting and decided to try making the whole program in one file.  What page was shown was based on some POST variables to decide what page you were on.  I eventually added another file for admin.

Shot of Time-clock Admin

Shot of Time-clock Admin

Javascript, MySQL, PHP, Portfolio, Programming

jQuery

April 6th, 2010

I thought I might take a moment and share with you my favorite Javascript Library.

I have had experience with a few different libraries.  Not all, obviously, but some.

Scriptaculous was my first, and I fell in love.  While it’s no longer my preference it will always have a place in my heart.  Alas, I found it to be less robust then I needed and had to break off the relationship.

Dojo I played with but found it to be a little too broken for different browsers.  While it may have gotten better, I feel that if the demos of a library are broken then it doesn’t really inspire confidence.

MooTools is supposed to be good and stable, but I had a hard time finding any useful effects, which are important to me in a Library.

- I would be interested in trying Ext JS sometime, as they have quite an impressive collection of widgets, but I have been resistant to put time into something with such an iffy license.

So this is the reasoning, along with positive experiences, that I have chosen jQuery as my library of choice.  Bear in mind I don’t often check the current state of any of these libraries and they may have changed for the better since I last looked into them.  Feel free to comment and let me know if you’ve had conflicting or supporting experiences with any of these.

~JM

Javascript, Programming