On Sat, Nov 7, 2009 at 12:38 PM, hawkett <[email protected]> wrote:

>
> Hi Nick,
>
>   There are a certain class of applications that modify their code at
> runtime - is the intention that these use the restful Closure
> JavaScript compiler API?


What sort of runtime modification are you talking about?


>  One of the downsides to GWT is the need for
> compilation (there's no compiler on GAE) - also making this a
> *requirement* of a straight javascript solution takes away the
> 'dynamic' part of a 'dynamic language', and turns it into, well, just
> a language.


Not at all - all the dynamic features of Javascript are available to you,
whether you use the Closure library compiled or not.


> The Closure JavaScript library does allow us to run
> without compilation, so we can use it dynamically, but as the original
> poster noted, it takes up some pretty serious space - it would be
> great to see google host this on a CDN to support this alongside the
> compiled scenario.  Thanks,
>

Apart from any issues with hosting, serving a production webapp with the
uncompiled closure code will substantially slow things down for your users,
as they are required to load (potentially) tens of javascript files instead
of just a single one.

-Nick Johnson


>
> colin
>
> On Nov 7, 10:03 pm, "Nick Johnson (Google)" <[email protected]>
> wrote:
> > Hi Adrian,
> >
> > Are you referring to the recently-released Closure JavaScript library?
> The
> > intention is that you use it with Closure Compiler, producing a single
> > script you can include with your app, so there's no need to include the
> > entire thing.
> >
> > -Nick Johnson
> >
> > On Fri, Nov 6, 2009 at 6:18 PM, acuth <[email protected]> wrote:
> >
> > > The Closure library download is 149MB and 2,933 files. I don't really
> > > want to have that as a static dir in GAE. Does Google host it anywhere
> > > so it can be referenced from a GAE app?
> >
> > --
> > Nick Johnson, Developer Programs Engineer, App Engine
> > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> Number:
> > 368047
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to