 |
 |
This document
provides a tutorial to help you learn how to use the Barracuda Component Model.Ok, so
you want to learn how to use the Barracuda Component Model. Cool. It's very easy as the
examples that follow will demonstrate. Before we get started however, read the preface.
Good, now that that's out of the way, let's get started.
HelloWorld - Where would we programmers be
without the everpresent "Hello World" examples? Here we offer a number of simple
examples...
Hello World 1 - This example
demonstrates a simple HelloWorld servlet that is dynamically populated using the BTemplate
component. It doesn't get any easier than this...
Hello World 1a - Similar to
the previous example, but here we see how to use a template component without even coding
a model. Cool.
Hello World 1b - This example
demonstrates how the model can pass back more than just String values, in this case both
Nodes and Strings.
Hello World, I need some groceries
- A simple BTemplate example that demonstrates how to handle list structures.
Thanks, but I'd prefer organic
please - identical to the previous example except that we don't use BTemplate and
there are no extra directives in the markup.
Hello World, I'd like a fancier
grocery list - Another example using BTemplate. The purpose of this example is to show
just how flexible this component can be.
Hello XML World - Same thing as
the simple grocery list, but in XML. Directives are embedded in the markup as processing
instructions.
Hello Localized World - A
version of the HelloWorld which demonstrates how Barracuda can automatically localize XMLC
templates.
Barracuda Config - This is a working
example that allows you to configure a running Barracuda System. While that's useful in
and of itself, it's also a great learning tool. If you're looking for a comprehensive
example that illustrates the whole kit 'n kaboodle (components, events, forms,
localization), then the Barracuda Config Tutorial
is for you!
|
 |
 |