Pale Purple http://www.palepurple.co.uk Office Address Basepoint Business Centre Isidore Road,,
Bromsgrove, Worcestershire, B61 3ET GB
+44 (0) 845 0046 7 46 sales@palepurple.co.uk GB 884 6231 01
When creating more complex web applications, you end up with more and more Javascript, which can quickly become difficult to maintain. RequireJS is one approach to helping solve this (and other issues).
Background A WordPress site we maintain had one page (warning: some of the pages/images may offend) displaying a large number of posts (they all happen to be galleries) using the nextgen-gallery plugin. The Problem The page in question, on each load, would perform a query on posts within a specified category, and display them inline. […]