Javascript 1.8
I haven’t really been following the progress of this, mainly because other browsers haven’t caught up with Firefox yet, but it’s interesting to see what will be in 1.8.
John Resig goes over the 3 main features…
I haven’t really been following the progress of this, mainly because other browsers haven’t caught up with Firefox yet, but it’s interesting to see what will be in 1.8.
John Resig goes over the 3 main features…
Check this out…
Wish I could do stuff like that.
While reading a few blogs this morning, I came across Kevin Hoyt’s blog, and his entry about file uploading using Adobe Apollo and Javascript. He has put together a nice example of how you can use Javascript with Apollo to handle file uploads. Check it out, comes complete with source as well…
http://blog.kevinhoyt.org/2007/05/21/file-upload-with-apollo-and-javascript/
It’s nice to see more applications being done using Javascript with Apollo. At the moment it seems to be dominated by Flex.
But yeah, if you are interested in Apollo, take a look at the source, it’s not overly complicated really, and Kevin walks you through it in his entry.
Remember about a week ago I blogged about my new job, and that I was on a trial?
I am pleased to say that the trial is over, and they are keeping me on as a full time web developer. Can’t believe it really, 2 weeks ago I had no job, and now I have a job that I love doing. Best of all, it’s a regular income (not like freelance work) which pays really well.
I just want to say a BIG thanks to James (aka webworldx).
Thanks James, I owe you one ![]()
HTTPDJS (HTTP Dynamic Javascript) is something I cooked up a while back when some of the available scripts out there had disappeared, or just were too buggy.
What does it do?
The problem with the XMLHttpRequest object, is that you cannot perform cross domain requests, something called the “same domain policy” comes into effect. This applies to other things such as iframes. I needed a way to perform requests from a remotely hosted forum (ProBoards in this case) that worked near enough like the XHR object. Before, I used to set a no content header in the PHP script, but there was no way to send data back without putting more work in, so I thought it was time for a script of my own.
So here it is, can’t remember when I created this. Might have been sometime last year. The zip file comes with an examples folder so you can see how it works (3 examples). The main things you need to do is include the HTTPDJS.js file, and the base64.js file (put above HTTPDJS.js). Next, you will need to edit the URL to the api.php file, this can be found in the HTTPDJS.js file.
GET and POST is supported.
Sending your own parameters is supported too.
Sending large amounts of data will be split up into parts and rebuild on the server.
Using it (example)
request.isReady = function(){
alert(request.responseText);
}
request.open("POST", “http://mydomain.com/post_message.php");
request.send(params);
The source
Any questions, post below.
A new release of WordPress is out if you don’t already know.
“On behalf of the entire WordPress team, I’m proud and excited to announce the immediate availability of version 2.2 “Getz” for download. This version includes a number of new features, most notably Widgets integration, and over two hundred bug fixes. It’s named in honor of tenor saxophonist Stan Getz.”
Something I have been working on that I thought I would show you…
http://pixeldepth.net/Javascript Projects/Sortables/Sortables.html
May release the source when I get round to it, including the PHP for it.
I’ve never used subversion before, though I sort knew about it, what it is for etc. Today at work I got into a tiny bit of it. Once you understand how to use the terminal (like DOS on windows basically), just a matter of learning the commands for subversion, which I don’t really know just yet.
Does anyone have any excellent books or online eBooks / PDF’s about subversion for beginners that they may have used themself?
At work I am using subversion from Tigris…
I have a date class that I wrote which I have tidied up and thought I would put it up for download.
The class is very simple to use, and all the parameters are explained in the file, just look at the “make” function, there are comments above it explaining the parameters.
I have included examples in the bottom of the file so you can test it for yourself. Basically the date class will generate dates (depending on the parameters) such as these…
Edit - Fixed some bugs (5th July 2007)
Remember I posted about our entry (United Kingdom) a couple of months ago?
http://blogs.pixeldepth.net/Peter/?p=173
Well, the Eurovision is being held right now. Points are being given out, so far UK have 0 points :P. Looks like it will be between Ukraine, Russia or Serbia.
Bring back Bucks Fizz.