Przemek Lewicki

5 Flips | 1 Magazine | @lemekk | Keep up with Przemek Lewicki on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Przemek Lewicki”

CQ development patterns – Sling ResourceResolver and JCR sessions

When you work with CQ, you will find Resources and (to a lesser extent) Nodes everywhere. Many services work on the JCR repository and use the basic …

CQ coding patterns: Sling vs JCR (part 3)

In the last 2 postings (part 1, part 2) of the “Sling vs JCR” shootout I only handled read cases, but as Ryan D Lunka pointed out in the comments of …

CQ coding patterns: Sling vs JCR (part 2)

In the last posting I showed the benefits of Sling regarding resource access over plain JCR. But not only in resource access both frameworks offer …

CQ5 coding patterns: Sling vs JCR (part 1)

CQ5 as a complex framework is built on top of various other frameworks, on the server-side the most notably ones are JCR (with its implementation …

What does O(log n) mean exactly?

I am currently learning about Big O Notation running times and amortized times. I understand the notion of <i>O(n)</i> linear time, meaning that the size of …