$dt->blog();

Messenger Plus Script update checking tutorial

Category: code | Posted By: dt | Posted On: 11/11/2007
Gravatar
This is a tutorial on Script version checking and updating
tutorial by -dt- (Matt Labrum)


So you've made a script, and you want to make sure your users have the most current version of your script.
Well you've come to the right place. This tutorial is about exactly that!

Now I'm going to assume a few things
1) you're not a complete noob
2) you're not segosa
3) you have a script (If you don't just create a new one)
4) the script must have a ScriptInfo.xml file
5) somewhere online where you can upload files

Now that thats out of the way, we can get to the fun part :d

A few reference documents for later:
XMLHttpRequest - http://msdn2.microsoft.com/en-us/library/ms535874.aspx
XMLDomDocument - http://msdn2.microsoft.com/en-us/library/ms757878.aspx


Now open up your ScriptInfo.xml file it should look something like the one shown below


Code:
<ScriptInfo xmlns="urn:msgplus:scripts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="urn:msgplus:scripts PlusScripts.xsd">
	<Information>
		<Name>updateExample</Name>
		<Description>This script is an example script to test update checking</Description>
		<AboutUrl>http://blog.thedt.net</AboutUrl>
		<Version>1.00</Version>
	</Information>
</ScriptInfo>


Click Read More to continue reading

microsoft + IE

Category: code | Posted By: dt | Posted On: 07/11/2007
Gravatar
The silence on IE8 scares me. At the moment its hell, pure hell trying to get javascript to work between IE and firefox/opera/other standard based browsers ;o. Microsoft has pretty much said screw you javascript developers by refusing to add any new javascript features to IE.
AFAIK the only real javascript language change they made was making the XMLHttpRequest a global object instead of having to use

Code:
new ActiveXObject('Microsoft.XMLHTTP');

you can now do

Code:
new XMLHttpRequest();


*claps for the IE team*

Microsoft had a chance to implement DOM3 events in IE7 but of course they are silly and don't want to conform to the standards :(.

Someone really needs to slap Microsoft, the IE team and the jscript team in the face and tell them to stop holding back new javascript features and help improve the web, instead of killing it :(

now back to IE8 what the hell are they doing with it, have they given up?, are they stalling? or are they creating the most awesome browser ever? (aka dump IE and start over ;o)

Microsoft _needs_ dump IE and do something extreme like buying opera.

Or dump IE and package firefox with windows, though I really can't see that happening :(

now you might be saying "but what about those crazy intranet applications which only work on IE", my answer to that is those crazy people should just keep using an old version of IE.

</rant>
© 2007 dt | Theme based on nautica | Contact me | dt said jasux 4 times in 0.212 seconds