Archive

ExsJs 4 code review

The older version ExtJs Sencah, always bothered me with the Java-like classical approach. I am a "funcionalist" and don't like "classical art" to much in programming. It's too slow to develop with, to slow to run, to slow to respond to changes since it's not event oriented.

It was pleasant to see that the "new" keyword is not gone from the NEW ExtJs. Nice! Moreover, they now talk the MVC language? This is my world :) Now I would still not call this a view:

Ext.define('AM.view.user.List' ,{
    extend: 'Ext.grid.Panel',
    alias : 'widget.userlist',

    title : 'All Users',

    initComponent: function() {
        this.store = {
            fields: ['name', 'email'],
            data  : [
                {name: 'Ed',    email: 'ed@sencha.com'},
                {name: 'Tommy', email: 'tommy@sencha.com'}
            ]
        };

        this.columns = [
            {header: 'Name',  dataIndex: 'name',  flex: 1},
            {header: 'Email', dataIndex: 'email', flex: 1}
        ];

        this.callParent(arguments);
    }
});

... but it's a nice leap forward.

One more not, what really amazes me about Sencha is how they are able to snap all the JavaScript talent around the world. Good job Sencha recruiting!

While the framework is still too confined for me too use, I will be paying attention now. There are definitely many things to learn from you guys :)

Comments: