Python Secret Weblog
Python Secret Weblog - Martijn Faassen's musings

New Location for the Blog:

I've taken the content from this old blog and put it in a new place: http://blog.startifact.com

[More]

[Comments] (21) Dear Django, please ask others about packaging!:

Obviel 1.0b2 released!:

Since the last release of Obviel 1.0b2, I've been plugging away at creating a new version. This version has a massive list of changes. Some highlights:

  • a much nicer demo app, the inevitable todo list. This is a demo along the lines of the TodoMVC project. I haven't quite got it to the state where I think it's ready to submit to that project, but I'm getting there. One thing you'll notice is that the UI is in Dutch. By a one-line change in the JS code you can switch that UI to English. I still need change the UI so you can change the locale in the UI itself; next release!
  • extensive improvements in the i18n infrastructure.
  • pluralization support in templates. This brings Obviel Template's i18n support to a level slightly beyond what I'm familiar with as best-of-breed i18n in server-side templates (ZPT/Chameleon). In brief, you can have a UI that says "{count} cows", and when count is 1, it'll say "1 cow", and when count is 2, it'll say "2 cows", without the need for a conditional in the template. You'll note that in English there are two forms (one and many). Other languages have other rules and may have only one form for all numbers, or more than 2 forms. Obviel builds on gettext to support all these different pluralization rules.
  • data-handler lets you bind a DOM event to a view method directly in a template.
  • data-func can now also use methods of the view, which turns out very useful to support more complex attribute rendering logic which is better written in JavaScript instead of in clunky templates.
  • some backwards incompatible changes: the great renaming (under_score to camelCase in the API, as that's more the JS way), and eliminated callbacks in favor of jQuery deferred. A bit late, but the installed base is still small, and I figured now is better than never!
  • the docs got a freshening up, both in presentation as well in contents.
  • many bugfixes and minor improvements.
[More]

[Comments] (2) Obviel 1.0b:

It's been quiet around Obviel, the client-side web framework that I've been working on. That isn't because there wasn't any activity. The opposite is the case: I've just released Obviel 1.0b with a ton of new goodies. And when I mean a ton I do mean a ton:

  • a whole new template language called Obviel Template that supports sub-views & i18n
  • gettext-style i18n in JavaScript
  • and the most out there new thing: an actual client-side routing library called Traject
[More]

[Comments] (2) Cassandra and how PyPy could help with Python 3:

It's probably something everything has experienced in one way or another, but I now know a little what Cassandra felt like. No, not the Cassandra database but the original Cassandra of Troy. Recently, Aaron Swartz posted this blog entry about Python 3. In it he proposes a Python runtime that can run both Python 2 and Python 3 at the same time, to help cross the chasm that exists between Python 2 and Python 3.

[More]

2013 January
MonTueWedThuFriSatSun
 123456
78910111213
14151617181920
212223242252627
28293031   

0 entries this month.

Categories Random XML
Password:

Unless otherwise noted, all content licensed by Martijn Faassen
under a Creative Commons License.