Fun with Kiosk

I am having a blast writing some of the things in kiosk. I have put in a few things, I am fairly certain no one has done before. The use of AJAX is completely written throughout the application and it has allowed the application to be placed on a level like no other.

For example, imagine having the ability to upload 1000 images for all of your products using cpCommerce or a different cart variant. You would have to upload them individually. Now, take a look at how kiosk handles it.

Kiosk Image Area Let’s take a look at the Kiosk Image Area located in the Administration Area. This area has many options, but look at the intriguing “Find FTP’d Images”. Now that is what I am talking about!


Kiosk Image Folder Now, this is the folder where the images are stored in Kiosk. Look carefully, and you will see a folder named “FTP”. This is the folder where your 1000 images should be uploaded to.


Kiosk Image Folder With Images To show you that this works, I have placed over 600 images in the folder! I realize that isn’t exactly 1000, but it should be enough to prove it will work with 1000 as well. Now, that I have the images placed, I need to head back to the Administration Area to complete this process.


Kiosk Image Inserting the Images Back in the Images Administration Area, I clicked on the “Find FTP’d Images” and this is what you will be presented with! Now realize, only one process of this is able to run at a time. So if you have 4 people updating the store, when one person runs this command, it will prevent the other 3 from running it too. With that said, the process also checks to see where in the process it is. For example, it checks every few seconds to see if it is finished inserting the images, or if it is still running. Now, I know what you are thinking. What about the Time Out Limit in PHP? How do you get around that? Well that is my secret and you can’t figure it out unless you pull down the Source Code from the SVN Repository.


Kiosk Image Inserting the Images Complete Finally, when it is all said and done, you the user are prompted with this final screen. The process is complete.


Kiosk Image Listing Upon clicking on “Close” it will reload the page to show all of your images now listed within the application. That’s it! It doesn’t get any easier than that! Feel free to comment and leave your remarks, as this is going to make kiosk stand out from Joe Smoe and you got my word on that!


2 comments ↓

#1 ALfred on 09.29.07 at 6:21 pm

Cool project friend !

When do you finish it? : )

salut.

A.F.

#2 cpradio on 10.01.07 at 5:57 pm

Hi Alfred. Kiosk is still very much a work in progress, as I haven’t exactly had a lot of spare time to work on it. Parts are coming along, parts are being refactored to run faster.

I have also converted it from MSAjax’s framework to Prototype and Script.aculo.us for better support and more accurate release dates.

Hopefully, I can get some time this week to put in several of the key components to try and get it to beta.

Leave a Comment