We present a detailed overview of the way we built the CIPR’s new website using Drupal. Find out what modules and techniques were used to create all the main user facing features of the site, and the technical architecture that is serving it.
Posts Tagged ‘PHP’
Validating HTML input in PHP
It’s often the case that as web developers, we need to ‘clean’ input from end users to ensure it does not contain any nasty formatting or script that we don’t want to allow on our sites. Forums in particular often suffer from either security holes that allow cross site scripting attacks (XSS) or are [...]
JSON2.js vs Prototype
We use Douglas Crockford’s json2.js frequently in our web apps. Its stringify method allows JavaScript data structures to be trivially serialised before submission via AJAX to a web service. It works by descending through the structure, calling the toJSON() method on anything it finds. It also creates toJSON methods for data [...]