Go Back   SmartClient Forums > Installation
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 7th May 2008, 01:55
uno200405 uno200405 is offline
Registered Developer
 
Join Date: May 2008
Posts: 4
Default Migration guide from Ext to SmartClient

Hi,

I am new to this forum. Is there any better way to migrate from Ext to SmartClient?

Thank you!
Reply With Quote
  #2  
Old 7th May 2008, 17:18
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,963
Default

Hi uno,

You can get fairly far with simple search-and-replace, especially if you are coming from Ext 2.0, where the APIs for certain components are very nearly clones of SmartClient APIs for the corresponding components.

For example, take the "Array Grid" Ext example source:

new Ext.grid.GridPanel -> isc.ListGrid.create
columns -> fields
stripeRows -> alternateRecordStyles

Then in each field:

id/dataIndex -> name
renderer -> formatCellValue
sortable -> canSort
header -> title

If you come up with a more complete list, or even a code transform script, it would be great if you could share it with the community. Thanks!
Reply With Quote
  #3  
Old 8th May 2008, 07:25
uno200405 uno200405 is offline
Registered Developer
 
Join Date: May 2008
Posts: 4
Default Thank you

Hi,

Thank you for your reply. I will try a proof of concept first. If it looks fine then I can convert an existing web applications.

Thanks
Uno
Reply With Quote
  #4  
Old 13th May 2008, 10:21
ftftft ftftft is offline
Registered Developer
 
Join Date: May 2008
Posts: 2
Default

I would say it would be great helpful to clone some of ExtJS samples(functionality, not visually), like FeedViewer and Grid sample. My coworker is looking for an alternative to ExtJS.

It is weird that I never heard smartClient before, even though I am keeping an eye on javascript library two years ago.

Quote:
Originally Posted by Isomorphic
Hi uno,

You can get fairly far with simple search-and-replace, especially if you are coming from Ext 2.0, where the APIs for certain components are very nearly clones of SmartClient APIs for the corresponding components.

For example, take the "Array Grid" Ext example source:

new Ext.grid.GridPanel -> isc.ListGrid.create
columns -> fields
stripeRows -> alternateRecordStyles

Then in each field:

id/dataIndex -> name
renderer -> formatCellValue
sortable -> canSort
header -> title

If you come up with a more complete list, or even a code transform script, it would be great if you could share it with the community. Thanks!
Reply With Quote
  #5  
Old 16th May 2008, 12:40
krycek krycek is offline
Registered Developer
 
Join Date: May 2008
Posts: 14
Default

I have a good experience with ExtJS. I think a guide showing how to port application from extjs to smarclient would be perfect.

Maybe something simple at the begging, like:

Ext.grid.GridPanel -> isc.ListGrid.create
Ext.DataView -> xxxxxxx
Ext.data.Store -> xxxxxxx

Someone with experience in there 2 libraries wouldn't take more than an hour to do a guide like that.

So, one more vote to a guide :)
Reply With Quote
  #6  
Old 20th May 2008, 17:58
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,963
Default

Hi Krycek,

Unfortunately, as you might expect, we here at Isomorphic don't have a lot of hands-on coding experience in other frameworks :) However if you think it would take only an hour, we'd be more than happy to sponsor your creation of first draft once you've become familiar with SmartClient as well.
Reply With Quote
  #7  
Old 21st May 2008, 08:08
krycek krycek is offline
Registered Developer
 
Join Date: May 2008
Posts: 14
Default

Sure,

but I'm not ready yet.

After creating my first app I'll be able to create a guide :o)
Reply With Quote
  #8  
Old 21st May 2008, 08:32
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,963
Default

Great - get back in touch then, we were not joking about sponsoring the creation of a basic migration guide.
Reply With Quote
  #9  
Old 22nd May 2008, 11:45
ftftft ftftft is offline
Registered Developer
 
Join Date: May 2008
Posts: 2
Default

An hour is definitely not enough. My coworker has been working on a prototype to compare SmartClient with ExtJS. We use ExtJS on the current internal project.

Overall, he likes smartclient.

Pro.

1. layout is easier to use.
2. Live grid is very nice.
3. code seems more clear.

Con.

1. form validation. When there is an error. Smartclient displays error information beside the form field. That often makes the form panel look mess. It is neat for ExtJS to use a red circle and qtip to show the error message.
2. Community is small. I think Smartclient needs more market exposure.


Quote:
Originally Posted by Isomorphic
Great - get back in touch then, we were not joking about sponsoring the creation of a basic migration guide.
Reply With Quote
  #10  
Old 22nd May 2008, 12:00
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,963
Default

Hi ftftft (is that supposed to be the sound of arrows?),

We didn't actually think it would take an hour :) But we'd be prepared to sponsor the effort by a qualified person.

On your con #1, you can present errors in multiple ways, including a compact way that does not reflow the form (an error icon only). See showErrorIcon, showErrorText, etc properties.

On con #2, this community appears to be doubling weekly or so, and yes we're working on getting the word out. But it is already easy to find help, and to hire from this community (Isomorphic has done so, twice).

On your pros - keep going - that's the tip of the iceberg :)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


© 2010,2011 Isomorphic Software. All Rights Reserved