Daily Archives: October 28, 2010

KohaCon10: Web Performance

Presented by Martyn Smith Places to think about performance: User’s Browser: Compression Minifying CSS/JS Far-future expires, unique filenames Reduce Requests (use caching) Try using YSlow (a Firebug extension) Network: Latency. Your server may take a millisecond, but the network may take a second for round trip. Web Server: CGI is […]

KohaCon10: An Argument for a project Coding Style 1

Presented by Donovan Jones Donovan argues that best practices and coding style are much the same thing, though best practices will include higher-level aspects like unit testing. What’s different about this talk and other best practices talks? No going to make any recommendations. The goal here is to make a […]

KohaCon10: Debian Packaging for Koha

Presented by Robin Sheat These packages are what Catalyst uses (pretty much) for deploying their MyKoha service in the cloud. To get the packages: sudo nano /etc/apt/sources.list.d add “deb http://debian.koha-community.org/koha squeeze main” add “deb http://debian.koha-community.org/koha squeeze-dev main” sudo aptitude update sudo aptitude install koha-common # plain ‘koha’ package not quite […]

KohaCon10: MySQL and Postgres differences

Presentation by Mark Kirkwood. Postgres does not have all those handy “SHOW” commands from MySQL, rather ‘backslash’ commands. You can use \d for “SHOW TABLES”, for example. Postgres only has one engine, so any engine specification (like InnoDB) will fail. MySQL InnoDB requires ‘drop table’ to fully recover space, where […]

KohaCon10: Template Toolkit 1

By Reed Wade. Slides can be found here. A perl module for template rendering. Create an environment, then call a template file. The template can call functions and variables you’ve provided, as well as other templates. Filters let you apply other conversions, like HTML escaping. Support for IF/ELSE and FOREACH, […]