谷歌文档共享应用程序
我想开发一个应用程序,从相当广泛的角度来说,它将涉及创建和共享(只读)谷歌文档。文档阅读者将是消费者,而不是文档创建者组织内部的客户。
我真的不知道如何创建这个应用程序。我主要是一名 .NET 开发人员,因此正在考虑创建一个 Windows Azure 应用程序,该应用程序利用 google API 来管理共享,但我不喜欢该应用程序如此脱节的方式。即在google中创建文档,然后切换到Azure应用程序进行共享。我想如果我创建了一个使用 Word 文档的应用程序,文档创建和共享之间仍然存在脱节,但仍然感觉不对。
我研究过使用 Google App Engine,但我不懂 Java(我在大学学过一点)或 Python,所以没有研究很长时间。我也不想为可能需要很长时间开发并且可能永远无法完成的东西预先付费。这不是为了我的雇主,这只是一个副业/家庭项目。
我想这是一个相当开放的问题,因为我真的在寻求有关开发使用谷歌文档的应用程序的建议和信息。如果有人对做类似事情的文章或示例应用程序有任何建议,那就太好了。
谢谢 本
I want to develop an application which, in fairly broad terms, will involve creating and sharing (read only) google documents. The document readers will be consumers rather than clients internal to the document creaters organisation.
I don't really know how to approach creating this application. I'm primarily a .NET dev so was thinking of creating a Windows Azure application which utilises googles APIs for managing the sharing but I don't like the way that the application would be so disjointed. i.e. create documents in google and then switch to the Azure app for the sharing. I guess if I created an application and which used Word documents there'd still be a disjoint between document creating and sharing but it still feels wrong.
I looked at using the Google App Engine but I don't know Java (I did a little at uni) or Python so didn't look for very long. I also didn't want to pay upfront for something that might take a long time to develop and may never get finished. It's not for my employer, it's just a side/home project.
I guess this is a fairly open question because I'm really asking for advice and information on developing an application which consumes google docs. If anyone has any suggestions on articles or sample applications doing a similar thing then that would be great.
Thanks
Ben
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如您所观察到的,您真正需要做的就是与 Google Docs API 进行交互。您可以上传最方便生成的任何格式的文档,包括 Word 文档或 HTML,Google 文档会为您将它们转换为其原生格式。您可以根据需要设置共享设置,并将文档上传到用户帐户(事先获得用户许可)或角色帐户,然后与目标用户共享文档。
对于 App Engine,无需支付任何启动费用:计费是基于使用情况的,并且有大量的免费配额,因此您无需支付任何费用即可试用。学习一门新语言也从来不是一件坏事,而 Python——在我看来——是一门特别好的语言。
All you really need to do is interact with the Google Docs APIs, as you've observed. You can upload docs in whatever format is most convenient to generate, including word docs or HTML, and Google Docs will convert them to its native format for you. You can set sharing settings as you wish, and upload docs to a user's account (with their prior permission), or to a role account, then share the doc with the target users.
Regarding App Engine, there's no charge to get started: billing is usage based, with a generous free quota, so you needn't pay anything to try it out. Learning a new language is never a bad thing, either, and Python is - IMO - a particularly nice one.