Development

Small little steps to render freemarker (FTL) templates in magnolia while still being able to edit them and not put them into the templates workspace Inside magnolia central goto /server/rendering/freemarker/templateLoaders Create a contentNode “fileSystem” On the newly created “fileSystem” node, create two properties: A “class” property with value “info.magnolia.freemarker.loaders.LazyFileTemplateLoader” A “basePath” property with value “path/to/your/templates” […]

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of our best practices, possibly the most important thing we changed is to eliminate all […]

While trying to tackle the speeding world of trends in online technology, there seems to be an increasing demand in what is referred to as “Online Architects”. From what I have encountered as much can be said that in most customer views has little to nothing to do with Enterprise Architecture, or architecture in itself. […]

Generally I believe that telling developers to write documentation as part of a project requirements is not always the right approach. If a developer is convinced that nobody will actually ever take the effort to read the documentation anyhow, why even bother to tell them otherwise. I think there is a certain pride element that […]

We where looking to embed Janrain in a somewhat complex AJAX driven single page interface flow. The default behavior of the JanRain Engage part of the flow is to redirect the top window to the token_url. As you can imagine this messes up your SPI state.

While having discussions with some colleagues, I find it amazing how otherwise very knowledgeable content management specialist find it very complex to see that the next generation for web content delivery should be content as a service. Talking endlessly on terms like pre-publishing, caching, creating complex webservices, reverting back to JSP’s, PHP’s or servlets, it’s […]

While working on centrally hosted Backbase widgets we needed a JSONP solution that is cachable by proxies (Squid, akamai) as well for browsers. Where regular JSONP requires the response to wrap the response using a callback. As we have full control on the response, the solution we came up with (and dubbed “JSONP-DOM”) is to […]

Abusing your own blog for delicious like bookmarking should be forbidden! Either way, Dave Smith provides (see comment section) a nice workaround for __flash_removeCallback “Object required” alerts when embedding flash in internet explorer and reloading the page. <script type=”text/javascript”> (function(){var s=function(){__flash__removeCallback=function(i,n){if(i)i[n]=null;};window.setTimeout(s,10);};s();})(); </script> I decreased the setTimeout interval to somewhat higher then 10ms, because for me […]

Introduction I am not under the impression that what we are doing here is rocket science, but might be nice to share anyway. Lets first elaborate a bit on the situation at hand. At my current client Backbase is used in a progressive enhancement kind of way: <!– Backbase Library –> <script type=”text/javascript” src=”core/4_3_1/engine/backbase.js”></script> <!– […]

In a discussion on Yammer it seems that merely 30 years ago the vision was to have 30 engineers around the globe writing services that others would use. The concept might be working if you increase the number of engineers 10 to 100 fold. Most important however it seems that even though we discuss a […]