Ed Leafe wrote:
> On Feb 15, 2007, at 3:18 PM, Ted Roche wrote:
> 
>> I don't agree that you are "penalized." This is SQL that's generated
>> and sent to the back end. If you need to debug it and can't see your
>> way through the quotes, I agree with the many other posters that there
>> ought to be an option to turn it off.
> 
>       This is only used with auto-created SQL, such as when you use the  
> addField(), addJoin(), etc., methods for building your query. This is  
> what is used by the AppWizard/datanav framework.
> 
>       There is nothing to prevent you from writing the most beautiful,  
> eloquent SQL you like, and calling biz.setSQL(myWonderfulSQL).

I am still not convinced that belongs in the biz layer, because it is (or at 
least might) be db specific.   Although I keep waffling.  currently my thoughts 
are "that should be in the biz layer as much as data validation should be in 
the 
UI"  But then I wonder if maybe it is OK to have validation in the UI.

Carl K



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to