java - Does Firebase will act as server? Where to write common code? -


i new android development. want create android app calculation. calculation generic , common user. instead of writing code in app. plan write business function in server side. collect request user , calculation in server side , send result client again. nowadays fire-base popular android development instead of server , database.

question is:

  1. is possible fire-base? cloud function helpful this? please let me know possible way
  2. can cloud function written in java?

  1. yes it'll possible. pretty simple task though , require work set first. if in firebase, can first push data firebase database, add listener cloud function's db trigger calculate result , store in db. can load result db.
    should aware cloud functions not included in free plan.

  2. no, requires use javascript / node.js. https://firebase.google.com/docs/functions/get-started


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -