PDA

View Full Version : Upgrading app to Ext3



tomlobato
18 Apr 2009, 4:36 PM
Hi all!

Right now I concluded a ext3 app with 20k lines of code.
Seeing the ext3 demos (new and updated itens) it looks very interesting to change my app to use ext3 instead 2. Well, two questions:
- How much work would need to change it?
- Beyond the improvings I see on ext3, have it some more interesting news like better performance or so?

Of course, if there are docs related to my questions, please tell me. I didn`t find it.


Thank you!

mjlecomte
18 Apr 2009, 6:16 PM
Bug fixes, memory management improvements are a couple that come to mind.

cmo
18 Apr 2009, 6:37 PM
I'd love to see a guide for migrating from ext 2.2 to ext 3. I have a (gzipped and minimized) 90k app built on ext 2 and I'm hankering to upgrade to 3. It would be nice if there were notes for anything that won't work anymore/api changes/etc.,

mjlecomte
18 Apr 2009, 6:43 PM
Rumor has it there will not be an upgrade guide, everything is intended to be backward compatible. Any custom css would be an exception off the top of my head.

cmo
18 Apr 2009, 6:49 PM
bugger, that makes me a tad nervous ;-) What's that they say about the road to hell and good intentions ;-D

I suppose we'll just have to give it a go and see what shakes out.

mdutra123
18 Apr 2009, 8:46 PM
Is the API Documentation for ExtJs 3.0 available anywhere?

Thank you,

MD

tomlobato
18 Apr 2009, 10:47 PM
well, I replaced ext2 with ext3 on my app and a lot of things works fine,
but one of the errors that I had is in win.show(). The window does not
open and firebug shows the error:

ct is null ________________ ext-all-debug.js (linha 14864)
___ct.dom.insertBefore(this.el.dom, position);

Not all win.show() behave so, some works fine.

the code:


var win = new Ext.Window({
id: 'new_even',
title : evento_form_title,
minimizable : true,
maximizable : true,
closable : true,
//width : 650,
width : 870,
autoScroll: false,
height : 560,
plain : true,
layout : 'border',
listeners : {
minimize : minimizeWin,
show: check_over
},
items : evento_form
});

win.show();
Any idea?

JamesC
19 Apr 2009, 2:17 AM
Any custom layouts etc inside your window? I know I was seeing a "ct is null" using the TableFormLayout extension which isn't as yet compatible with v3.

new2ext
19 Apr 2009, 8:43 AM
Is the API Documentation for ExtJs 3.0 available anywhere?

Thank you,

MD

http://extjs.com/deploy/ext-3.0-rc1/docs/

AaronK
4 Jun 2009, 7:16 AM
Any custom layouts etc inside your window? I know I was seeing a "ct is null" using the TableFormLayout extension which isn't as yet compatible with v3.

James,

Thanks for that. I had TableFormLayout loaded, but stopped using it. I really need to clean out the chaff from my code. I was wondering why the system just stopped working on upgrade.

apk

tomlobato
4 Jun 2009, 7:27 AM
Any custom layouts etc inside your window? I know I was seeing a "ct is null" using the TableFormLayout extension which isn't as yet compatible with v3.

What is exactly "custom layout"? I use column layout in some parts of the code. Is it bad for ext3 compatibility?

mjlecomte
4 Jun 2009, 7:43 AM
FYI, starting a summary thread here:
http://extjs.com/forum/showthread.php?t=70352