Skip to main content

Static Websites

The CMS allows you to create and manage static sites, as explained in this page, by generating HTML that is copied to S3 (or equivalent storage) and served by a CDN.

This section deals with some typical problems to face when creating static sites.

Technology stack

At the moment it is possible to use both NextJS and PHP to create a static site.

Research

The search functionality requires choosing one of the following possible approaches:

  • small sites: you can move the search functionality completely to the front-end using Javascript libraries like Fuse;
  • large sites: the search functionality can invoke the Content API made available by the CMS. If your site is built in PHP, you can use jQuery together with a Javascript templating library, such as Handlebars or Mustache to invoke the API directly from the browser.

Contact Form

To collect data via contact forms, it is possible to integrate directly with the CRM or, if not available, use a service that sends the content of the form to an e-mail address.