shopify-apps
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseShopify Apps
Shopify 应用
Patterns
开发模式
React Router App Setup
React Router 应用设置
Modern Shopify app template with React Router
基于React Router的现代Shopify应用模板
Embedded App with App Bridge
基于App Bridge的嵌入式应用
Render app embedded in Shopify Admin
在Shopify管理后台中嵌入渲染应用
Webhook Handling
Webhook 处理
Secure webhook processing with HMAC verification
通过HMAC验证实现安全的webhook处理
Anti-Patterns
反模式
❌ REST API for New Apps
❌ 新应用使用REST API
❌ Webhook Processing Before Response
❌ 响应前处理Webhook
❌ Polling Instead of Webhooks
❌ 使用轮询而非Webhook
⚠️ Sharp Edges
⚠️ 注意事项
| Issue | Severity | Solution |
|---|---|---|
| Issue | high | ## Respond immediately, process asynchronously |
| Issue | high | ## Check rate limit headers |
| Issue | high | ## Request protected customer data access |
| Issue | medium | ## Use TOML only (recommended) |
| Issue | medium | ## Handle both URL formats |
| Issue | high | ## Use GraphQL for all new code |
| Issue | high | ## Use latest App Bridge via script tag |
| Issue | high | ## Implement all GDPR handlers |
| 问题 | 严重程度 | 解决方案 |
|---|---|---|
| 问题 | 高 | ## 立即响应,异步处理 |
| 问题 | 高 | ## 检查速率限制头信息 |
| 问题 | 高 | ## 请求受保护的客户数据访问权限 |
| 问题 | 中 | ## 仅使用TOML(推荐) |
| 问题 | 中 | ## 兼容两种URL格式 |
| 问题 | 高 | ## 所有新代码使用GraphQL |
| 问题 | 高 | ## 通过脚本标签使用最新版App Bridge |
| 问题 | 高 | ## 实现所有GDPR处理程序 |