Showing articles tagged with "Theory" (3)
In the fast-paced world of web development, ensuring that your website serves the latest version of stylesheets and scripts is crucial. Cache-busting techniques play a vital role in achieving this goal. In this article, we will dive into the world of MODX CMS and explore various methods to add cache busters to stylesheets and scripts. From manual versioning to leveraging built-in features and an alternative code snippet using filemtime(), we'll equip you with the knowledge to optimize your website's performance and deliver an up-to-date user experience. Let's get started!
We've become so used to passwords that we've created tools just to help us keep track of them all. In recent years magic links have started to become more popular in an attempt to make our lives easier. For this tutorial, we'll be building the basics of a passwordless login for MODX. Ideally, this should be implemented with a 2fa or other identity-confirming method to ensure authenticity, but we're only looking at the basics.
This thought experiment article explores a number of different methods for logging users into a MODX context using the API. With simple snippets or endpoints, we can handle the creation of new users, search for registered users and log them in without them having to physically sign in.