Static pages

The Static pages is a built-in module that offers a few pre-designed dummy static pages, equipped with well-crafted and thoroughly tested components. These components enable faster and more efficient creation of custom page layouts.

Static pages index

Why static pages over dynamic pages?

Static pages are fast, easy to design, and simple to maintain. Since the pages on many websites and applications rarely changes after it is created, static pages often provide a more efficient solution compared to database-driven dynamic pages.

Pre-built, well-tested components for fast page layout design

One of the static pages included with the software features pre-built, well-tested layout components for faster and easier page design. These components can be used to create various types of pages effortlessly.

Boilerplate component codes

Can the static pages module or pre-built pages be removed?

You can completely remove the static pages module or any of the pre-built pages. This module is not tightly coupled with the system; it's simply for your convenience. However, there is a page, the user sign-up page, that links to these built-in pages, though you can modify it as well. In other words, you have full flexibility to manage this module as you wish. You can even replace the static pages with database-driven dynamic pages if you prefer. The choice is entirely yours.

Static pages links on user signup page

How to create static page

To create a static page, follow these steps:

  1. Create a route
  2. Create a controller
  3. Create a view
  4. If you want to localize that page, then you can create corresponding language files as well

To gain a better understanding of how to create a static page, please review the code in the static pages module.

Copyright © Nudasoft.