YASB – Yet Another Symfony Blog

May 9, 2007

Solved: How to get I18n working on reverse-engineered tables

Filed under: Database, PHP, Propel — Krof Drakula @ 12:24 pm

We’ve all been there – Symfony and I18n do play well together – it’s got XLIFF for interface translation which works almost out-of-the-box, it’s got localization features for things like numbers, currencies and many others. It also has internationalization features that work with database tables.

Unfortunately, all is well until you stray from the guidelines presented in the Symfony book. The norm in Symfony is to write the database definition withing the schema.yml file. That’s okay… it’s compact, concise and verbose enough to be understood within the context of Symfony nomenclature. But when you’re dealing with 25+ tables that need accompanying I18n tables, things could get messy, nomenclature or not.


January 20, 2007

Generating permalinks

Filed under: Database, General, PHP, Tips and tricks — Krof Drakula @ 12:22 am

We’ve all been there – SEO can be quite a pain in the ass when you’re competing against others for exposure. Turns out, much of the tedious content optimization can be resolved in the development phase, using nice and descriptive URLs.


January 5, 2007

Making your life easier with Factory design patterns

Filed under: Propel — Krof Drakula @ 9:31 am

This time round, I’d like to share a quick tip to those that may not be aware of how to simplify common tasks, such as fetching a specific group of entries within a table. (more…)

Powered by WordPress