[google-appengine] Re: Problem with javascript on the appengine.
try writing a html with all the javascript at top of the file.py then the handlers --- On Thu, 2/19/09, dr hil wrote: From: dr hil Subject: [google-appengine] Problem with javascript on the appengine. To: "Google App Engine" Date: Thursday, February 19, 2009, 1:30 PM Hi all, My application use a lot of javascript, that is loaded in the main static html file. all the javascript files are declared in the app.yaml file. The javascript is being loaded and work fine in the developing server, but when I deploy the application of the google appengine server, it seems as if the javascript is not loaded and does not work at all. Why is that and how can I fix it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Problem with javascript on the appengine.
Are your javascript files declared as static files in the app.yaml file? Can you post the section of the app.yaml file and the part of the html that loads the javascript? Can you get the javascript files when you enter the URL in your browser like http://appid.appspot.com/js/window.js This is a test if they are uploaded as static files. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Problem with javascript on the appengine.
May be here is a workaround.. You could try to include Google Ajax API though there is limit JS libraries, but I thinks they are enough.. On Feb 20, 6:37 am, to ddvnek wrote: > try writing a html with all the javascript at top of the file.py then the > handlers > > --- On Thu, 2/19/09, dr hil wrote: > From: dr hil > Subject: [google-appengine] Problem with javascript on the appengine. > To: "Google App Engine" > Date: Thursday, February 19, 2009, 1:30 PM > > Hi all, > My application use a lot of javascript, that is loaded in the main > static html file. > all the javascript files are declared in the app.yaml file. > The javascript is being loaded and work fine in the developing server, > but when I deploy the application of the google appengine server, it > seems as if the javascript is not loaded and does not work at all. > Why is that and how can I fix it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Problem with javascript on the appengine.
There are many libraries around the internet that you could include. They help you get your GUI closer to the end user and reduce server load (cost). Here is a list of what google offers: http://code.google.com/apis/ajaxlibs/documentation/#AjaxLibraries but there are others as well. My app engine application uses extjs http://extjs.com/blog/2008/11/18/ext-cdn-custom-builds-compression-and-fast-performance/ Are you using firebug? Sometimes I forget to change the src for a script that is different on production. That usually shows up quickly in firebug. -Tim Lead Developer Sanmateowaveforms.com On Feb 19, 11:22 pm, 啸宇 wrote: > May be here is a workaround.. > You could try to include Google Ajax API though there is limit JS > libraries, but I thinks they are enough.. > > On Feb 20, 6:37 am, to ddvnek > wrote: > > > try writing a html with all the javascript at top of the file.py then the > > handlers > > > --- On Thu, 2/19/09, dr hil wrote: > > From: dr hil > > Subject: [google-appengine] Problem with javascript on the appengine. > > To: "Google App Engine" > > Date: Thursday, February 19, 2009, 1:30 PM > > > Hi all, > > My application use a lot of javascript, that is loaded in the main > > static html file. > > all the javascript files are declared in the app.yaml file. > > The javascript is being loaded and work fine in the developing server, > > but when I deploy the application of the google appengine server, it > > seems as if the javascript is not loaded and does not work at all. > > Why is that and how can I fix it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---