Hi Christoph,

have you noticed the @require and @include directives in OpenLayers and GeoExt 
source code? With these, and a build profile, we feed a builder tool, which 
will only include the required js files.

So if you want to build a minified script, you have to figure out which classes 
your application needs, and add these to the build profile. The build tool will 
then build a minified script for you.

See http://projects.opengeo.org/jstools/wiki/jsbuild for the dependency and 
configuration file syntax used in GeoExt (requires 
http://github.com/whitmo/jstools or a similar tool), and 
http://trac.openlayers.org/wiki/Profiles for OpenLayers.

For Ext JS, you can use the online build tool 
(http://www.sencha.com/products/js/build/) to create a customized build.

If you do not want to use jstools and create a custom profile for GeoExt, you 
can also use the online builder (http://geoext.org/builder/v0.7.html), which 
also respects the dependency graph.

Regards,
Andreas.

On Jul 15, 2010, at 11:38 , Christoph Baudson (Wheregroup) wrote:

> Hi GeoExt developers,
> 
> my name is Christoph, I'm from Germany, and I'm currently experimenting 
> with GeoExt in Mapbender.
> 
> Think of Mapbender like a CMS for geospatial web applications, one of 
> its core ideas is to let an administrator create web applications 
> through a web interface, without having to edit source code.
> 
> To create an application you can, for example, select a set of map 
> services from Mapbender's internal repository, add them to an OpenLayers 
> map, and add controls and widgets to the map.
> 
> One of the strengths of Mapbender is that it delivers the minimal amount 
> of source code. It just loads the components needed for that single 
> applications. For adding more GeoExt components I want to figure out how 
> the components of each library (GeoExt, OpenLayers, ExtJS) depend on 
> each other.
> 
> I'm looking for some documentation; I assume there must be something as 
> GeoExt also provides a builder [1]. This would really help me a lot, as 
> I want to prepare some demos for FOSS4G.
> 
> Thanks and have a nice day :-)
> 
> Christoph
> 
> 
> 
> 
> -- 
> 
> ********************************************
> FOSS4G 2010
> 06.-09. September 2010 in Barcelona
> http://2010.foss4g.org
> ******************************************** 
> 
> ----------------------------------
> 
> Aufwind durch Wissen!
> 
> Qualifizierte OpenSource-Schulungen
> bei der www.foss-academy.eu
> 
> ---------------------------------- 
> 
> _______________________________________
> 
> W h e r e G r o u p GmbH & Co. KG
> 
> Siemensstraße 8
> 53121 Bonn
> Germany
> 
> Christoph Baudson
> Anwendungsentwickler
> 
> Fon: +49 (0)228 / 90 90 38 - 15
> Fax: +49 (0)228 / 90 90 38 - 11
> [email protected]
> www.wheregroup.com
> Amtsgericht Bonn, HRA 6788
> _______________________________________
> 
> Komplementärin:
> WhereGroup Verwaltungs GmbH
> vertreten durch:
> Olaf Knopp, Peter Stamm
> _______________________________________ 
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> http://www.geoext.org/cgi-bin/mailman/listinfo/dev



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

_______________________________________________
Dev mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/dev

Reply via email to