What is SiteSupra?  Blocks and Modules

Blocks and Modules

Blocks

SiteSupra block - is a piece of PHP code put on the page. Navigation menus, search, site map are blocks. While rendering a page on user request SiteSupra Engine calls page template, then layout and then blocks. The blocks concept is implemented with a few ground-breaking technological features that makes it extremely effective both for site development and maintenance.

  • Parameterization âÀ“ the block behavior is controlled by a business-user with a set of custom properties, which allows manipulating even with very sophisticated blocks without heaving to deal with actual code.
  • Custom Controls/Editors âÀ“ the blocks could be equipped with Windows-style interface, making powerful user interaction intuitive and simple.
  • Cache âÀ“ the blockâÀ™s output could be cached to improve system performance several times.
  • Re-use âÀ“ the blocks could be easily replicated from one project to another, which allows significant time savings.

The blockâÀ™s properties are called by right-clicking the block area on the page in Edit Site. When itâÀ™s allowed by website system design, the blocks could be dragged and dropped from the repository to the page.

ThereâÀ™s also a possibility of setting access rights on the block-level by implementing a combined page template model. This way the site authors could be limited to manipulating with only some of the blocks on the page, for example text blocks.

Modules

The SiteSupra module is a concept very similar to the SiteSupra block with the main difference in that it isnâÀ™t put on a page and it executes before the page load. The modules are used for developing applications that go beyond page limits and affect the site as a whole. For example User Manager and SupraTrack applications you find in the demo site are modules. A module could be used in combination with blocks or other modules, making that possible to create powerful and versatile applications.

The modules are registered in .conf files and are called with an icon on the SiteSupra main toolbar.

Please login to add comments.