创建日历而不重新发明轮子
我想在我的应用程序中有一个日历,我可以在其中创建事件。从头开始编写自己的日历对我来说可能是愚蠢的。我想利用现有的工具。
在我看来,Google Calendar API 可能是一个不错的选择。我最初想做的只是得到一个“Hello, World!”日历运行:我只想在网页中嵌入日历。最终,我希望能够更改日历的行为。例如,当您单击任何一天时,我希望它将用户带到特定的表单,而不是向他们显示弹出窗口。
Google Calendar API 文档中有很多材料,但我真的不知道从哪里开始。我所见过的一切都不像我想要的,这对我来说似乎很奇怪,因为这似乎是一个非常普遍的需求。
以前做过此类事情的人能够为我指明正确的方向吗?
I want to have a calendar in my app where I can create events. It would, or course, probably be stupid for me to write my own calendar from scratch. I want to leverage existing tools.
It seems to me that Google Calendar API would probably be a good choice. What I want to do initially is just get a "Hello, World!" calendar going: I just want to embed a calendar in a web page. Ultimately, I want to be able to change the behavior of the calendar. For example, when you click on any certain day, I want it to take the user to a certain form as opposed to showing them a pop-up.
There is a lot of material in the Google Calendar API docs and I don't really know where to start. Nothing I've seen looks quite like what I want, which seems weird to me because this seems like a pretty common need.
Is someone who has done this sort of thing before able to point me in the right direction?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的需求最终发生了足够的变化,从头开始创建自己的日历是有意义的。我使用的日历最终看起来不会很像 Google 日历。
My needs ended up changing enough that creating my own calendar from scratch makes sense. The calendar I use won't end up looking much like Google Calendar.