Entries Tagged 'JavaScript' ↓
February 1st, 2007 — Ajax, Code, JavaScript, PHP, kiosk
kiosk is progressing very well. I have started the programming some of the more significant portions of the project, such as, uploading Image, and creating Categories. Unlike cpCommerce images will not be handled during the Category, Product, Manufacturer, etc. creation. Instead, it is its’ own section. Why? This way you can upload all of your images via FTP, click a nice little link stating “Find Uploaded Images” and it will insert them into your database for you. Then all you have to do is assign them to a Product, Category, Manufacturer, or Both, or All Three!
Images are entirely reusable. So if you want to show a Product’s Image as the Category Image too, YOU CAN! And you can do it without uploading another file! I like to think kiosk is taking what cpCommerce started and taking it to a whole new level learning from its’ mistakes, and hopefully you all agree.
Well that is enough on that for now, I will update everyone once again, when I have these sections entirely done. Then you can pull it from the kiosk subversion repository and give it a try yourself.
January 27th, 2007 — .NET, Ajax, Code, JavaScript, PHP, Projects, kiosk
I have settled on ASP.NET AJAX 1.0. Why you ask? Well for many reasons! One, it is written well. Lacks all the visual effects, but seriously, who needs those? It is fast, as it uses JSON, and that is a MAJOR surprise, as I figured M$ would be all over using XML. Secondly, if you pair it up with PHP for Microsoft AJAX it just flat out works nicely and costs little effort to write scripts for!
I wrote a few sample scripts using it in less than 5 minutes! 5 minutes!! I cannot stress that enough. I was amazed at the type of complexity I could write in just a few minutes of using it. Now, I am not a “big” M$ fan, but I am willing to give credit when due, and they deserve credit for this. I am truly pleased with the fact it works in Firefox, it works in IE, and it probably works in Opera (though I haven’t tested it). It has files for all languages, to handle currencies, dates, etc. Totally amazing.
I have so many plans on how to use this to perform more advance functionality in several of my applications and best of all, I didn’t have to write my own XmlHttpRequest methods.
January 25th, 2007 — Ajax, JavaScript, PHP, Personal
I am searching for a good ajax library to use in several of my applications. I have heard about Prototype, Mootools, Dojo, etc but which one does the trick and does it well? I tried Dojo a while back and never really got the hang of its layout. Connecting events to the controls felt awkward and not very clear. I have seem demos of Prototype and Mootools, and though they look cool, I have not had any experience with them.
At work, I write my own Ajax utilities. Primarily because we run .NET v1.1, and it is just FREAKIN’ easy to serialize a class straight into XML than write methods to output JSON. So, if you didn’t figure it out yet, I wrote prototypes in JavaScript to read the XML and make useable objects in JavaScript that could easily be handled. This process seems to be a bit slow, and though its effective, its costly to wait 5 seconds for the process to finish.
So why don’t I just write my own for my upcoming applications? Well the difference is, the upcoming applications are in PHP. PHP does not have nice ways of serializing directly into XML, so that is less of a reason for continuing my current approach. Plus, with it taking 5 seconds to run, it kinda seems like its slow. I visit many sites whose Ajax runs much quicker than that.
So let’s hear it! Tell me which Ajax framework works best for you, what are its’ strengths, its’ weaknesses? Leave nothing to the imagination.