简体   繁体   English

我可以在 Shopify 上托管完整的非 Shopify web 应用程序吗?

[英]Can I host a full non-Shopify web app on Shopify?

Currently, I have a separate web app and Shopify site.目前,我有一个单独的 web 应用程序和 Shopify 站点。 The separate web app is on its own domain and it links to items on the Shopify site.单独的 web 应用程序位于其自己的域中,它链接到 Shopify 站点上的项目。 The front-end for the separate web app is vanilla HTML, vanilla CSS and vanilla JavaScript.单独的 web 应用程序的前端是 vanilla HTML、vanilla CSS 和 vanilla Z686155D805A60EDFFE96 And the back-end for the separate web app is PHP and MySQL.单独的 web 应用程序的后端是 PHP 和 MySQL。

We want to move the separate web app onto the Shopify site/domain.我们希望将单独的 web 应用程序移动到 Shopify 站点/域上。 Is it possible to build a custom web app with Shopify?是否可以使用 Shopify 构建自定义 web 应用程序? I know that you can do some sort of Rails liquid template coding for Shopify, but are there limitations?我知道您可以为 Shopify 进行某种 Rails 液体模板编码,但有限制吗? What about the back-end, would I just have to make REST API calls or can I use SQL database tables?后端呢,我只需要进行 REST API 调用还是可以使用 SQL 数据库表?

Either way it seems like I'd have to rewrite most of the app.无论哪种方式,我似乎都必须重写大部分应用程序。

You are free to make a Shopify store your own web app, but you will be using Javascript to do so and not PHP/MySQL.您可以自由地制作 Shopify 存储您自己的 web 应用程序,但您将使用 Javascript 来执行此操作,而不是 PHP/MySQL。 The reason is that JS is functionaly part of the web browser whereas your solution is not.原因是 JS 是 web 浏览器的功能部分,而您的解决方案不是。

You can inject content to a normal Shopify theme template that potentially uses a PHP/MySQL App, but note that that is going to always be slow due to architecting how those kinds of apps interface.您可以将内容注入到可能使用 PHP/MySQL 应用程序的普通 Shopify 主题模板中,但请注意,由于构建这些类型的应用程序界面的方式,这总是很慢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM