建立预约网站最简单的方法是什么?

发布于 2024-07-20 18:20:50 字数 140 浏览 6 评论 0原文

我的妻子正在开始一项新业务,并希望我为她创建一个网站,允许客户预约。 显然,我可以继续从头开始构建一些东西,但考虑到这是一个相当标准的问题,我更愿意重用现有的解决方案(最好是 Java,但这有一些灵活性)或构建在托管之上像谷歌日历这样的解决方案。 你会推荐什么?

My wife is starting a new business and wants me to create a website for her that will allow clients to book appointments. I could obviously go ahead and start building something from scratch, but given that this is a fairly standard problem, I would prefer to reuse an existing solution (preferably in Java, but there is some flexibility on this) or build on top of a hosted solution like Google Calendar. What would you recommend?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

时光礼记 2024-07-27 18:20:50

Google Calendar API 有大量工具。 具体请阅读 Google 日历开发者指南

There are extensive tools for the Google Calendar API. Specifically read the Google Calendar Developer's Guide.

知足的幸福 2024-07-27 18:20:50

不要从头开始构建自己的; 这是一个非常困难的过程(如果您好奇,请查看 iCalendar 标准;其中涉及的复杂性令人惊讶)。 作为以前尝试从头开始开发此类事物的人,我强烈建议使用现有的托管解决方案,例如 Google 日历。

Do NOT build your own from scratch; it's a surprisingly hard process (if you're curious, look into the iCalendar standard; there's a surprisingly large amount of complexity involved). As someone who has tried to develop this sort of thing from scratch before, I'd highly recommend using an existing hosted solution such as Google Calendar.

一枫情书 2024-07-27 18:20:50

在线预订系统比看上去复杂得多。 例如,您需要考虑防止重复预订。

您可以使用现有的在线预订系统,例如 www.EzyOnlineBookings.com,而不是重新发明轮子。 它价格便宜,足够灵活,可以处理大多数场景,而且看起来相当不错。 此外,如果您的妻子更喜欢使用 Google 日历处理业务,它还可以直接与 Google 日历集成。

Online booking systems are much more complex than they appear. You'll need to take into account double booking prevention, for example.

Rather than re-inventing the wheel, you could use an existing online booking system like www.EzyOnlineBookings.com. It's inexpensive, flexible enough to handle most scenario's, and looks quite nice. Also, it integrates directly with Google calendar, if your wife prefers to use Google calendar for business.

痴骨ら 2024-07-27 18:20:50

我刚刚制作了一个开源 Android 库来执行此操作,但将其转换为标准 java 库非常简单。 这是登陆页面:
https://bitbucket.org/warwick/schedule_utils_demo/src/master/

库支持根据计划项目、营业时间和给定时间计算实体下次可用的时间。

它还具有一种方法,可以根据营业时间和日程安排项目获取给定时间之间的可用时段列表。 您可以分叉该存储库并将其重构为 JavaScript 或您想要的任何语言。

希望这可以帮助

I've just made an open source Android library to do this but it is very simple to turn into a standard java library. Here is the landig page:
https://bitbucket.org/warwick/schedule_utils_demo/src/master/

The library supports calculating when an entity is next available based upon schedule items, hours of business and given time.

It also has a method to get a list of available slots between given times based upon hours of business and schedule items. You can fork the repo and refactor it over to JavaScript or what ever language you want.

Hope this helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文