New feature: database query builder. Alias q('tablename').

New API:

app()->getTable('tablename');
q('tablename');

Example:

$stm = q('user')->where('id = ?', array(1))->select();