Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个二维码生成器。一旦用户填写表格以生成任何类型的二维码(短信、电子邮件、电子名片等),数据将被转换为二维码扫描仪可以识别的标准格式。例如 mailto:name@email.com。现在我的问题是是否在前端或后端进行此转换。
一般来说,为了安全和组织,最好在后端(服务器端)而不是前端(客户端)处理表单。