Hi GeoExt,<div><br></div><div>A few years later and faced with updating my apps to support ExtJS 4, these questions still remain unresolved for me :( I still struggle with understanding how to setup a project that magically pulls in needed components from the base libraries in order to build a minified custom build.</div>
<div><br></div><div>Perhaps a simpler question: Does anybody have an example app (which uses Geoext, openlayers, and extjs 4) and has a build process to generate a customized build of these support libs?</div><div><br></div>
<div>I have had some luck hacking GeoExt into the Openlayers build process, but it was from trial + error, not with automagic dependency resolution. But then I could not get ExtJS into that process.</div><div><br></div><div>
thanks</div><div>daryl<br><br><div class="gmail_quote">On Thu, Mar 3, 2011 at 12:01 PM, daryl herzmann <span dir="ltr"><<a href="mailto:akrherz@iastate.edu" target="_blank">akrherz@iastate.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Greetings GeoExt Community,<br>
<br>
I've been happily hacking away on a javascript application that utilizes the following libraries:<br>
<br>
- JQuery<br>
- Strophe<br>
- Google Maps API<br>
- SoundManager2<br>
- Sencha ExtJS<br>
- GeoExt<br>
- OpenLayers<br>
<br>
The application is basically a BOSH Jabber client with geo-spatial chatrooms. Anyway, I am really struggling with the following concepts and was hoping folks could provide guidance or weblinks for me to read up on.<br>
<br>
1) How to layout a directory to develop this application? Do you use<br>
sym links, how should the folders be organized? What all gets<br>
managed by subversion?<br>
<br>
2) What options are there for minified builders? Currently, I pull in<br>
the full release libraries of the above into my app. Yes, I realize<br>
this is a terrible thing to do, thus my questions here. :) I have<br>
been messing around with Google Closure Compiler and am building my<br>
code just fine with it, but am not sure how best to proceed with<br>
custom building geoext/openlayers/extjs .<br>
<br>
3) Are there established practices for keeping track of dependencies for<br>
the build process? Or is it all manually configured in some simple<br>
build script?<br>
<br>
And just for some feedback on GeoExt (probably showing my ignorance again), I wish:<br>
<br>
- one could provide an array of styles to unique styling rules, instead<br>
of only one per lookup value.<br>
<br>
- The same radio button logic of baselayers could more easily be applied<br>
to overlay groups. I figured it out eventually.<br>
<br>
- There was a tighter way to tie one layeropacityslider to a treenode of<br>
layers.<br>
<br>
- Having static WMS legends (non WMS GetLegend images) appear in a map<br>
friendly location.<br>
<br>
I suspect all the above are 'easy to do', but I struggle with doing it! I'm also the least sharp tool in the toolbox :)<br>
<br>
thanks for your time!<span class="HOEnZb"><font color="#888888"><br>
daryl<br>
</font></span></blockquote></div><br></div>