{"articles":[{"id":"clu37o1om24z107l8okoyhcne","introText":"As developers, we must ensure that the sites we build not only look good but perform well and the easiest way to gain a performance boost is by serving properly optimized images. We'll be looking at the pThumb Extra to generate out different image sizes, crops, and formats all on the fly","slug":"generating-images-using-phpthumb","title":"Generating images using phpThumb()","tags":["Performance","Tutorial","theory"],"image":{"url":"https://eu-west-2.graphassets.com/clu2ob2z3n53r07lealbc7wqg/output=format:webp/clu38f3pl28cu07mr436fjkz3"}},{"id":"clu37hkls24l607mi061zqnv7","introText":"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.","slug":"modx-magic-link-login-tutorial","title":"MODX magic link login tutorial","tags":["MIGX","PHP","theory","Tutorial","XPDO"],"image":{"url":"https://eu-west-2.graphassets.com/clu2ob2z3n53r07lealbc7wqg/output=format:webp/clu37gu2g24j607mimuqmm35h"}},{"id":"clu37embv23rt07l80bd9dcvt","introText":"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.","slug":"login-a-modx-user-with-the-api","title":"Login a MODX User with the API","tags":["PHP","theory","XPDO"],"image":{"url":"https://eu-west-2.graphassets.com/clu2ob2z3n53r07lealbc7wqg/output=format:webp/clu37e18f23zc07mih00woh07"}},{"id":"clu38mk8328y607mrfo02jjrg","introText":"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!","slug":"cache-busting-in-modx","title":"Cache busting in Modx","tags":["PHP","theory","Tutorial"],"image":{"url":"https://eu-west-2.graphassets.com/clu2ob2z3n53r07lealbc7wqg/output=format:webp/clu38lztc28xr07mrq5tj3j08"}},{"id":"clu38oygk28uq07l8dyr9tv9b","introText":"The Formit Extra for Modx is a versatile snippet that makes form handling a breeze. One of its abilities is to encrypt and store submitted form data which can be accessed through the Formit CMP. But what if you want to access those stored forms and display them on the front end? A number of years ago I submitted a quick and dirty way of accessing Formit form data using a raw SQL statement, today I'd like to show you my new method for accessing and decrypting Fomit form data.","slug":"modx-get-formit-forms","title":"Modx get Formit Forms","tags":["XPDO","theory"],"image":{"url":"https://eu-west-2.graphassets.com/clu2ob2z3n53r07lealbc7wqg/output=format:webp/clu38o9cq28ur07mij10sftlw"}}],"articlesConnection":{"aggregate":{"count":5}},"pagination":{"page":0,"totalPages":1,"prevPage":null,"nextPage":null},"tag":"theory"}