The best solution for a client's needs is not always the creation of a server-based application system. In some cases it is useful to be able to build a static site, composedf exclusively with frontend technologies.
For these needs, we use MiddleMan, that allows us to build static sites with the advantages of Ruby programming.
Among the numerous advantages of a static site, the most self-evident are surely security and performance.
Security because a static website does not suffer from issues related to the vulnerabilities of server-side code - having none. Performance because it requires no pre-processing on the server side - the site is served to the user “as is”.
A site built with MiddleMan has the further advantage of allowing to more easily work in a Ruby environment, soas to be able to build more quickly and with many less errors even very complex websites with lots of contents.
When can a static site be a suitable solution? Whenever there is no need for server-side pre-processing of the contents, that is, whenever they do not come from a database as the main data source.
For example, a showcase website for a business or a mobile application, or the documentation related to a product or software. But a blog, too. Because with MiddleMan we can automatically generate new static pages starting from contents written in a simple text file.
The experience we gained along the years allows us to suggest the best solutions starting from your needs. We are used to searching for the minimal solution, that is, the one that fulfils the requirements in the simplest and most inexpensive way. Our method is sound and effective.