Development

Live edit freemarker templates in magnolia

Posted by on March 11, 2014 at 12:39 pm

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” […]

Bootstrap sequence for portable web applications

Posted by on February 11, 2012 at 2:12 pm

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 […]

Online landscapers

Posted by on March 27, 2011 at 9:37 pm

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. […]

Creating PDF documentation with Apache ANT and XHTMLRenderer

Posted by on December 5, 2010 at 12:08 pm

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 […]

JanRain Engage in an AJAX environment

Posted by on November 22, 2010 at 12:17 pm

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.

Content as a service.

Posted by on November 5, 2010 at 10:54 pm

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 […]

JSONP-DOM, JSONP without callback querystring.

Posted by on October 31, 2010 at 10:52 am

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 […]

Working around __flash_removeCallback

Posted by on September 20, 2010 at 7:17 am

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 […]

Approach towards Lazy Loading and booting Backbase

Posted by on September 2, 2010 at 3:21 pm

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> <!– […]

Perceived standardization / differentiation

Posted by on August 8, 2010 at 10:14 am

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 […]