Book Image

Backbase 4 RIA Development

Book Image

Backbase 4 RIA Development

Overview of this book

Backbase is a very powerful and complex JavaScript library, with many user interface components to help make web development easier. It allows the development of Rich Internet Applications (RIA) that run within all major browsers but its powers and complexity mean that the choice of component can be overwhelming. Understanding when and how to use the right component might not always be straightforward. This book makes that easier. This is a practical book that teaches you how to use the Backbase Client Framework effectively, with a complete overview and many examples. A core developer of the framework puts the technologies used into a wider perspective of existing web standards and a seasoned software architect explains why XML-based UI definition produces better web applications. The transparent use of AJAX technologies, for example to submit forms, or to retrieve updates for data grids, can be taken for granted with the Backbase framework. Packed with examples, the book shows you how to get the most from the library of UI components, and then extend the library with its own custom language. With this book in hand, it is easy to enable AJAX within your web application. You will be able to use the Backbase framework effectively, from basic applications to complex, custom-defined UI components. This book contains a complete overview of all the UI libraries available within the Backbase framework and shows examples for each element described. The Backbase framework offers an innovative Tag Definition Language (TDL), which allows developers to create new UI components that can be used as XML elements, in the same way as using the built-in GUI library. Using TDL brings considerable development advantages, and this book explains how. Significant attention is also given to architectural aspects of designing a web-application, showing sample applications using a model-view-controller approach.
Table of Contents (16 chapters)
Backbase 4 RIA Development
About the Authors
About the Reviewers

Continue the development of the C3D application

In the previous chapter, we introduced the C3D application. Back then, you could only see a page skeleton, you could log in and log out, and you could add a trip.

In this chapter, we will add two major functional items:

  • Add a trip entry. Each trip can contain several entries that describe the details of a specific part of the trip.

  • Show a list of trips, a list of entries for a trip, and entry details.

After we have added these features, the first prototype of the site is usable and can accept real data as you can see on the example site that we made available for you:

Of course, some highly desirable features are still missing: photo uploads, editing of trip descriptions and trip entries, and e-mail notification, to name a few. Some of these we will add in later chapters.

Adding a trip entry

The first feature we will add is the ability to enter details for a trip. The entry form we need to make looks...