github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

osteele / lzosutils

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 3
    • 2
  • Source
  • Commits
  • Network (2)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

OpenLaszlo utilities: flash bridge, ajax, etc. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

increased the timeout; add tracing, options parameter 
osteele (author)
Thu May 01 03:14:21 -0700 2008
commit  c8f0e8dbfbdc123e37dcfcbc0243340b82d40972
tree    1f76f9e1aaf6cf490de35033162ca90a91857d23
parent  8b5a293938564d5c5660c328d60158ac5d313d47
lzosutils /
name age
history
message
file .gitignore Loading commit data...
file CHANGES
file MIT-LICENSE
file README
file TODO
directory lib/
directory test/
README
= LzOsUtils

This package contains a grab-bag of utilities that I've used for
writing OpenLaszlo applications.  It defines extensions in these
areas:


== Browser JavaScript Compatibility

The +console+ object is compatible with the Firebug +console+ API.  It
can also proxy console methods to the browser console, for debugging
applets that have been compiled without the inline OpenLaszlo
debugger.

The browser compatibility file removes warnings on reference to an
undefined property of an object.  I put this warning into OpenLaszlo
in 2002; it was arguably a mistake then, and is definitely a mistake
now.  Without it, you can write code more easily, and you can write
libraris that run in both the browser and OpenLaszlo.

Most of the other files in this package require the console and
browser compatibility functions in order to run without warnings.


== Ajax

The +ajax+ file defines +ajax+, +get+, and +post+ functions with
jQuery-compatible arguments.  When used with FlashBridge (below), it
has an option for proxying AJAX calls to the browser, in order to use
the browser's domain when the Flash application is served from a
separate CDN.


== FlashBridge

FlashBridge is a mechanism for browser<->flash communication.  This
particular implementation has these properties:

* One component (the Flash application, or the browser JavaScript) can
  *call any* function, or any method on any object, in the other
  *component -- you don't have to register objects explicitly.

* This facility also queues calls from the page into the flash applet
  until the applet has loaded, solving some tricky race conditions.

* You can define a proxy object in one component that delegates calls
  through the bridge to an object in the other component.

* The Flash application can call with a callback function to receive
  return values as a continuation.


== Other Extensions

* collection methods, compatible with ECMAScript 1.7 and Prototype
* xml syntax for filter effects
* a grab bag of functional programming methods
* a grab bag of view, string, and "multithreading" utilities

== License

LzTestKit is copyright (c) 2008-2008 Oliver Steele.  It is open-source
software, and may be redistributed under the terms of the MIT
license. The text of this licence is included in the LzTestKit
distribution.
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server