寻找有关虚拟主机解决方案的建议(Wix,Squarespace,WordPress,请关注 [英] Looking for suggestions on web hosting solution (Wix, Squarespace, WordPress, for following

查看:102
本文介绍了寻找有关虚拟主机解决方案的建议(Wix,Squarespace,WordPress,请关注的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想托管一个干净的品牌网站,该网站允许用户提交数据,这些数据将按常规节奏发布并根据数据处理结果发送自定义电子邮件.我可以编写代码并在AWS方面拥有丰富的经验,但我正在寻找最快的解决方案.

I want to host a clean, branded site that allows users to submit data which I will post process on some regular cadence and send custom emails based on data processing results. I can write code and have extensive experience with AWS, but am looking for the fastest solution.

任何经验丰富的Web开发人员都建议使用哪种托管解决方案?Wix,Squarespace,WordPress.我希望使用Squarespace,但找不到清晰的文档说明我可以创建一个写入数据库的表单(即DynamoDB,Redshift).

Any experienced web developers have suggestions of which hosting solution to use? Wix, Squarespace, WordPress. I would prefer Squarespace but am not finding clear documentation stating I can create a form which writes to a database (I.e. DynamoDB, Redshift).

任何建议都会很棒!谢谢!

Any suggestions would be great! Thanks!

推荐答案

在Squarespace方面拥有丰富的经验,我将解决问题是否可以将Squarespace表单连接到第三方数据库,并且,如果是的话,通过什么方式?" .虽然我不会讲Wix或Wordpress,但希望它能提供一些客观的答案,并为您的大环境/问题提供帮助.

Having a good deal of experience with Squarespace, I will address the question "Is it possible to connect a Squarespace form to a third-party database and, if so, by what means?". While I won't address Wix or Wordpress, hopefully it will provide some objective answers and provide some help to your larger context/question.

Squarespace 不支持任何服务器端代码;它仅支持在代码注入代码块和开发人员模式.

Squarespace doesn't support any server-side code; it only supports supports the addition of HTML, CSS and Javascript within Code Injection, Code Blocks, and Developer Mode.

因此,您的选择是:

  1. 使用JavaScript发送数据到客户端.编写自己的HTML表单,并通过开发人员模式的代码块,markdown块插入.然后编写相应的JavaScript,以将提交的数据发送到您的外部数据库.或者,使用Squarespace表单块,阻止执行默认提交,而改用您自己的方法.

  1. Send the data client-side with JavaScript. Write your own HTML form and insert it via code block, markdown block, of developer mode. Then write the corresponding JavaScript to send the data, on submit, to your external database. Alternatively, use a Squarespace form block, prevent the default submission from executing and use your own methods instead.

将Squarespace表单块连接到Google表格,然后通过Apps脚本将表单连接到外部数据库.一旦连接,使用Apps脚本(设置为在将行添加到工作表时触发)从工作表获取提交并将其发送到您的外部数据库(类似于

Connect the Squarespace form block to a Google Sheet and the sheet to the external DB via Apps Script. Once connected, use Apps Script (set to trigger when a row is added to the sheet) to obtain the submission from the sheet and send it to your external database (similar to this or this, but you'll be going "the other way", sending data to the external DB from Apps Script).

使用Zapier(或类似服务)缩小差距,方法是使用 .看来,您至少需要为Zapier付费,因为这是高级集成".对于Squarespace,如果要使用其内置的Zapier集成,则必须支付较高费用的计划(如前所述,可以通过使用电子邮件存储选项来避免此费用).

Use Zapier (or similar service) to bridge the gap, either using Squarespace's built-in integration or setting up Zapier on your own and setting the Zapier email address as the email recipient. You can use Zapier to send form submissions to a new item in DynamoDB, for example. It appears that, at a minimum, you'd have to pay for Zapier as that is a "Premium Integration". For Squarespace, if you were to use their built-in Zapier integration, you'll have to pay for a higher-cost plan (which could be avoided by using the email storage option instead, as mentioned previously).

这篇关于寻找有关虚拟主机解决方案的建议(Wix,Squarespace,WordPress,请关注的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆