TurboGears 2.3 Hidden Gems #3 – Minimal Mode

Recently it has been pointed out to me that the Wikipedia TurboGears page was pretty outdate, so I ended up reading and updating a few sections. As that page reported a “2.x Components” section where Pylons was listed, I wasn’t sure what to do as it is not a component of TurboGears anymore since 2.3. Should I create a new “2.3+ Compoenents” section? Should I explain that it was used before? Then I realized that many people probably don’t even know that it got replaced and that gave me the idea of writing a blog post about the TurboGears2 Minimal Mode which is what replaced most of the Pylons functionalities in 2.3. For people that didn’t follow TurboGears recent evolutions, […]

TurboGears 2.3 Hidden Gems #2 – Application Wrappers

One of the less known features introduced in TurboGears 2.3 are application wrappers. Application wrappers are much like controller wrappers (available since 2.2), but instead of wrapping controllers they actually wrap the whole application providing an easier way to implement what in plain WSGI is done through middlewares. The advantage of application wrappers over middlewares is that they have full access to TurboGears stack, they can access the current request, the database, session and caches as the application itself would do. The great part is that, as they run between TGApp and TGController, they can also replace the TurboGears Context and the TurboGears Response providing a great way to hijack requests, responses or even replace entire features of the framework […]

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

VideoLAN Web Plugin: xpi vs crx

One of the main issue while preparing streaming solution is answering the obnoxious question: Question: Is possible to use the service through a browser? Answer: No, rtsp isn’t* http, a browser isn’t a tool for accessing any network content. * Actually would be neat having rtsp support within the video tag but that’s yet another large can of worms Once you say that you have half of your audience leaving. Non technical people is too much used to consider the browser the one and only key to internet. The remaining ones will ask something along those lines: Question: My target user is a complete idiottechnically impairednaive and unaccustomed and could not be confronted with the hassle of a complex installation […]

The zoom factor in webkit and gecko

Apparently all the major browsers tried to provide a zoom facility to improve the overall accessibility for the web users. Sadly that often breaks horribly your layout, if you are developing pixel precise interaction you might get a flood of strange bug reports you might not reproduce. We got bitten by it while developing Glossom, severely… Our way to figure out it’s value is quite simple once you discover it: Firefox scales proportionally the borders and makes the block dimensions constant, Webkit seems to do the opposite. It’s enough to check if a element with known dimensions and border width has it’s value reported as different and your can find our which is the factor. This obviously is quite browser […]

ACR gets Slice Templates

ACR is a flexible and quite powerfull CMS library, but users have to learn Slices and Slicegroups to be able to insert more advanced content like photo galleries, videos and a news section. To simplify this process we created “Slice Templates”. Slice Templates are actually a set of common ways to use slices to insert more advanced content. The first two slice templates implemented are: Youtube Videos which make easy to insert a youtube video inside an ACR Page. Photo Gallery which makes easy to insert a photo gallery with cool effects inside an ACR Page. Next template to come will be a news section, for now you can upgrade your libACR and start using the templates feature or take […]

Turbogears Glossom finally live

We started to collaborate with the Glossom project more than an year ago, the first version was a Ruby on Rails prototype and has served well thousand of users for about an year. When the Glossom team decided to rewrite the software to move from a prototype to a more complete software we studied which frameworks were available and finally decided for Turbogears2. Turbogears is a quite complete and really flexible framework, we used it since version 1.0 for about 3 years and the more we used it the more we loved it. It might have its problems but differently from other solutions when the framework has a limit it is really easy to bypass the framework and implement your […]