[Users] Using Sencha Cmd to build an app which includes GeoExt2 & OpenLayers (Marc Jansen)
Purdon
kylepurdon at gmail.com
Thu Feb 20 17:09:24 CET 2014
Marc,
Thank you for the notes. I have actually got it to work with the new Sencha
Cmd but in what seems like a rather "hacky" method. By adding the GeoExt2
source path to sencha.cfg in a project generated by Sencha generate app I
was able to build. This of course did not include openlayers which from
what I can tell just needs to be built separately and either merged with
the app.js or included in index.html (easy enough).
While I really have no idea if this is the correct method or best practice,
it works. With no documentation or examples to guide me I guess best
practice is whatever I come up with that gets a working product on the
table!
I'd love to help out in any way I can getting something like this
documented somewhere (all my source is on GitHub) so keep in contact if you
ever want to work on a project to document this sort of thing.
*Kyle W. Purdon*
Research Assistant | Center for Remote Sensing of Ice Sheets (CReSIS)
https://www.cresis.ku.edu/~kpurdon/
Graduate Student | University of Kansas Geography (GIS)
http://www.geog.ku.edu/
On Thu, Feb 20, 2014 at 5:00 AM, <users-request at geoext.org> wrote:
> Send Users mailing list submissions to
> users at geoext.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request at geoext.org
>
> You can reach the person managing the list at
> users-owner at geoext.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
> 1.
>
> Re: Using Sencha Cmd to build an app which includes GeoExt2 &
> OpenLayers (Marc Jansen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 19 Feb 2014 17:35:59 +0100
> From:
>
> Marc Jansen <jansen at terrestris.de>
> Subject: Re: [Users] Using Sencha Cmd to build an app which includes
> GeoExt2 & OpenLayers
> To: users at geoext.org
> Message-ID: <5304DD6F.3040701 at terrestris.de>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Kyle,
>
> AFAICT GeoExt 2 can very well be included in single-file build created
> with the older version of the sencha command
> (http://www.sencha.com/products/sdk-tools/download). It is essential
> that the path to the GeoExt src files is known to ExtJS and that all
> components have their requires correctly stated.
>
> We use the above build process in several rather complicated setups and
> it is serving us extremely well. It is so good indeed, that we have
> included it in our internal CI-process which fails if the build fails (a
> nice sign for forgotten requires, e.g.).
>
> We do not include the needed OpenLayers files though. We have a separate
> process for this.
>
> I really hope the above helps. That being said, I'd love to support the
> new Sencha cmd, and I think it is totally doable. Also more
> documentation is definitely needed. I am glad that you asked, and I hope
> to find time to work on this.
>
> Best,
> Marc
>
>
>
>
> On 19.02.2014 06:28, Purdon wrote:
> > Hello again GeoExt folks,
> >
> > I am finding an extreme lack of information about building (for
> > production) an ExtJS MVC application which includes GeoExt2 and
> > OpenLayers. Does anyone know of a good documentation on this process
> > (where to put GeoExt2/OpenLayers and where all to add references in
> > Ext) so that the build process using Sencha Cmd will work and include
> > both GeoExt2 and OpenLayers?
> >
> > The MVC app example from GeoExt2 doesn't really fit well with the MVC
> > documentation from ExtJS and from what I can tell the build process
> > uses the older version of Sencha Cmd (Sencha Sdk Tools).
> >
> > Any help would be appreciated!
> >
> > Best,
> >
> > *Kyle W. Purdon*
> > Research Assistant | Center for Remote Sensing of Ice Sheets (CReSIS)
> > https://www.cresis.ku.edu/~kpurdon/
> > <https://www.cresis.ku.edu/%7Ekpurdon/>
> > Graduate Student | University of Kansas Geography (GIS)
> > http://www.geog.ku.edu/
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at geoext.org
> > http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://www.geoext.org/pipermail/users/attachments/20140219/c5ced401/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
> End of Users Digest, Vol 61, Issue 6
> ************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20140220/796e938a/attachment.htm
More information about the Users
mailing list