journey
journey copied to clipboard
App Engine support
Hi there, how hard would be to add App Engine support? I'm mainly java dev but keen on trying GO and have experience with App Engine - had a quick look into database package and seems to me like I would need to add just a new impl for GAE datastore and then somehow inject differenet database impl into main code - is that right or are there any other catches?
Hi nztomas, that would be the first and probably biggest step. I think it should be done with future Postgres and MySQL support in mind - meaning that switching between db drivers should be a matter of one line, and most (if not all) of the databse package can be used with every one of those drivers. Should be possible with SQLite/MySQL/Postgres. I don't know about GAE as I haven't worked with it much yet (just briefly in Python about two years ago).
Other catches that come to mind:
- Uploading images to GAE (currently saved to the file system in the server/admin.go/apiUploadHandler function.
- How will themes and plugins be uploaded/updated/used? Can you just put new files into content/themes or content/plugins?
However, I think that work would pay off as that would be a great feature (hosting a (low volume) blog for free would be easy that way).
I am also interested in GAE support
GAE support would be great
Is this now more likely to be possible with the removal of limitations in https://blog.golang.org/appengine-go111?