Massive AJAX Country/Area Drop-down List

I recently came across a useful post by a fellow South African blogger. Mike had compiled an XML list of almost all countries and their associated areas. Often I have had to produce an county/area option on registration forms, but have struggled to find a complete list. I took mikes XML list, converted it to CSV and imported to it to a MySQL database. I then found a fairly simple AJAX expanding selection script and connected it to the data in the database. The result is a database driven AJAX selection tool which re-generates the list of areas based on the country the user selects.

selecter.jpg

>> Demo

>> Download Source

This script was adapted from the following sources:

The AJAX form script:
http://www.skillfusion.com/articles/ajaxDropdown.php
XML country/area list:
http://www.darwinshome.za.net/blog/2008/02/08/country-selection-list-with-sate-and-province/

I deleted my database and I’m an idiot

Yesterday was quite a day. You may notice a few articles are missing. After a long days work, large amounts of caffeine and flu medication pumping through my veins, I some how managed to delete the NoboxMedia database - don’t laugh, grunt or roll your eyes. This is the first time I have deleted an important database, it was not fun. The moment I realized what I had done, my mind slowly initiated the ‘developer shut down phase’. I simply smiled, left my desk, made a cup of tea and imagined myself feeding the ducks at Emmarentia dam (Learnt this trick in varsity). (more…)

I’m building a Social Network and so are you – Part 1

Yup, that’s right - I’m building a Social Network and so are you ! Stop laughing! Stop rolling your eyes! I have experience in building successful social networks, as I have been involved in the building of two. They have done pretty well. I now think it is time to invest my energy in producing a site that is not only a prime example of a balanced AJAX and DHTML implementation, but is also an example of how simple ideas are often the best.
(more…)

New Digg Button

Over the last few weeks I’ve noticed allot of sites have old tired Digg buttons. I’ve also noticed allot of sites don’t have Digg buttons at all - crazy! We find to be an extremely valuable resource at getting our articles out there and as such thought I would offer this typical web2.0 styled Digg button. Feel free to copy and use.

Dont forget to Digg this!!!
(more…)

AJAX frameworks - For newbies

First of all, if AJAX is new to you, an Ajax framework is a library of scripts that help you to develop web applications faster and with greater ease. Frameworks help with the processing of requests sent to the server or JavaScript. A framework helps programmers in two levels: on the client side, it offers JavaScript functions to send requests to the server. On the server side, it processes the requests, searches for the data, and transmits them to the browser…

So to rephrase, AJAX Frameworks make the life of a developer simpler by doing allot of the nity gritty. In the spirit of sharing I’ve listed a couple of cool AJAX Frameworks that have made my life easier. These are pretty straight forward to understand and use - Happy coding!!!

(more…)

66 Web2.0 sites on the wall…

I’ve put together a list of 66 Web2.0 sites. As far as I can tell, they pretty much the best the web have to offer. If you have any suggestions on new, up and coming sites, please drop it in the comments below.

(more…)

The Secret Source, build your own YouTUBE

A how to on Installing FFMPEG on Ubuntu
So you would like to set up a site that allows users to upload videos of any format, get the server to convert the video to a Macromedia Flash format and then play it through a cool customized flash video player (Much like TouTube)? Well then this is the tutorial for you.
(more…)

Top 100 AJAX form scripts for 2007

The web is changing and so is the way we posting data. If you take a look at Google, Facebook, and almost every new start up, simply posting form data is a thing of the past. You can now validate without posting, upload multiple files, change the way form elements work and much, much more. We gathered 100 of the web’s top AJAX/form related scripts. Use them to enhance your forms and impress your clients (Clients like fancy, pretty things).
(more…)

Simple image rotate and save script

It’s one of those illusive scripts that sound complicated and difficult, but it’s not. In fact, it’s actually straight forward to rotate an image via a web based interface. We put together a simple script which rotates the image to the left or the right and saves over the original image . It uses GD Libraries and runs on Linux, Apache and PHP. The only thing you have to watch out for, is that the image permissions have been set to 777. Otherwise, it’s very straight forward.

(more…)

Lightboxes for a brighter tomorrow.

lightbox1.jpgA few months ago I came across my first lightbox. It was the modal message box on Dhtmlgoodies. Since then I’ve seen the emergence of Facebook, which is crazy about lightboxes and I’ve seen Google using them more and more.

(more…)