|
You are here: Home / Documentation / Boxes in Sitellite: Basic Building Blocks |
Boxes in Sitellite: Basic Building Blocks
As I mentioned in my previous article "The Anatomy of an App", boxes
are the basic building blocks of Sitellite-based applications (or just
"apps"). A box is actually just a simple PHP script that supplies
a small piece of functionality, usually a single screen worth, for a
Sitellite app. These scripts, or boxes, are never called directly
from the browser, but are called through the Sitellite Content Server
(SCS) upon request by your web site visitors, or from other boxes or
templates within Sitellite, and even from within an embedded box "call"
inside a web page in Sitellite. I'll show you how all of this
works in short order, but first...
Some of the things that set a box apart from ordinary PHP scripts include:
<?php echo 'Hello, World!'; ?> Next: Calling our box Page 1: As I mentioned in my previous ar... |
|
Copyright © 2010, SIMIAN systems Inc. All rights reserved. Privacy policy Some of the icons on this site were created by the Gnome Project. |