TurboGears 2.3 Hidden Gems #1 – New Response Management

TurboGears2.3 has been a major improvement for the framework, most of its code got rewritten to achieve less dependencies, cleaner codebase a cleaner API and a faster framework. This resulted in reduction to only 7 dependencies in minimal mode and a 3x faster codebase. While those are the core changes for the release, there are a lot of side effects that users can exploit at their benefit. This is the reason why I decided to start this set of posts to describe some of those hidden gems and explain users how to achieve the best from the new release. The first change I’m going to talk about is how the response management got refactored and simplified. While this has some […]

Our First Hackathon

We are coders, and we love to code. Our job is coding, and we have fun to. Hence we decided to have fun, just by having a 24h non-stop coding experiment in our preferred and beloved Italian restaurant (well actually a taverna)! We will have a mini-hackathon tomorrow at 3pm our time, to celebrate together the past 2011 working year, that was great! Free Food, free alcohol and a couple of cots is our necessaire for brainstorm and actuate our plan to take over the world! Actually this “coding marathon” it has a subject, all the projects and ideas that will be developed should be related to “Food / Dining”! The products result of the day, if useful, will be […]

Stroller goes open source

Stroller it is our way to do e-commerce! We have already some clients that we fit on this module written in python and easily importable to have a fully e-commerce section to work with. Just after testing it in production for some customers and already in a stable shaped we decided to deliver it as a community edition in free software. In fact you can now download it from pypi: http://pypi.python.org/pypi/stroller or just checkout the sources over our repositories: hg clone http://repo.axant.it/hg/stroller For now stroller does not have a site and a home ;( but fortunately all of our projects are listed in a fancy “temp house” on project.axantlabs.com as it has stroller, just checkout http://projects.axantlabs.com/Stroller You’ll see there the […]

libACR 0.6 and ACRcms 2.0 are out

As we are going deep with ACR our cms, it’s becoming a full featured product, we are using it more and more in production and we decided to release a new version on pypi. New features include: Plugins Support. You can now add your own sections to the administration panel, views to the add slice menu and implement new functions or views. Multisite support, serve multiple sites from one single WSGIDaemonProcess Themes Support, create your own themes for the ACRCMS A simple Scripting language to automate some actions on theme setup User Defined Views, create new type of contents without having to write a single line of code SliceGroup Admin to permit to editors to change content of image galleries […]

ACR goes for “Packt Open Source CMS Awards”!

Like every year Packt Publishing organizes the Open Source CMS Awards, right now they started the nomination phase. The following categories make up the contest. Open Source CMS Hall of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Libraries Open Source Graphics Software We decided to propose ACR for the Most Promising Open Source Project and Open Source CMS. Even if young our CMS is already interesting since it’s quite easy to deploy,  it integrates in other turbogears applications (like we did for iJamix) in a breeze and has already most of the features you would expect from a full fledged CMS. In our humble opinion is the best and most promising Turbogears2 based […]

Cross Building Linux

Just a quick note since even if is quite easy to read the Makefile sometimes you’d rather have the solution now. This is what I use for the efika images. The layout is the following: /dev/sdc1 on /mnt/efika/boot type vfat (rw) /dev/sdc2 on /mnt/efika/ type ext4 (rw) CROSS_COMPILE and INSTALL_MOD_PATH are described quite well in the linux Makefile. The former tell the configure which toolchain should be used, the latter where to install the modules, pretty easy, isn’t it? You must be careful to not forget the trailing “-” from the CROSS_COMPILE and you can avoid the trailing “/” in the INSTALL_MOD_PATH make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm menuconfig make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm uImage make CROSS_COMPILE=armv7a-unknown-linux-gnueabi- ARCH=arm INSTALL_MOD_PATH=/mnt/efika modules_install In this […]

ACR plugins and themes

Recently we decided to move our Turbogears 2 CMS, ACRCMS, from an example of how to use libacr to something more complete. Consequently to this decision we implemented the plugins architecture inside libacr, which permits to add plugins to libacr at run-time. Until now there were no real plugins, the only available plugins were the three acr slice templates which have been moved from an internal function to a plugin. Today the first real plugin for ACR has been pushed in a separate branch, the plugin is the Theme engine, which permits to add theme support to ACR. The plugin is available inside the ACRCMS acr_plugins directory and is now loaded by default by ACRCMS, it will be officially part […]

GCC using C++

I got this news http://gcc.gnu.org/ml/gcc/2010-05/msg00705.html and it puzzled me a bit: you have the system C compiler depending on C++, making in fact it no more self hosting. That alone makes me thing whoever decided and whoever requested that is next to suicidal. GCC is known for having _quite_ a shaky C++ standard library AND ABI, as in having at least an incompatibility every major version and sometimes even with minor ones. I do dislike C++ usage mostly on this basis, let alone the fact is a language overly large, with not enough people dabbling it properly, let alone being proficient. There are already compilers using C++, one that many people find interesting is llvm. It doesn’t aim to be […]

Ogg vs World (as picked up from Slashdot)

Ogg had been discussed a lot lately. Having messed a bit with it and having felt the pain about dabbling with it and with vorbis and theora probably I could chip in. I said “a pain”, quite subjective and I think the term summarizes my overall experience with it. If that’s because it is “different”, “undocumented” or just “bad” is left to you readers to decide. Even messing with NUT hadn’t been this painful and NUT is anything but mature. Now let’s go back digressing about Ogg. Mans stated what he dislikes and why, Monty defended his format stated that his next container format will address some of shortcomings he agrees are present in Ogg. Both defense and criticism are […]