Mark (poisonkitty) wrote,
Mark
poisonkitty

Fun with...

Google maps
http://www.pcworld.com/article/id,134186/article.html

Yslow plugin for the Firebug plugin extension for Firefox:
http://developer.yahoo.com/yslow/

AJAX and Symfony:
http://www.symfony-project.com/book/trunk/11-Ajax-Integration#Basic%20JavaScript%20Helpers

Anyone doing AJAX development really needs the Firebug extension for Firefox. The Prototype dynamic POSTS are logged in the Firebug console. It's impossible to debug without such a tool.

Symfony integrates with prototype well. There is an event model that allows you to run arbitrary js while interacting with the server at specific mode changes:

* before: Before request is initiated
* after: Immediately after request is initiated and before loading
* loading: When the remote response is being loaded by the browser
* loaded: When the browser has finished loading the remote response
* interactive: When the user can interact with the remote response, even though it has not finished loading
* success: When the XMLHttpRequest is completed, and the HTTP status code is in the 2XX range
* failure: When the XMLHttpRequest is completed, and the HTTP status code is not in the 2XX range
* 404: When the request returns a 404 status
* complete: When the XMLHttpRequest is complete (fires after success or failure, if they are present)
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments