BlackBird – JavaScript logging tool
Posted on October 19th, 2008 at 8:48 am
If you ever created a script with JS, you probably know how painful logging messages with alert() function is. Not only you can see one message at the time but also you need to click OK button to go further. I think this is the reason why Scott Olson created BlackBird project. As you can see on the screenshoot, this project is not only useful but also looks great.
In this post i want to briefly review this utility and then show you how to use it, so if you are not interested in the review you can just skip ext part. Read the rest of this entry »
Detect connection speed with JavaScript
Posted on August 6th, 2008 at 6:59 am
Recently i created JavaScript application which tests user connection speed, in fact it measures connection speed between user and my server, but that aside, i decided to share with you mechanics and technology i used to create this tool, maybe some of you guys will find this helpful. Also i want to promote interesting small AJAX framework
. Read the rest of this entry »
PHP, JSON and JavaScript usage
Posted on July 17th, 2008 at 7:16 pm
Today i want to introduce you to jSON (JavaScript Object Notation), in short, it is a simple format designed to exchange data between different programming languages. I will show you how to create JavaScript object, convert it to JSON string, and send to PHP script, which will decode jSON string to readable format (for PHP). But that’s not all, PHP script will create it’s own data object encode it to jSON string and send it back. All communication between JavaScript and PHP will be done thru AJAX. Read the rest of this entry »
Your very first AJAX web application
Posted on July 14th, 2007 at 8:34 am
Let me explain why i selected such title. When writing AJAX scripts there is a part of code that always have to be included, it is pretty much like DOCTYPE in html, you do not have to understand it, just copy and paste, more over our code will be a function which takes no parameters and only returns one as XMLHttpRequest. If you do not know what this object is suggest you reading my introduction to AJAX web development. Read the rest of this entry »