|
||||||||
Part 1 The basics - Part 1 of this book introduces enough of Laszlo to present a lightweight functional model of a real-world application, the Laszlo Market online store. It moves through a crash course in the fundamentals of Laszlo’s XML-based LZX language, focuses on its declarative tags, and continues with the core language rules illustrated with a small Laszlo application incorporating important features such as methods, event handlers, attributes, JavaScript libraries, and constraints.It concludes with an introduction to the most important LZX building block, the LzView class, the superclass of all visible objects.Part 2 Prototyping the Laszlo Market - This second part of the book concentrates on the Laszlo Market to illustrate new topics. The first of these is the layout object, containing an algorithm for creating a visual pattern using a set of view-based objects. From layouts, we move to reusable components, which are demonstrated by building the panes in the Shipping Information page of the Laszlo Market. In this context, we devote a considerable amount of time discussing the important topic of field validation. Third, we examine how the Laszlo event-handling system is based on event and delegate objects and how the delegate mechanism allows a tag’s behavior to be changed during execution. Part 3 Laszlo datasets - Part 3 is all about Laszlo’s approach to data handling, all of which, with the limited exception of resources, is performed through its data-binding system whereby any visual object can establish a direct relationship with data. This system provides communication between the view and model layers of the MVC architecture. Most significantly, the communication is bidirectional, which along with the event-handling system, greatly enhances the versatility of Laszlo’s architecture because any visual object can directly interact with any other element—object or data. The resulting integrated system allows a high degree of interactivity among all its elements. Laszlo’s model-layer data repositories are called datasets. Part 4 Integrating DHTML and Flash - In part 4 we work with the multimedia features that differentiate the Flash and DHTML platforms. Chapter 13 covers the basics of Laszlo animation, which are identical for both platforms. Chapter 14 covers design strategies for replicating the differentiating features using alternative solutions available in each platform. Chapter 15 covers those features that can’t be replicated, requiring a hybrid DHTML/Flash application. By the end of this part, we will have created a hybrid application that provides the same operating characteristics and appearance across both platforms. Part 5 Server and optimization issues - Chapter 16 provides a methodical approach to update resident datasets into HTTP-supported datasets. Once Chapter 17 demonstrates methods for managing large datasets in Laszlo to ensure that resources aren’t wasted. In particular, the Market will be updated to display large amounts of data using paged datasets. Chapter 18 deals with optimizing an application’s startup time with dynamic libraries and redistribution of initialization costs over time. Download free ebooks for flash: Manning Laszlo in Action
|
| More free ebooks | |
More computer ebooks
Part 1 The basics - Part 1 of this book introduces enough of Laszlo to present a lightweight functional model of a real-world application, the Laszlo Market online store. It moves through a crash course in the fundamentals of Laszlo’s XML-based LZX language, focuses on its declarative tags, and continues with the core language rules illustrated with a small Laszlo application incorporating important features such as methods, event handlers, attributes,