Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is possible but to the best of my knowledge, <code>def.com</code> &amp; <code>xyz.com</code> will have to sign up for <a href="http://www.google.com/apps/" rel="nofollow noreferrer">Google Apps</a>.</p> <p>Once the domain is registered with Google Apps by your prospective customers, they can add not only Google Apps like Gmail &amp; Docs to subdomains (<code>mail.def.com</code> &amp; <code>docs.def.com</code>) but also any GAE apps (<code>fooapp.def.com</code>).</p> <ul> <li><em>Is the code duplicated or shared?</em><br> Shared</li> <li><em>Is the datastore definition duplicated or shared (or more precisly the kinds)?</em><br> While the schemas (definitions) are shared, what isn't shared is the <em>actual datastore</em>. i.e. each instance of your app will have separate data.</li> <li><em>Any domain attribute add to the entity?</em><br> You can figure out which domain your app is being served under using one of the CGI/HTTP environment variables. I don't remember which variable exactly but I'll update the answer once I look at some old code of mine. Once you find out what is the current domain, you can choose what to do with that info, including saving it to an Entity or simply denying access.</li> </ul> <p>Another cool feature about this is that let's say company <code>def.com</code> is using hosted GMail and have Google Authentication for their employees. Now if your app is using the GAE provided authentication hooks, then you can automatically authenticate just their employees without any code change on your part! At least, that's the theory since I haven't tried it out myself ;-)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload