how can i use database for my java script app........................................

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • izawad
    New Member
    • Oct 2015
    • 14

    how can i use database for my java script app........................................

    hi friends;
    i am newbie in java script and i make a school app i want to use for data base like mango and fire base. how can i use? and what is the differences both.
    secondly how can i make a spinner loader when user validation or registration form will fill then show spinner and get my app.
    thanks to all advance.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    1) Mango is the fruit. The database is MongoDB. how to use the database depends on the used library as JavaScript (the core language) cannot work with external resources. as a general note, databases are not accessible in the browser. when working in a Node.js environment, kindly refer to the instructions given by your chosen database library (use npm to find a suitable one).

    Comment

    • izawad
      New Member
      • Oct 2015
      • 14

      #3
      i am so sorry to my Mango :)
      i have read about Node js and what is system of parts of node and mongo work together in a mechanism?
      or
      what is the mechanism of mongo? plz help me i have made node js environment.

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        what is the mechanism of mongo?
        want to understand how document-based databases work? the MongoDB docs will help you.

        for the more likely question how to use MongoDB, I have already told you, that you need a library to interact with MongoDB. and how to work with that library is written in their documentation.

        for general JavaScript documentation, MDN has proven worth.

        Comment

        • izawad
          New Member
          • Oct 2015
          • 14

          #5
          thanks for reply.
          how many types data base we have use in mobile app?
          is java script document-based databases?
          i am also use node js for server.i can not understand what is your mean( you need a library to interact with MongoDB)? i am not good in English plz don't mind if i do to mistake in writing. such i wrote mango Instead of mongo db .

          Comment

          • Dormilich
            Recognized Expert Expert
            • Aug 2008
            • 8694

            #6
            how many types data base we have use in mobile app?
            don’t know. I don’t use any.

            is java script document-based databases?
            that’s a joke, right?

            i can not understand what is your mean( you need a library to interact with MongoDB)?
            start reading some tutorials. google is your friend.

            if you’re hoping that anyone here will write your app for you then you’re wrong.

            Comment

            • izawad
              New Member
              • Oct 2015
              • 14

              #7
              hi Dormilich,
              thanks for guide of mongo db. i have read about mongo db online by mongodb.org. i make a data base sheet there r some problem but i will cover soon.
              i have some confusion my app.
              1= A simple calculator java script app has any data?
              2= what is differentiation in a native app and a web page?
              3= if i make a simple android app that consist of date making. that can i use there any data base or not?
              please tell me where i have use data base or not in app making.

              Comment

              • Dormilich
                Recognized Expert Expert
                • Aug 2008
                • 8694

                #8
                1 - yes
                2 - a native app uses the device’s OS. a wep page uses the browser as "OS"
                3 - depends on where the database is located. If it’s supposed to be on the device, you can only use the databases the device’s OS supports.

                Comment

                Working...