1. Unicode in Python micro-recipe : from MySQL to webpage via Cheetah

    Very easy:

    - start by adding the default-character-set=utf8 in your MySQL configuration file and restart the database server - apply this recipe from Activestate Python Cookbook (“guaranteed conversion to unicode or byte string”) - inside the Cheetah template, use the ReplaceNone filter:

    #filter ReplaceNone

    \${myUnicodeString}

    #end filter

    in order to prevent escaping …
  2. Review : Holub on Patterns

    In order to read Allen Holub's new book, you'll certainly need some programming skills (Java, OOP and patterns to be more specific). On the back of the book, there's specified 'Intermediate to Advanced'. It certainly depends on what you mean by 'Intermediate'… because the book is not exactly a light …

    Tagged as : Books book Java programming
  3. Book review – Tapestry In Action

    My first contact with Tapestry was more than 18 months ago. Back then, I was interested to find a web framework for integration with our custom Avalon-based (using the now-obsoleted) Phoenix server*. The web interface was ment to be backoffice stuff, for simple administration tasks as well as statistics reports …

Tags

Page 1 / 2