Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I have 9000 offline records in the list-view of react native app,I want to add search filter without affecting performance of the application .Please suggest me what approach I should adopt to search the large local data.
If your really need great performances, you should try Realm Database.
Maybe it's not a proper answer because you are not asking for a new DB mechanisms but I think it's the way to go.
However, a React native version is out (V1.0) and do a better job than AsyncStorage. Then you can make very complex queries like SQL and handle relations betweens datas.
More informations and benchmarks : https://realm.io/news/introducing-realm-react-native/
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
hi my friends I have a question
how can I create multi language site with Nuxt?
my site is ssr and I don't want use any package beacuse client wants to me handle this without package
Not sure why you don't want to use the i18n package but as told before: You can create your own solution with some vanilla code I guess.
IMO, you will lose quite some time doing this. I'd prefer to use a package who does that well rather than trying to achieve it myself because I'd probably bump into un-expected edge cases.
You can always get inspiration from the i18n module source code itself but then, why not use it directly. Using a battle tested package in the JS world is not a bad idea. Especially if it's mantained well (by Pooia).
Reminds me of this one: https://imgs.xkcd.com/comics/standards.png
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
How to secure firebase code,I mean can anybody edit its code through google chrome console like view items or other things or there is any thing to prevent it?I am fairly new and only now the basics.
Your firebase code is sitting with the rest of your website code. I do not believe there is any major issue unless you are using a client side rendered framework for your web application and have left your configuration keys for firebase in the frontend and on top of that your firebase access rules are set to public. Setting the proper firebase rules - you may want to read this: https://firebase.google.com/docs/database/security/
is most important. This applies to all Storage, Database and Authentication.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
How to update database and fetch updates in DB in real time?
I have tried some on the internet. I have found that I can use socket.io, but I am not sure this will be the most effective procedure. I am hoping to use javascript languages. Also I have found that Angular and Firebase will do the job. but I want to use my own database.
Any idea?
Cheers.
For real time CRUD operations with DB better to use cloud databases, Firebase, AWS dynamoDB are better choices because they are scalable according to your need. You can make use of MongoDB also, you've to configure it with Nodejs & write simple API to read & write data in database. It works really great & easy to implement. Follow some sample of MEAN stack app. (Mean.io) Again there's cloud version of MongoDB also available (mlab.com) to host your database.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am new in JavaScript and i want to create a page which store data in database so please help me and suggest me what i read regarding storing the data ?
If you only have little knowledge of Javascript and you're trying to have persistent data, I would recommend looking into localStorage and sessionStorage for the user session.
If, on the other hand, you're looking into storing data to a proper non-volatile database like PostgreSQL, but still has got only a bit of Javascript knowledge, I would recommend Meteor.js, which is a full-stack Node.js (javascript) framework and is very easy to use.
It does use MongoDB by default instead of PostgreSQL, but for prototyping does the job perfectly.
Have a look here https://www.meteor.com/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm new on using node.js
Surfing around the web i couldn't find any example of code of a simple sign-up/sign-in that could also show me how to manage database in node.
I mean the app.js page for server and the related client-side html page, and their relation. Can someone help me or give some useful link i couldn't find?
using Cassandra and i.o. socket, it'd be the best help.
You can use Passport library http://passportjs.org/ , there should be an example there. You can also use https://npmjs.org/package/passport.socketio if you want to login by socket.io
I recommend using http://passportjs.org
It has support for simple username/password authentication as well as OAuth etc
http://passportjs.org/guide/username-password/
There's also a good tutorial here:
http://danialk.github.io/blog/2013/02/23/authentication-using-passportjs/