Archive for JavaScripting

HTML5 Canvas -tag API explained

Great presentation of Canvas -tag and how to draw it in JavaScript.

Leave a Comment

jQuery IntelliSense support in VS

I was hoping that it would happen but I never believed that Microsoft would involved themselves in OpenSource library. But luckily I was wrong. ScottGu writes:

I’m excited today to announce that Microsoft will be shipping jQuery with Visual Studio going forward.  We will distribute the jQuery JavaScript library as-is, and will not be forking or changing the source from the main jQuery branch.  The files will continue to use and ship under the existing jQuery MIT license.

It seems that Microsoft is really starting to turn their ship towards Open Source, it is great to see that they did choose best technology for developers.

Leave a Comment

Processing visualization library in JavaScript

John Resig (founder of jQuery) has released his JavaScript port of the Processing visualization library today using Canvas. This is an excellent addition to the world of JavaScript graphics programming, it works best on Firefox 3.0.

I am going to keep close eye on this project.

Comments (2)

Atlas will be Microsoft AJAX Library

This is pretty obvious but I am going to make post anyway since I need to start to fork yet another JavaScript library. Atlas Javascript Library will be renamed to Microsoft AJAX Library and server-side stuff ASP.NET 2.0 AJAX Extensions.
From Ajaxian

–clip–

Scott Guthrie has announced the “Atlas” 1.0 Naming and Roadmap, which includes the news that Atlas 1.0 will ship around the end of this year, that it will become “fully supported” by Microsoft.

–clip–

Leave a Comment

Aptana Javascript editor

A robust, JavaScript-focused IDE for building dynamic web applications. Built top of the eclipse.  Worth of checking out.  http://www.aptana.com/

Leave a Comment

jQuery 1.0 Released

jQuery 1.0 Released. Version 1.0 of the lightweight JavaScript effects / DOM / Ajax library has been released.

Here are some relevant links to get you started:

Leave a Comment

Spam blocking with JavaScript and CSS

I got inspired by kari patila’s post where he uses CSS class to hide spam text using CSS and I wrote something my own by using JavaScript and content to write email address.

.email:after {
content: “@jpkeisala.com”;
}

<a class=”email” xhref=”http://www.jpkeisala.com/v6/#” mce_href=”http://www.jpkeisala.com/v6/#” onclick=”window.location = ‘mailto:’+this.innerHTML+’@jpkeisala.com’”>jp</a>

a bit ugly but i think it works.

Leave a Comment

When JavaScript is cool…

This is really cool especially for me old dhtml dude/today XSLT dude (and seems like AJAX dude tomorrow).

$(“ul#menu>li[ul] a.active”).toggle(function(){}

So, what is going on above? I am writing CSS selectors combined with XPath to target specific elements. Library that makes this all possible is called jQuery

XPath is a part of a part of it’s jQuery expression language together with CSS.
jQuery is really worth of checking out.

Comments (2)

Yahoo Mail Worm

Now that the Rich Internet Applications are getting more and more popular, just like any other environment we are getting problems from the bad guys.  Now that the door is opened publicly there will be lots of crackers crawling through AJAX codes and finding holes to insert their own little exploits, this of course means that more security problems like the Yamanner worm are along the way.

What makes it a problem in AJAX world is that source-code is relatively easy to get and for writing an exploit you don’t have to be a clever guy, it’s pretty easy. Also for AJAX developers it’s very hard to filter out possible exploits and write safe JavaScript.

So how to solve security problems that JavaScript brings us?

Btw: Here is a source of XHR object that made all this possible.

Leave a Comment

Creating Bar Graphs with CSS

Polls or graphs are usually images generated from desktop software or web scripts perhaps sometimes flash+xml, and when it comes to web it is too much resource consuming to generate image on the fly.
Since we don’t have CANVAS or SVG yet on wide use there is a CSS trick.
The idea of using CSS to generate Bar Graphs could be very interesting in this case, and Apples to Oranges have a pretty interesting article describing in details how to create Bar Graphs with CSS.

Leave a Comment