谷歌的Firebase对阿里巴巴等应用程序有效吗?

时间:2015-08-11 13:23:16

标签: firebase firebase-realtime-database

由于与解析相比,Firebase的使用量较少,因此对于像阿里巴巴,Olx,Quicker这样的应用使用Firebase是否合理?

如何抓取我周围100公里的广告?基于存储在表中的lat长数据。

以上用例的firebase效率如何?

如何在Firebase中创建复杂的数据结构和关系?

这样的结构
 [
 {
"salelead_id": 1,
"salelead_user_id": 2,
"salelead_post_date": "12-2-1500",
"salelead_offer_start": "12-2-1500",
"salelead_offer_end": "12-2-1500",
"salelead_loc_lat": 12,
"salelead_loc_long": 12,
"salelead_details": {
  "sid": 0,    <-----    primery key of sale table
  "user_id": 0,  <-----  User primerykey from user table
  "title": "Mobile",
  "desc": "good quality",
  "quantity": "1000",
  "price": "1000/piece",
  "post_date": "12-06-2015",
  "offer_start": "12-06-2015",
  "offer_end": "12-07-2015",
  "loc_lat": 12.34,
  "loc_long": 23.43,
  "photo_url": [
    {
      "url": "https://s3.amazonaws.com"
    },
    {
      "url": "https://s3.amazonaws.com"
    },
    {
      "url": "https://s3.amazonaws.com"
    }
  ],
  "video_url": [
    {
      "url": "https://s3.amazonaws.com"
    },
    {
      "url": "https://s3.amazonaws.com"
    },
    {
      "url": "https://s3.amazonaws.com"
    }
  ]
}
}
 ]

0 个答案:

没有答案