All posts in Web Development

Url Suffix in Codeigniter

Codeigniter is a great Framework, it’s been around for quite some time now. Some might say this makes it a bit long in the tooth. Personally I don’t agree, it’s still actively developed, faster than most (much faster than Laravel) and allows you to still write raw PHP when you want to. One of the niggles though is the way it handles the use of Url suffix generation. You can Read More...

Exporting to CSV in Modx

Sometimes the easiest way to bulk edit or export data is through a csv or excel file. While its easy enough to export a database table as CSV if your exporting from Modx then it’s not that straight forward. The reason for this is due to the way Modx stores Template Variables – within a table that references the page the TV belongs to and the type of variable it Read More...

IP Address Spoofing

I’ve been thinking on the subject of IP address spoofing lately and how easy this could be to carry out. While email header spoofing is both widespread and easy (you don’t even need any paid software or much knowledge) Two IT experts have argued that you can’t really spoof IP addresses elsewhere. On a networking level of course it would be difficult, at least bi-directionally. You can send a spoof Read More...

Creating a static website with Modx

Given that title, you may be thinking “hang on, if it’s a CMS then it’s not going to be static pages, right?” – wrong. Along with one the co-founder and lead Architect of Modx – Jason Coward, for my book review site SFBook, I’ve managed to get the best of both worlds – a static site that can be edited in the Modx CMS. Why bother? – No matter how Read More...

Speed up your website

It is very important from both a web design and an SEO point of view that any website you create should display as fast as possible, giving the user the best experience and catering for those with slower internet connections. There are quite a number of changes you can make in order for a website to run at it’s fastest and I will try and cover the easiest and most Read More...

301 Redirects

Redirecting a website or webpage can be important for a number of reasons, site redesign, change of domain name, business rebranding etc.As far as the search engines are concerned there should only ever be one form of redirect, and that is via the “301? method. Any other form of redirect is considered bad form and will most likely cause all sorts of issues in search results. The way you actually Read More...

GetPage Pagination

GetPage is a very useful extra for Modx that allows the pagination of results, most of the time generated by the GetResources extra. It’s pretty straightforward to use however by default there isn’t really any thought given to the duplication that will result from it’s use. There doesn’t seem to be much about this on the net either, it’s pretty straight forward to fix though, you just need to include Read More...

Supercache and the permissions of Doom

I’ve been using a great plugin for Modx Revolution recently called Supercache which expands on the existing caching system and for complex sites can improve the performance of the website substantially. So far so good, except the caching was so good it didn’t want to give up the cached files and trying to delete them through FTP held no joy either. So I had the choice of using a plugin Read More...