Allegro CL Certification Program

8/1/2005


Click here to start


Table of Contents

Allegro CL Certification Program

Some CLOS Review

Method types

Around methods

Methods allow any level of complexity

CLOS is dynamic 1

CLOS is dynamic 2

Changing class of an instance 2

Performance Considerations

Measuring Performance

Make-instance Performance

Instance Creation

Performance Comparison

Unoptimized Make-instance

Slot-value Performance

Slot-value Vs. Structure Accessors

Slot-value Vs. Structure Accessors

Performance Comparison

Standard-class Slot Accessors

Accessor Performance

Generic Function Call

Performance Comparison

Generic Function Call

Avoid Keyword and Optional Arguments

Performance Comparison

Method Dispatch

Multiple Dispatch

Performance - Use Defstruct Rather Than Defclass

Allegro CL Certification Program

Why Have Garbage Collection

What is garbage collection?

Lisp Spaces

Tenuring to Oldspace

Garbage in Oldspace

Oldspace and Newspace Grow

Information on Memory Spaces

Recommendation

Triggering a Scavenge

Triggering a Global GC

Basic Control

Advanced Control

Advanced Control

Immediate Tenuring

Weak-Vector

GC Errors

GC Errors

The GC and Foreign Code

The GC and Foreign Code

Allegro CL Certification Program

Unavoidable Error Conditions

Defensive Programming

Signaling Errors

Signaling Errors

Signaling Errors

Signaling Warnings

Error Conditions are Objects

Ignoring Errors

More on ignoring errors

Error Handling

Example User-Defined Condition

Condition class

“Serious” conditions

Handling Errors Sometimes

handler-bind vs. handler-case

restarts

With-simple-restart

Invoking Restarts

restart-case

*debugger-hook*

Allegro CL Certification Program

IDE - Interface Dev. Env.

CG - Common Graphics

Projects

Forms

When you have a new form

Typical window class definition

Windows Messages

Redisplay-Window

Some Event Handler Functions

User-Close

Common Dialog Boxes

invalidate

Intro To Standard Widgets

Standard Widgets, cont’d

Find-component

Component Events

Some notes on the grid-widget

Must make appropriate subclasses

Rows and columns

Displaying data

Responses to events

Higher level functions

Grid-widget examples

Some notes on AllegroServe

Dynamic vs. static pages

Allegro Webactions adds more dynamic capability

AllegroServe and Webactions documentation and tutorials

training@franz.com

Author: Franz Inc.

Email: info@franz.com

Home Page: http://franz.com