电子商务应用程序的Cloud Firestore. [英] Cloud firestore for ecommerce app.

查看:94
本文介绍了电子商务应用程序的Cloud Firestore.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基于对Cloud Firestore的所有承诺,我想知道它是否适合电子商务应用.一种社交市场应用程序.非常感谢.

With all the promise of cloud firestore, I would like to know if it’s appropriate for an ecommerce app. A kind of social marketplace application. Thanks a lot.

推荐答案

从我的角度来看,

From my point of view, Firestore will be a perfect fit for an e-commerce app. Main features of firestore that help in e-commerce:

1.实时同步

在应用程序中所做的所有更改将立即反映在所有设备上.因此,更新产品的详细信息将非常有效.

All the changes that made in the app will be reflected instantly on all the devices. So updating details of a product will be very efficient.

2.完整的离线支持

电子商务应用程序的重要功能之一是,它应可离线运行,并且Firestore无需任何额外的编码即可为我们提供此功能

One of the important features of an e-commerce app is, it should be functional offline, and firestore provides us this feature without the need of any extra coding

3. NoSQL数据库和查询

管理数据库以及从中读取数据非常容易,而且firestore还支持链式过滤器,并且可以在单个查询中结合对属性的过滤和排序.

Managing DB and writing and reading from it, is very easy, and also firestore supports chain filters and combine filtering and sorting on a property in a single query.

4.云功能支持

这是一个很酷的功能,对于根据用户行为发送通知等非常有用.

This is a cool feature and it will be very useful for sending notification etc according to user behaviors.

5. Android,IOS和Web支持

Firestore在Android,iOS和Web中均提供支持.

Firestore have support in android, ios and web.

如果使用Firestore,则可以大大减少开发时间.

You can reduce development time drastically if you use firestore.

这些都是我能想到的所有优点.现在有一些 缺点,这是在firestore中搜索以及对不等式的查询限制.

These are all the advantages that I can come up with. Now there are some small disadvantages, which is searching through firestore and the query limitation on inequality.

它在文档中指定:" Cloud Firestore不支持本机索引编制或在文档中搜索文本字段.".但是他们还提到了使用第三方搜索服务(例如Algolia)的解决方案.

It is specified in there documentation: "Cloud Firestore doesn't support native indexing or search for text fields in documents.". But they also mentioned a solution to use third-party search service like Algolia.

我不会盲目去消防站.还要仔细将其与其他替代方案进行比较.

I will not say go for firestore blindly. Carefully compare it with other alternatives too.

这篇关于电子商务应用程序的Cloud Firestore.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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