Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2 from dhermes/master
Browse files Browse the repository at this point in the history
Call out Python and Java differences in README.md.
  • Loading branch information
danholevoet committed Feb 5, 2013
2 parents 4d9d41f + 43317c9 commit 59913dc
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
appengine-endpoints-tictactoe-ios
================================
=================================

This application implements a simple client for a Tic Tac Toe game using
Google Cloud Endpoints, App Engine, Objective-C, and iOS.
Expand All @@ -11,6 +11,18 @@ This example also uses ARC. If your application uses ARC, you must set the
Project Navigator -> Target -> Build Phases -> Compile Sources, set the
-fno-objc-arc compiler flag for each of the client library sources.

**NOTE:** This sample was written with a Java backend in mind. As a result,
the generated code will differ slightly than that for the [Python Tic Tac
Toe sample][8]. For the most part this will be immaterial to the sample,
but there are a few key differences:
- The generated schema names in the discovery document are different in Python
than in Java, even though the hold the same data. This will cause the generated
classes corresponding to the schema to have different names.
- Python supports enums and uses `'WHEN'` and `'TEXT'` for the `order` field in
queries, while Java simply uses `"0"` and `"1"`, respectively.
- The Python backend stores the current user for authenticated requests, but does
not return the user in the score insert response or score list response.

## Products
- [App Engine][2]
- [iOS][3]
Expand Down Expand Up @@ -38,3 +50,4 @@ Project Navigator -> Target -> Build Phases -> Compile Sources, set the
[5]: https://developers.google.com/appengine/docs/java/endpoints/
[6]: https://code.google.com/apis/console
[7]: https://github.com/GoogleCloudPlatform/appengine-endpoints-tictactoe-java
[8]: https://github.com/GoogleCloudPlatform/appengine-endpoints-tictactoe-python

0 comments on commit 59913dc

Please sign in to comment.