Conference hiatus is over

Back in the day when Niteo was still a consulting company I had to do a lot of traveling to find and do work. And to attend conferences. I loved to go to conferences. But being away so much, in boring hotel rooms and eating out every day took a toll on my (mental) health so I decided I needed a…

Dear Plone, welcome to year 2014

TL;DR: Production-level Plone on free-tier Heroku: https://github.com/niteoweb/heroku-buildpack-plone First, a bit of history: it was year 2006 and I was realizing that I was not made to be an academic. I made my first strides into entrepreneurship and being in IT, the first logical step was to create a few websites and try to get paid for my work. I did…

NiteoWeb attended a Pyramid sprint in Halle, Germany

Gocept, a company based in Halle (Saale), Germany, organized a Pyramid sprint, which lasted from 15th to 17th August 2013. The sprint took place at their headquarters which, by the way, has a lovely garden perfectly suited for relaxation, eating, drinking and development (not necessarily in that order!). A bunch of NiteoWeb former and present employees took part, too. Despite…

Write a Plone CLI maintenance script

This is a quick tip on how to write your own command line maintenance scripts for your Plone application. Recently one of our clients expressed a need for a maintenance script which would walk the database of a Plone application and, for every object, print out all the roles users have assigned on that object. Since we were dealing with…

Load overrides.zcml in plone.app.testing

Today I was working on a project where we use overrides.zcml to easily override some default Plone behavior. All was working fine (in the browser, that is) until I started writing tests for our custom behavior. First thing I noticed was that the overrides.zcml was not loaded in our test layer. "Doh, I need to load it manually with the…

Dexterity vs. Archetypes

TL;DR: migrating your Archetypes content to Dexterity shrinks your Data.fs considerably! I've started looking into migrating Archetypes content in one of the sites we're running to Dexterity. But before I started coding I wanted to make sure that the juice is worth the squeeze. The site contains roughly 130k content objects. Most of them are default Plone File type, with a…

Raspberry PI boot to browser

Here at NiteoWeb, we use various SaaS monitoring and logging providers such as Librato Metrics and Papertrail to keep on top of our Plone and Pyramid projects. Hence the need to have a wall-mounted screen to display various graphs and outputs these services. What better way to drive the screen than a Raspberry Pi! Getting the Raspberry Pi to boot…