Concept
The shop is organized in 4 layers:
The Template layer
These files contain the html framework for the shop. There is no code
in the files, all the pointers to the code are made with the help of placeholders.
Read more...>>>
The View layer
Here are the routines that display the results prepared by the shop engine
layer. The View layer does not perform much processing, nor is it complex.
All the language-specific content is contained here. People with basic
Perl skills will be able to make small changes, that will not affect the
shop functionality.
The Engine layer
On this layer there is the code for the shop-specific routines. This
is the code that you will customize if you modify the database structure,
you want a different layout of the product or the cart display, or maybe
you want to customize the search routine. Either way, you will need moderate
to advanced Perl knowledge to make changes. Most of the real processing
happens here.
The Library layer
Here are the libraries of common use, like: authentication, email, database
access, generic functions, and so on. These are not specifically developed
for the shop, and can be used without changes in later applications. Their
purpose is to offer a simple interface to otherwise rather complicate
or long routines. You will have no customizing to do here. Some routines
set restrictions to the modules on the other layers, it will be explained
in detail in the module description.
|