Re: [appengine-java] Re: Mobile subdomain in app engine

2011-10-10 Thread Nischal
I'm talking about this - http://code.google.com/appengine/docs/domain.html See the part 'More About Wildcard Subdomain Mapping' -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://gr

Re: [appengine-java] Re: Mobile subdomain in app engine

2011-10-10 Thread Nischal
The datastore remains the same. It's the same app. The sub domain needs to be mapped to the same app, not a different one. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.go

Re: [appengine-java] Re: Mobile subdomain in app engine

2011-10-10 Thread Matthew Jaggard
Hi Nischal, I'm afraid that this won't do what the user wanted - I'm sure he'd need access to the same datastore and memcache. Mat. On 10 October 2011 15:02, Nischal wrote: > You don't really need to do anything different in order that a user who > lands on m.mydomain.com sees a different pa

[appengine-java] Re: Mobile subdomain in app engine

2011-10-10 Thread Nischal
You don't really need to do anything different in order that a user who lands on m.mydomain.com sees a different page. Wherever you have your domain hosted, make "m" point to google's name server (I think some ghs.google.com) After that, go to your appengine admin and configure this as another d

[appengine-java] Re: Mobile subdomain in app engine

2011-10-09 Thread Nichole
Here's a clearer summary of the notes above which look like I merged a few sentences at one point: 2 approaches: (1) pseudo-site: /site/ /site/mobile need to intercept first request w/ a servlet filter and redirect the user to the mobile site or allow the request to continue to the

[appengine-java] Re: Mobile subdomain in app engine

2011-10-08 Thread Nichole
Correction on the servlet filter intercepting a request for media such as music or videos! They're static content so you won't be able to intercept w/ the servlet to return device dependent links. You'd have to have decide based on your content if this approach would result in the same SEO or a d

[appengine-java] Re: Mobile subdomain in app engine

2011-10-08 Thread Nichole
You can use a single servlet filter instead of a servlet per destination jsp page. Keep in mind that if you choose to use a RequestDispatcher.forward the user's browser url remains the same which is what you probably want (no redirect is sent back to the browser, instead the request is internally r

[appengine-java] Re: Mobile subdomain in app engine

2011-10-07 Thread WillSpecht
I was looking for an easy way to do this once and make it work for the whole site. Now I realize I'm going to have to go into every servlet and have it choose which jsp to display. On Oct 6, 6:43 pm, WillSpecht wrote: > My real problem is that I can't figgure out how to show war/mobile/ > home.j

[appengine-java] Re: Mobile subdomain in app engine

2011-10-06 Thread WillSpecht
My real problem is that I can't figgure out how to show war/mobile/ home.jsp when a user types in m.mydomain.com/home. On Oct 6, 5:55 pm, Nichole wrote: > I should add that my simplified model above uses the given static > examples without a redirect to a /site/mobile. > By 'design for all viewpo

[appengine-java] Re: Mobile subdomain in app engine

2011-10-06 Thread Nichole
One last addition is that the appengine implementation of javax.servlet.Filter will probably never intercept static content as those files are probably on CDN, hence not delivered directly by servlet container... On Oct 6, 2:55 pm, Nichole wrote: > I should add that my simplified model above uses

[appengine-java] Re: Mobile subdomain in app engine

2011-10-06 Thread Nichole
I should add that my simplified model above uses the given static examples without a redirect to a /site/mobile. By 'design for all viewports' I mean design to use floating right divs when possible... On Oct 6, 2:50 pm, Nichole wrote: > I'm not using a pseudo-2-site model myself anymore as I rec

[appengine-java] Re: Mobile subdomain in app engine

2011-10-06 Thread Nichole
I'm not using a pseudo-2-site model myself anymore as I recently simplified my structure. For SDK 1.5.2 I had errors upon submitting for deployment more than static 100 files, so keep that in mind. If SDK 1.5.5 increased the max of number of static files to be uploaded, or your files are within lim

[appengine-java] Re: Mobile subdomain in app engine

2011-10-06 Thread WillSpecht
Things will be slightly different on the mobile site. I have checked out jquery mobile and its how I want to write the mobile site. I think the layout of the two sites will be too different to do on one page. On Oct 5, 9:49 pm, Nichole wrote: > Have you thought of designing for all viewports fr

[appengine-java] Re: Mobile subdomain in app engine

2011-10-05 Thread Nichole
Have you thought of designing for all viewports from the start instead of a redirect? see the new jquery library http://jquerymobile.com On Oct 4, 11:57 am, WillSpecht wrote: > Can someone give me a basic rundown of how to set up a mobile site on > app engine. I already have a standard site