sql - AppEngine Entities and management -


i going use app engine app building.

i doing this.. app user enters in information

class employee(db.model):   first_name = db.stringproperty()   last_name = db.stringproperty()   hire_date = db.dateproperty()    location = db.stringproperty();    attended_hr_training = db.booleanproperty()   employee = employee(first_name='antonio',                 last_name='salieri')  employee.hire_date = datetime.datetime.now().date() employee.attended_hr_training = true  employee.put() 

once user inserted user receive number identified while in database.

i notify pc app new user has been added , pc have ability send app , message goes correct id message intended for.

is possible app engine?

edit:

i have main pc app connects each entity gets notified when new entry made.

i not mean "number identified".

you can store record key emp_key = employee.put() let access record without doing database query. if mean.

as far notifying "pc app" depends on app capable of. can use channels, or xmpp send notice. pc app query datastore periodically. there lots of ways that. send pc app record key string can return in request record.

although honest pc app 1990. should using web browser in case go ae-baseapp/python click github link , go check out source code. examples of asking there. still basic app working on demonstrates how things in app engine.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -