LuciusRafi.com

LuciusRafi.com, as currently implemented, is what is known as a "static site". This means pre-written html or javascript files that are served by a web server; in this case, Nginx.


These site or application architectures always come with trade-offs. In the case of a static site, you can get ultimate speed and security when designed and implemented properly. There is no secondary application server that has to generate pages dynamically, while pulling data from the database, nor is there any database for a bad actor to steal users' data from. The down side, is that the site is all hard-coded by the developer in advance, and the site owner can't log into a web-based management interface and update it themselves. We have a few site editor projects in the works, and didn't need self-editing in the short term, so we wanted to make this version of the site static for now.

Screenshot of LuciusRafi.com

Another typical down side with static html sites is there is not generally a contact form, as there is no application server to handle the posted form data. In this case, though, we wrote a static site mail handler program in the Nim programming language, and created a couple extra pages to handle contact form success/error messages.


Another potential down side to static sites is that when a user/browser requests a new page, the browser loads the whole new page from scratch, which is somewhat noticable to users, and can sometimes seem clunky, especially when a site is burdened with (usually remote, third-party) advertising scripts. We didn't use any advertising scripts in LuciusRafi.com, but we still wanted the most modern and fast-feeling experience possible, so we utilized Pjax to give us the S.P.A. effect. Without going into too much detail, the SPA effect simply means that only the parts of the page that are different between two pages is changed out by the browser when requestinga new page. The page elements that are the same between the two pages remains untouched. This means the whole page doesn't flash/reload, changes necessary content faster, and the site feels more like a native application on your computer/phone. We think the extra speed and smootheness were worth the effort.


LuciusRafi.com is also highly mobile compatible, and we used Tailwindcss to help with that. Tailwindcss is a modern CSS framework that provides various benefits for site theming and layout, including mobile compatibility.


Finally, we needed some simple products/ecommerce capability, so we utilized embedded Stripe buttons, without any heavy 3rd party javascript cart with fraud detection scripts slowing the site down, invading visitors' privacy, and introducing undesired complexity and/or failure/bug risk.


If you want a super-fast, secure website with a modern look and feel, in a short period of time, and with an affordable price tag, let us know. We can get you online with a quality site in no time!


Or, if you think you might need a custom, fully-dynamic application let us know! Initial consultation for any possible new project is always free.