public marks

PUBLIC MARKS from pvergain with tag javascript

July 2007

XMLHttpRequest HTTP Feature Tests

This is not a compliance or conformance test suite; an implementation can fail many of the tests here and still be HTTP conformant. Instead, the idea is to show what HTTP mechanisms different implementations support, and how they support them, since many aspects of these libraries are underdefined. Each group of tests explains what is being tested and what the implications of failure are. Although many of the tests are automated, some may require user interaction, via a "run test" button. Be sure to follow any instructions carefully.

March 2007

javascript, java, python

When I wrote Java, Groovy and (J)Ruby, Owen Densmore and Lawrence Oluyede suggested that I should include Jython as well. Here it is.... JavaScript and Jython for Java programmers. Note that while I am reasonably comfortable with Java and JavaScript, I don't know much about Jython. If you find anything wrong here, please let me know. I used Jython version 2.1. For JavaScript, I used Rhino 1.6R2 that is co-bundled with JDK 6. The jsr-223 script engine for Jython and many other languages are avaiable at http://scripting.dev.java.net

February 2007

Ajax and REST, Part 1

The more that server-side Web applications become immersive by following rich-application models and delivering personalized content, the more their architectures violate Representational State Transfer (REST), the Web's architectural style. These violations can decrease application scalability and increase system complexity. By achieving harmony with REST, Ajax architecture lets immersive Web applications eliminate these negative effects and enjoy REST's desirable properties. In just 15 years, the World Wide Web has grown from a researcher's experiment to one of the technological pillars of the modern world. Originally invented to let people easily publish and link to information, the Web has also grown into a viable platform for software applications. But as applications have become more immersive by using rich application models and generating personalized content, their architectures have increasingly violated Representational State Transfer (REST), the Web's architectural style. These violations tend to decrease application scalability and increase system complexity. The emerging Ajax Web client architectural style lets immersive Web applications achieve harmony with the REST architectural style. They can enjoy REST's desirable properties while eliminating the undesirable properties experienced when an application violates REST's principles. This article explains how and why Ajax and REST succeed together for immersive Web applications.

jQuery.info

by 16 others
Découvrir et utiliser jQuery, la librairie javascript du XXIIème siècle

January 2007

AHAH(Asynchronous HTML over HTTP)

AHAH or Asynchronous HTML over HTTP is a much simpler version of AJAX. Using AHAH approach in JavaScript you can display external XHTML pages inside your HTML page. The beauty of the script is that it is very simple - the underling code is just twenty lines! The difference between AJAX and AHAH is the return data fomat. AJAX will load an XML file - then the developer will have to make the code that will parse the XML, extract the data and then display the results. In AHAH the approach is much simpler - the data to be fetched is XHTML - the code just has to fetch it - as the browser is already equipped to handle HTML and will display the result with no further help from the developer. Use For example, lets say we need to create a page with tabs - each tab will put some content in the main area - but the full thing must be dynamic - linking to another page won't do. The code of the main page will be...

UED Message - Ajax Patterns

is great to get data from the server side to the client side. But when you need to send data to the server side the advantage of using JSON is lost. In such cases UED or URL Encoded Data is a better method. The basic concept behind this is that the most used data structures can be easily encoded into a URL. One can create variables, numerical arrays, associative arrays, multi-level arrays etc. using existing syntax. The best part is all the server side languages are capable of handling this format - so no parsing is needed. * Ajax Data Transfer Format - UED(Url Encoded Data) * UED Demo

Visual jQuery 1.0 (Automated)

The first issue of the Visual jQuery Magazine has been translated to French by Allergie, BoOz, cy_altern, Fil and Toggg. They've done a great job and we hope they will continue to volunteer their services in the future. We would love to have future issues of the magazine translated in to any and all other languages; we do the layout work, you simply provide the text. Any interested parties should email [email protected]. Enjoy! Please download the first issue of the Visual jQuery Magazine in French.

15 Days Of jQuery

by 7 others
What is jQuery? I consider it the Swiss Army knife of javascript - it's small, versatile, and has almost zero learning curve. Why should I care? If your project calls for AJAX or DOM scripting and you need it done quickly, with minimal fuss, and you believe in keeping things simple, then jQuery might be perfect for you. And what's "15 Days of jQuery" got for me? Fantastic tutorials and example code that takes you from zero to hero in no time flat. If you're not a black belt in advanced javascript code by the end of these tutorials then you get 110% of your money back.

dojo, the Javascript Toolkit: brought to you by the Dojo Foundation

by 67 others (via)
The Dojo Toolkit is only one of the projects that the Dojo Foundation hosts. In addition to the toolkit, OpenRecord and the Cometd project call the Dojo Foundation home. OpenRecord's pure-JavaScript semi-structured content store makes organizing data simpler and faster without the up-front overhead of knowing what you're going to add before you add it. Cometd is working to make implementing, deploying, and integrating Comet clients and servers into existing web infrastructures.

December 2006

Main Page - Ajax Patterns

by 45 others
AjaxPatterns.org began as a collection of design patterns, which formed the basis of the book, Ajax Design Patterns, and grew into a publicly editable wiki on anything and everything Ajax. All pages (except this homepage) are now editable, no registration required. Feel free to contribute!

pyjamas

by 3 others (via)
Many people, when first finding out about Google Web Toolkit, wonder "why can't I use Python instead of Java?". pyjamas is designed to make that possible. And we're drawing heavily from Google's work. It's in its early stages but I invite anyone who is interested to join the mailing list and check out what's in the Subversion repository. You'll see py-gwt referenced. That's just because that's what I was calling it before a better name came along. jorjun came up with pyjamas. We're still working on backworking an acronym for it that I like :-)

MochiRegExp - JavaScript Regular Expression (RegExp) Explorer

by 1 other
This demo does "live" Regular Expression matching to help you toy with JavaScript Regular Expressions. It takes advantage of MochiKit's MochiKit.DOM to manipulate the display and MochiKit.Async to facilitate the "half a second" live updating.

MochiKit - A lightweight Javascript library

MochiKit is a highly documented and well tested, suite of JavaScript libraries that will help you get shit done, fast. We took all the good ideas we could find from our Python, Objective-C, etc. experience and adapted it to the crazy world of JavaScript. Reliable MochiKit has HUNDREDS of tests. We build real applications with this thing. So even though development can move fast, we make sure to get tests written. This also makes platform compatibility issues much easier to detect and resolve than the "guess and check" style of quality assurance seen in some of the other libraries out there. It's not broken. Documented You're unlikely to find any JavaScript code with better documentation than MochiKit. We make a point to maintain 100% documentation coverage for all of MochiKit at all times. You don't have to fumble around reading our source code or leafing through examples to find out how something works. Evolutionary MochiKit can adapt to anything you throw at it. It makes no assumptions about how your code needs to act, and it has hooks (by way of the the adapter registries) that makes sure that you can define your own comparisons, programmer representations, iterators, or DOM node coercion for any object in any way you wish. We'll gladly serve you all the Kool-Aid you want, but we're not going to make you drink any.

November 2006

Real Web 2.0: Bookmarks? Tagging? Delicious!

(via)
developerWorks > Web development | Open source | XML > Real Web 2.0: Bookmarks? Tagging? Delicious!