Über Andreas Steffan

Freelance Java-Platform and Content-Management Architect / Web-Geek / Code-Mixer / Alfresco-, Grails and Linux Evangelist / Groovy- and Clojure-Fanboy / Javascript-and Wordpress-Cherrypicker / Scala-Sceptic / Emacs-Veteran / Content-Gourmet and -Cook / Agilo / Conference-Tourist / Physicist / Father / Japanese Kitchen Explorer / BBQ-Chef / Wine-Drinker / Photographer-Wannabe / Elektronica- and Frisbee-Friend / Hammock- and Backyard-Chiller / Asia-, Outdoor and Scuba-Diving-Traveller

Extending Alfresco FormService with Optimistic Locking

Veröffentlicht unter Alfresco
3211113939_04f022fe13_blog

Opti­mistic lock­ing is a com­monly used con­cur­rency con­trol method for web appli­ca­tions. It is so fre­quently needed that frame­works such as Grails use it by default. Alfresco Form­Ser­vice does not sup­port it out of the box. This may cause unex­pected results. This post out­lines an approach to change the sys­tem in order to get some­thing “close to” opti­mistic lock­ing behav­ior. Weit­er­lesen

An Alfresco Developer’s Challenge and Journey

Veröffentlicht unter Alfresco, Spring
An Idea (lit bulb)

Alfresco is a very flex­i­ble content-platform in gen­eral. It pro­vides mech­a­nisms to cus­tomize almost every com­po­nent (Spring-Bean, Web­script, Tem­plates) shipped with the core prod­uct. Still, there are times when the solu­tion is not as obvi­ous and as the devel­oper ini­tially had in mind. Weit­er­lesen

Unobstrusive Spring Beans Injection — Performance Analysis (Alfresco Example)

Veröffentlicht unter Alfresco, Spring
3020016417_3c4f42de7b_blog

Some­times you need to know where an appli­ca­tion is spend­ing how much time. The old school System.currentTimeMillis() approach works for basic sce­nar­ios. If you have a Spring based appli­ca­tion, apply­ing an AOP style “bean injec­tion” approach may get you far bet­ter results — cleaner and faster. Weit­er­lesen

Using an Embedded REPL to Accelerate Development (Example: Alfresco)

Veröffentlicht unter Alfresco, Groovy / Grails, Spring
Javascript REPL embedded in Alfresco

For me, wait­ing is by far the worst part of devel­op­ment. depend­ing on the envi­ron­ment, the build and deploy phases of the code-build-deploy-test devel­op­ment cycle can really take a sig­nif­i­cant share of your imple­men­ta­tion time. There are var­i­ous approaches address­ing this annoy­ing prob­lem. This post dis­cusses lever­ag­ing an embed­ded Read-Eval-Print-Loop . Weit­er­lesen