{"articles":[{"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":"clu341q4b1ugy07mroa02x9zh","introText":"HTML-over-the-wire is a method whereby an AJAX request returns HTML instead of JSON. This methodology allows us to quickly build reactive, modern interfaces with the tools we use every day. MODX is the ideal CMS for working with HTML-over-the-wire as its powerful template syntax, combined with chunks and output modifiers enables us to write our logic directly in our templates. HTMX is one of a number of libraries that enable HTML-over-the-wire using simple HTML attributes. This article looks at HTMX and how to integrate it with MODX to enhance your websites and create more powerful applications.","slug":"htmx-and-modx-a-match-made-in-heaven","title":"HTMX & MODX a match made in heaven?","tags":["AJAX","PHP","Tutorial"],"image":{"url":"https://eu-west-2.graphassets.com/clu2ob2z3n53r07lealbc7wqg/output=format:webp/clu3415671svq07l8726j818j"}},{"id":"clu33xw841scu07l8uj3tgy2n","introText":"MODX Output Modifiers bring PHP logic into HTML. They enable you to generate DateTime stamps, image thumbnails, IF statements, set defaults and pretty much anything else you can think of. In this article, we'll look at some of my favourite MODX output modifiers and how you can create your own.","slug":"modx-one-liners-and-output-modifiers","title":"MODX one liners and Output modifiers","tags":["PHP","Tutorial"],"image":{"url":"https://eu-west-2.graphassets.com/clu2ob2z3n53r07lealbc7wqg/output=format:webp/clu33xf1l1suz07mis7vz5s5r"}},{"id":"clu33v0f41s3g07l804rg6802","introText":"This article explores an issue I faced when working on a Danish language website which required me to build an A-Z filter list using different strings. The issue I faced was down to UTF8 Special characters and multibyte characters not working as expected when trying to access individual characters from a string. ","slug":"accessing-single-characters-in-multibyte-strings","title":"Accessing single characters in multibyte strings","tags":["Multilingual","PHP"],"image":{"url":"https://eu-west-2.graphassets.com/clu2ob2z3n53r07lealbc7wqg/output=format:webp/clu33vdcv1tjm07mr2fp5z9vr"}}],"articlesConnection":{"aggregate":{"count":7}},"pagination":{"page":0,"totalPages":2,"prevPage":null,"nextPage":1},"tag":"PHP"}