Re: [google-appengine] A simple search against a datastore. (Newbie to AppEngine, currently PHP/MySQL).
This page is pretty much required reading: http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html That covers the low level queries, how exactly you do it within the context of your application, is very hard to say, because we dont know the specifics. 2009/12/29 Diligent qpwoeir...@comcast.net: In trying to make a transition from a purely PHP/MySQL background to AppEngine's Python/Datastore I find myself not quite getting done what I need. Currently I have a web application in which a user chooses multiple search criteria via an HTML form and passes those variables to a PHP script that in turn queries a MySQL database and then displays the results based on what they were looking for. The data is largely static in that it doesn't get changed or added to very often but the specifics that a user searches on can vary greatly, eg., SELECT * FROM widgets WHERE color = 'blue'; or SELECT * FROM widgets WHERE color = 'orange' weight 3; etc. (From the search form the user can choose from 1 to 20 different criteria). I've been doing a lot of reading and a LOT of Google searching looking for an example of what I am trying to accomplish, which one wouldn't think would be difficult to get results since I'm just basically wanting to submit multiple search criteria against the datastore and retrieving the relevant results. At this point I would ask and greatly appreciate a pointer, an example, a link to somewhere or anything that could help me in my endeavor so I may get myself back on track. Will go back to reading the docs and I thank you for your time, Q. -- 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-appeng...@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. -- 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-appeng...@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.
Re: [google-appengine] A simple search against a datastore. (Newbie to AppEngine, currently PHP/MySQL).
2009/12/29 Diligent qpwoeir...@comcast.net: In trying to make a transition from a purely PHP/MySQL background to AppEngine's Python/Datastore I find myself not quite getting done what I need. Currently I have a web application in which a user chooses multiple search criteria via an HTML form and passes those variables to a PHP script that in turn queries a MySQL database and then displays the results based on what they were looking for. The data is largely static in that it doesn't get changed or added to very often but the specifics that a user searches on can vary greatly, eg., SELECT * FROM widgets WHERE color = 'blue'; or SELECT * FROM widgets WHERE color = 'orange' weight 3; etc. (From the search form the user can choose from 1 to 20 different criteria). I've been doing a lot of reading and a LOT of Google searching looking for an example of what I am trying to accomplish, which one wouldn't think would be difficult to get results since I'm just basically wanting to submit multiple search criteria against the datastore and retrieving the relevant results. At this point I would ask and greatly appreciate a pointer, an example, a link to somewhere or anything that could help me in my endeavor so I may get myself back on track. Will go back to reading the docs and I thank you for your time, Q. djangoforms are very good and a legacy sync would be remote api or quickfixed your own http tunnel for the technical effort sql⇌gql heuristically from java/php/mysql/xml next implementation in yaml and gql factor 10 cleanliness improvement and superior readibility overall technically selfevident choice lucrative unsaid. -- 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-appeng...@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.
Re: [google-appengine] A simple search against a datastore. (Newbie to AppEngine, currently PHP/MySQL).
2 most helpful for legacy connections and refactoring links djangoform and remote_api http://code.google.com/appengine/articles/djangoforms.html http://code.google.com/appengine/articles/remote_api.html -- 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-appeng...@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.