You are previewing AJAX and Flash Development with OpenLaszlo: A Tutorial.
O'Reilly logo
AJAX and Flash Development with OpenLaszlo: A Tutorial

Book Description

Introducing developers to OpenLaszlo—a new technology for developing Flash that is based on XML and JavaScript—this guide provides developers with all the information about this free and open-source tool, including how to code within the OpenLaszlo development environment and the OpenLaszlo development suite as it applies to rapid development time. How and why OpenLaszlo is used and supported by industry leaders such as IBM and Yahoo! is also discussed.

Table of Contents

  1. Copyright
  2. Introduction
    1. AJAX
    2. Flash
    3. OpenLaszlo
    4. Java Installation
    5. Downloading and Installing OpenLaszlo
    6. Exploring OpenLaszlo
    7. OpenLaszlo Forum
    8. About This Book
    9. Downloading Program Examples
  3. Starting OpenLaszlo
    1. The OpenLaszlo Server
    2. Your First OpenLaszlo Application
    3. On-the-Fly Development
    4. An Overview of Object-Oriented Programming
    5. What Is an LZX Object?
    6. LZX Classes
    7. Creating an Object
    8. Using the attribute Tag
    9. Using the Debug Tool
    10. The LzNode Class
    11. Including Libraries
    12. Comments
    13. Summary
  4. Basic Components
    1. View
    2. Canvas
    3. The BaseComponent Class
    4. Window
    5. Alert
    6. Button
    7. ComboBox
    8. List
    9. RadioButton
    10. The resource Tag
    11. The frame Tag
    12. Summary
  5. Working with Text
    1. The LzText Class
    2. LzInputText
    3. LzFont
    4. Summary
  6. Layout Management
    1. Absolute Positioning
    2. The LzLayout Class
    3. SimpleLayout
    4. ResizeLayout
    5. SimpleBoundsLayout
    6. ReverseLayout
    7. StableBorderLayout
    8. ConstantLayout
    9. ConstantBoundsLayout
    10. WrappingLayout
    11. Summary
  7. Event Handling
    1. The handler Tag
    2. Events Defined in the LzNode and LzView Classes
    3. OpenLaszlo Event Programming
    4. Delegates
    5. A Simple Game
    6. Summary
  8. Constraints and States
    1. Introduction to Constraints
    2. Constraints with once
    3. Using the applyConstraint Method
    4. States
    5. Summary
  9. Animation
    1. The LzAnimatorGroup and LzAnimator Classes
    2. Using Timer
    3. Summary
  10. Working with Data
    1. Introduction to XPath
    2. The LzDataset Class
    3. The datapath Attribute
    4. Including XML documents
    5. Displaying Data in Grids
    6. Using Datapointer and Dataelement
    7. Refreshing Data
    8. Communicating with the Server
    9. Summary
  11. Working with Menus
    1. The Menubar Class
    2. The Menu Class
    3. The Menuitem Class
    4. Menuseparator
    5. A Simple Example
    6. Creating Submenus
    7. Creating Popup Menus
    8. Adding Event Handlers
    9. Summary
  12. Custom Drawing
    1. The LzDrawView Class
    2. Drawing Lines
    3. Drawing Rectangles
    4. Drawing Arcs
    5. Drawing Ovals
    6. Drawing Quadratic Curves
    7. Using Different Stroke Styles and Line Widths
    8. Using Fills
    9. Setting Opacity
    10. Using Gradients
    11. Summary
  13. Rich Components
    1. Slider
    2. Date Picker
    3. ScrollBar
    4. Tabs and Tabpane
    5. Tree
    6. Summary
  14. Extending Classes
    1. An Overview of Inheritance
    2. The class Tag
    3. Using the super Keyword
    4. Using the classroot property
    5. Overriding Event Handlers
    6. Working with Custom Attributes
    7. Summary
  15. Communicating with the browser
    1. Creating the Wrapper
    2. The LzBrowser Class
    3. Passing Values to A Flash Application
    4. Summary
  16. Debugging and Deployment
    1. Debugging
    2. Deployment
    3. Summary
  17. Google Maps Application
    1. Signing Up
    2. Google Maps API
    3. The Example
    4. Summary
  18. Introduction to XML
    1. Benefits of XML
    2. Well-Formed XML Documents
    3. Validating XML Documents
    4. Related XML Resources
  19. Introduction to JavaScript
    1. Your First Script
    2. Variables
    3. Arrays
    4. Operators
    5. Loops
    6. Branching in JavaScript
    7. Functions
    8. Objects
  20.  
    1. Java™ 5
    2. Struts Design and Programming
    3. How Tomcat Works