why use xclass?

16 views
Skip to first unread message

Steve Schreiner

unread,
Jul 26, 2014, 2:42:56 PM7/26/14
to extdire...@googlegroups.com
Hi Ralph,

I was curious why you switched to using xclass in the mongo app?

xclass: 'SimpleApp.view.crud.UserGrid'

Thanks,
Steve

Ralph Schaer

unread,
Jul 26, 2014, 3:20:55 PM7/26/14
to extdire...@googlegroups.com
I think it's more maintainable and easier to use than alias/xtype. Especially in a huge application with hundreds of "classes". The alias has to be unique anyway so why not use the classname that is already unique. 

Another benefit is that xclass is usable in all of the components. xtype is limited to components.

Ralph


Reply all
Reply to author
Forward
0 new messages