Saturday, November 10, 2007

Wednesday, September 12, 2007

Saturday, September 1, 2007

JavaScript Reference

Core JavaScript
  • Lexical Structure
  • Data Types and Values
  • Variables
  • Expressions and Operators
  • Statements
  • Objects and Arrays
  • Functions
  • Classes, Constructors, and Prototypes
  • Modules and Namespaces
  • Pattern Matching with Regular Expressions
  • Scripting Java
Client-Side JavaScript
  • JavaScript in Web Browsers
  • Scripting Browser Windows
  • Scripting Documents
  • Cascading Style Sheets and Dynamic HTML
  • Events and Event Handling
  • Forms and Form Elements
  • Cookies and Client-Side Persistence
  • Scripting HTTP
  • JavaScript and XML
  • Scripted Client-Side Graphics
  • Scripting Java Applets and Flash Movies
Core JavaScript Reference
  • arguments[]
  • Arguments
  • Array
  • Boolean
  • Date
  • decodeURI
  • encodeURI
  • Error
  • escape
  • eval
  • EvalError
  • Function
  • getClass
  • Global
  • Inifinity
  • isFinite
  • isNaN
  • java
  • JavaArray
  • JavaClass
  • JavaObject
  • JavaPackage
  • JSObject
  • Math
  • NaN
  • Number
  • Object
  • Packages
  • parseFloat
  • parseInt
  • RangeError
  • ReferenceError
  • RegExp
  • String
  • SyntaxError
  • TypeError
  • undefined
  • unescape
  • URIError
Client-Side JavaScript Reference
  • Anchor
  • Applet
  • Attr
  • Button
  • Canvas
  • CanvasGradient
  • CanvasPattern
  • CanvasRenderingContext2D
  • CDATASection
  • CharacterData
  • Checkbox
  • Comment
  • CSS2Properties
  • CSSRule
  • CSSStyleSheet
  • Document
  • Document.addEventListener
  • Document.attachEvent
  • Document.createAttribute
  • Document.createAttributeNS
  • Document.createCSDATASection
  • Document.createComment
  • Document.createDocumentFragment
  • Document.createElement
  • Document.createElementNS
  • Document.createEvent
  • Document.createExpression
  • Document.createProcessingInstruction
  • Document.createRange
  • Document.createTextNode
  • Document.detachEvent
  • Document.dispatchEvent
  • Document.evaluate
  • Document.getElementById
  • Document.getElementsByTagName
  • Document.getElementsByTageNameNS
  • Document.importNode
  • Document.loadXML
  • Document.removeEventListener
  • DocumentFragment
  • DocumentType
  • DOMException
  • DOMImplementation
  • DOMParser
  • Element
  • Element.addEventListener
  • Element.attachEvent
  • Element.detachEvent
  • Element.dispatchEvent
  • Element.getAttribute
  • Element.getAttributeNode
  • Element.getAttributeNodeNS
  • Element.getAttributeNS
  • Element.getElementsByTagName
  • Element.getElementsByTagNameNS
  • Element.hasAttribute
  • Element.hasAttributeNS
  • Element.removeAttribute
  • Element.removeAttributeNodes
  • Element.removeAttributeNS
  • Element.removeEventListener
  • Element.setAttribute
  • Element.setAttributeNode
  • Element.setAttributeNodeNS
  • Element.setAttributeNS
  • Event
  • ExternalInterface
  • FileUpload
  • FlashPlayer
  • Form
  • Hidden
  • History
  • HTMLCollection
  • HTMLDocument
  • HTMLElement
  • IFrame
  • Image
  • Input
  • JavaArray
  • JSObject
  • KeyEvent
  • Link
  • Location
  • MimeType
  • MouseEvent
  • Navigator
  • Node
  • NodeList
  • Option
  • Packages
  • Password
  • Plugin
  • ProcessingInstruction
  • Radio
  • Range
  • Reset
  • Screen
  • Synopsis
  • Select
  • Style
  • Submit
  • Table
  • TableCell
  • TableRow
  • TableSection
  • Text
  • Textarea
  • TextField
  • UIEvent
  • Window
  • XMLHttpRequest
  • XMLHttpRequest.abort
  • XMLHttpRequest.getAllResponseHeaders
  • XMLHttpRequest.getResponseHeader
  • XMLHttpRequest.onreadystatechange
  • XMLHttpRequest.open
  • XMLHttpRequest.send
  • XMLHttpRequest.setRequestHeader
  • XMLSerializer
  • XPathExpression
  • XPathResult
  • XSLTProcessor


Wednesday, August 15, 2007

Ajax Design Patterns

FOUNDATIONAL TECHNOLOGY PATTERNS
Ajax App
Display Manipulation
Display Morphing
Page Rearrangement
Web Remoting
Web Service
XMLHttpRequest Call
IFrame Call
HTTP Streaming
On-Demand JavaScript
Dynamic Behavior
User Action
Scheduling
Extended Technologies
Richer Plugin

PROGRAMMING PATTERNS
Web Services
RESTful Service
RPC Service
Ajax Stub
HTML Message
Plain-Text Message
XML Message
JSON Message
Browser-Server Dialogue
Call Tracking
Periodic Refresh
Submission Throttling
Explicit Sumbmission
Distributed Events
Cross-Domain Proxy
DOM Population
XML Data Island
Browser-Side XSLT
Browser-Side Templating
Code Generation and Reuse
Server-Side Code Generation
Cross-Browser Component
Performance Optimization
Browser-Side Cache
Predictive Fetch
Guesstimate
Multi-Stage Download
Fat Client

FUNCTIONALITY AND USABILITY PATTERNS
Widgets
Slider
Progress Indicator
Drilldown
Data Grid
Rich Text Editor
Suggestion
Live Search
Live Command-Line
Live Form
Page Architecture
Drag-And-Drop
Sprite
Popup
Malleable Content
Microlink
Portlet
Status Area
Update Control
Virtual Workspace
Visual Effects
One-Second Spotlight
One-Second Mutation
One-Second Motion
Highlight
Functionality
Lazy Registration
Direct Login
Host-Proof Hosting
Timeout
Heartbeat
Unique URLs

DEVELOPMENT PATTERNS
Diagnosis
Logging
Debugging
DOM Inspection
Traffic Sniffing
Testing
Simulation Service
Browser-Side Test
Service Test
System Test

JavaScript Multipurpose Frameworks
JavaScript Remoting Frameworks
JavaScript Effects Frameworks
JavaScript Flash Frameworks
JavaScript XML Frameworks
JavaScript Specialized Frameworks

Wednesday, May 30, 2007

JavaScript Regular Expression

Lawrence's Regular Expressions

A collection of useful regular expressions illustrating their use in script as a solution to common tasks.

Example:
Parsing path and filename from the location object.
Without extension
function xtractFile_sans(data){
var m = data.match(/(.*)[\/\\]([^\/\\]+)\.\w+$/);
return {path: m[1], file: m[2]}
}

Full Name
function xtractFile(data){
var m = data.match(/(.*)[\/\\]([^\/\\]+\.\w+)$/);
return {path: m[1], file: m[2]}
}