|
Flesk.Catalog
is an easy to install catalog component that has no limits
to your design.
Using simple tag scripting and normal HTML templates,
you can deploy a product catalog to your website in minutes
with almost no programming.
Tags are defined in a XML file where rules are declared
(ie: you may want that the Tag appears as a Currency,
so you just have to define a rule that translates your
tag into a currency, any currency).
Flesk.Catalog includes Paging facilities, that can be
linkbuttons or images or
any kind of HTML value. Paging status text can be set
as you wish
(ie: 'Listing Page 1 of 10' or 'Showing 1 page in 10').
Pager can have separated CSS Styles for pager's link buttons
and status.
Using HTML templates you can have all diferent designs
you want. The unique Flesk.Catalog's Nested Template System
let's you set nested templates, so that you can control
your dinamic website just as you want.
How it works?
Installing Flesk.Catalog to your .Net website is easy:
just copy Flesk.Catalog component to your Bin
directory, copy file catalog.ascx
to your website's root directory, and add a configuration
setting line to your web.config file. Create
templateTagTranslator.xml and add references
to your HTML template files, as stated in the Flesk.Catalog's
documentation.
The templateTagTranslator is a XML file that
lets developers format their template’s tag value.
A template tag is nothing else than a place holder to
be replaced by a value in the template's HTML, which might
need to be formated.
Tag value formats can be set as a Currency, a
DateTime value, a String, an Image
or as an Identifier, or even a PlaceHolder for
nested templates.
In common templating engines, all tag values are treated
as Strings, but with Flesk.Catalog and Flesk.Templates,
there is now the possibility to format values as needed.
A tipical templateTagTranslator.xml format would
be:

This example defines 2 HTMLTemplates and their tags.
The first template is listing.htm that
has the following html schema:
The second template’s schema, features.htm, is:

Both LABEL and VALUE
are strings.
Implementing Flesk.Catalog to your code is really simple.
Click
here to see an example.
Features
- Setup only requires a few minutes.
- Supports OLEDB, ODBC and SQL Connections. By specifying
the Database Connection type, Flesk.Catalog works with
support to OleDb, Odbc or SQLServer drivers.
- Developer can use a DataTable as a datasource for
the catalog, or may specify a query directly to the
component. By specifiying a previously filled DataTable
as the datasource, it means that Flesk.Catalog supports
virtually any kind of database engine that works with
.NET framework.
- The implementation of Flesk.Catalog is so easy that
webdesigners, with little or no programming knowledge,
can setup a catalog in minutes.
- Flesk.Catalog can be set to use Data Caching facility,
to release load on your database server. Cache life
duration can be specified too.
- Template fields can be specified by an ArrayList (pair
of fieldname/fieldvalue), or by adding manually a pair
of Field/Value.
- Flesk.Catalog can use up to 2 templates, alternating
listing between them. Both templates are normal HTML
files, where are specified Tags that represents a value
from your datasource.
- By using a XML file, all tags can have special rules,
so you may specify how a tag's value appears on your
site. Possible rules can set a tag's value as an Identity,
a String, a Datetime with specified format, a Currency
with CultureInfo formating, an Image or as a Nested
Template that connects via HTTP to another file fetching
data or by adding .Net User Controls!
- CSS Styles and Classes can be specified as you wish.
Flesk.Catalog's Pager can be set in any position (left,right,center)
at top or bottom (or even both) of your listing.
- Pager can have its own CSS Styles or Classes. You
may also specify Pager's text.
Page Size can be specified. You may specifiy if Flesk.Catalog
uses paging facilities or not. You can even specify
how many repeated columns and rows you want to be listed
(ie: repeat products by 2 rows and 3 columns, having
a page size of 6 products per page).
V1.2
- You can now specify what Pager type you want, Numerical
or Text pager type.
- Support for virtually any Currency format
- CutString function. When setting MaxLength on a string,
the ending word won't be cut.
|