Sunday, May 24, 2009

DWR and Ext JS

For projects at work, I love using ExtJS and DWR. My most useful extension for Ext has been DwrProxy, which enables using DWR for Ext's grids and comboboxes. I previously just had this code posted in the Ext forum and would answer people's questions there. Code in a form is not very centralized, so I took the time this weekend to:
  • Move the code to GitHub (a centralized repository), so that others could easily collaborate and/or see the change history. You can check the project out at: https://github.com/BigLep/ExtJsWithDwr/.
  • Create a fully functional example demonstrating how to populate an Ext grid with DWR. It's hosted at http://biglep.s156.eatj.com/extJsWithDwrExamples/, but unforunately eatj shuts down the server every six-hour for free accounts. If you know of a better free alternative, please let me know.
I was amazed how much time it took to move the code from a form post to a repository with examples and documentation. It's certainly possible that no-one will care and that it will go unappreciated. If nothing else, it was a good experience to understand what's involved.

15 comments:

Nickar said...

don't think it wasn't worthwhile because it was!!!
Congrats for the hard work!

Rafael Gonzaga said...

Ne Work ... thank you!

Rafael Gonzaga said...

it means Nice Work hahahaha, ty again

James said...

yeah agreed, very worthwhile. I'm not sure where i'd be without DwrProxy. Have you heard if anyone is interested in maintaining it for ExtJs 4?

Steve Loeppky said...

James: I'm interested in maintaining it for Ext 4, but I'm not sure when I'll get to it. If someone wants to create a "v4" branch in the repository, that would be fine.

Anonymous said...

Will the V3 version of DwrProxy work with ExtJS V4?

Ice said...

Unfortunately the V3 version of DwrProxy does not work with ExtJS V4.
The data packages have been refactored (no DataProxy).

Steve Loeppky said...

Concerning Ext v4 compatibility, I'm not sure when I'll be able to get to this. It depends on when my team migrates to Ext 4 themselves. I should have a better idea of this in the next few weeks.

Anonymous said...

Hi Loeppky, have you some idea how to migrate dwr proxy to ext4?

Steve Loeppky said...

@Anonymous: I haven't looked into Ext 4 at all yet. I will certainly do so when we start using it at work, but we've got other projects on the go, and I don't have the bandwidth in personal time to take this on yet.

pet said...

Bigleep, please, have you any news about dwrproxy with extjs 4? When not, have you any idea?

Steve Loeppky said...

@pet: I'm sorry, but I still haven't had the chance to work on this. We aren't really doing any GUI work at my day job, so can't justify working on it then. I've also got a lot on the go personally, so am not able to work on it outside of work. I will get to it when I can, but that may not be for another 6 months. Hopefully someone else will make it work with Ext 4. If anyone else takes this on, I'd love to give them permissions to the GitHub repository to post it.

pet said...

Oki, I start work on it.

bero said...

Here is DWRProxy for ExtJs 4. but it only handles loading data from DWR method.

http://geogeeks.net/blog/2011/07/dwrproxy-for-extjs-4/

Frank said...

test this http://extjstricks.wordpress.com/2011/07/15/extjs-4-proxy-dwr/#comment-16