In CakePHP 1.3 there is a feature for virtual fields but it's coupled with the database that you are using. For example:
var $virtualFields = array(
'full_name' => 'CONCAT(User.first_name, " ", User.last_name)'
);
This would work for MySQL but not for MS SqlServer. Is there a way to make this database agnostic?
I'm still in the middle of developing an application and still not sure what database we'll be using in production. That's why I want to keep all the database access as agnostic as possible.