By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,967 Members | 2,124 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,967 IT Pros & Developers. It's quick & easy.

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

P: 14
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.
Nov 7 '15 #1
Share this Question
Share on Google+
7 Replies


Dormilich
Expert Mod 5K+
P: 8,639
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).
Nov 7 '15 #2

P: 14
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.
Nov 7 '15 #3

Dormilich
Expert Mod 5K+
P: 8,639
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.
Nov 7 '15 #4

P: 14
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 .
Nov 8 '15 #5

Dormilich
Expert Mod 5K+
P: 8,639
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.
Nov 8 '15 #6

P: 14
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.
Nov 13 '15 #7

Dormilich
Expert Mod 5K+
P: 8,639
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.
Nov 16 '15 #8

Post your reply

Sign in to post your reply or Sign up for a free account.