What's JSAN?

|

Perl programmers will be familiar with CPAN, but what is JSAN? The JavaScript Archive Network (JSAN) is a comprehensive resource for Open Source JavaScript libraries and software.

The site is still in beta, but the idea is promising for JavaScript application developers. It is simply a place, or a Network, where developers can upload stable a distribution ( or library ) of JavaSsripts. A Distribution would be a set of scripts containing functions or classes that allow you to do really cool stuff with JavaScript without having to type any code. Well, you still have to implement the scripts, but you don't have to write them. The idea is to keep common libraries that everyone is using in one place. Authors can make changes or upgrades to the code in one place and developers using the scripts can come back to one place for updates.

Say you want to have some JavaScript popup links on your site, there are a thousand ways to do it. You're not really sure of the best way, and you don't want to leave anybody without JavaScript enabled left out. Well you browse or search the JSAN and come across HTML.Popup a library that does exactly what you want it to do. All you have to do is download the code to the local host, reference the JavaScript in your HTML and that's it.

Simply put it makes life easier for developers.

After the code is downloaded you would only need to reference it like so:


<script type="text/javascript" src="/js/jsan/use.js"></script>
<script type="text/javascript">
include("js/HTML/Popup.js");
include("js/some/other/script.js");
</script>

Then later in the HTML you would call the functions or methods from the included scripts.


--LINKS--


See schwern's use.perl.org journal for more info on how the idea hatched.


See the JSAN About Page for more info.


--UPDATE--

After actually taking some time to poke around the site I came across a library called CSS.Change. Had I had found this site yesterday I could have saved myself hours of coding. I worked on some CSS + JavaScript for at least 2 hours to come up with a cool little switch JavaScript routine for my redesign. I ended up using code based off of something from ALA. As it turns out these scripts share some similarities. This little example hopefully proves the need for the JSAN.

About this Entry

This page contains a single entry by Will published on September 13, 2005 12:15 PM.

Apple goes crazy was the previous entry in this blog.

Katrina Cleanup in Slidell is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01
Support this site by opening up a hosting account with site5.com
Powered By Site5.com