This article has originally been posted at: https://anyscreensize.com/blog/why-use-modx-part-1-simple-template-code

In this new series of short articles called #whyusemodx I will showcase why we at Any Screen Size choose MODX for almost all of our web projects.

In this first part I will show the simple and clean code MODX uses, this makes using templates and the CMS very simple and easy, no need to know PHP or Javascript!

Getting a list of posts using Wordpress

Below I will show the code that is used in the official Wordpress theme twentysixteen, this is the most popular and widely used theme from the official Wordpress website.

WordPress default loop

Wordpress forces you to…

Menno Pietersen

Responsive web design specialist, developer & speaker. Owner of DESIGNfromWITHIN & Any Screen Size. http://t.co/Q4Q4ilvh http://t.co/Hvp4VM0j

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store