I'm new in parse platform. My old apps used java apps with postgresql as database. Now i want to migrate it with parse platform.
Please explain me how to do that?
Thank you...
Depending on the complexity of your data model, a dump/import may not be a good option. If your model is simple, an import may work ok. But bear in mind that you are moving from a SQL database to a NoSQL based service. If you have join tables etc in your PostgreSQL db, these are not the way to go with Parse. The query paradigm is different.
Moving from SQL to NoSQL is mostly not about export and import, but planning your data model for NoSQL. Your best option is to plan out your new model (after reading up on NoSQL), and then create a script that will pull data from your old database and push it to your new. Unless your database is simple, this operation should not be taken ligthly.
If your app becomes very popular, the effort you put in now could be what makes or breaks your service later on.
Related
I'm developing a websocket real time browser game ( socketio nodejs) and wanted to start implementing my database and would like to know which type of database (nosql, sql .. ) would fit my situation best.
A small description of how i intend to use it :
I want to have game rooms with all their options stored ( which can be changed frequently)
a list of the connected users and their linked accounts( if a user is a guest he won't have a linked account, however if he does it would be linked with another table containing some extra data like lvl or something like that)
a list of user thema they like ( so for example when a game starts, it will take the themas in common for all users to use the game) all typical themas are stored in another big table that has a lot of data that won't be updated in a while.
So basically I have some tables that need a lot of quick and concurrent access which get updated and deleted frequently and some that don't need it and have a lot of permanent data.
I was thinking about using mongodb but honestly don't want to commit on something i don't have experience with ( i do have sql knowledge). I need suggestions thanks
TD;LR: I would personally go with PostgreSQL.
Recently, I had the same question as you, but with the only difference, I was not looking to build game rooms. After some research, I was convinced that PostgreSQL is awesome and suitable for every project. Well, tech giants use it too, including Facebook, Uber, Netflix... (https://stackshare.io/postgresql). It is scalable, easy to set one DB up, great community with lots of tutorials (both videos and articles) and it is also extensible, as it supports JSON, which is great!
You can use a great ORM for Node.js, such as TypeORM or Sequelize. Furthermore, I suggest you take a look at GraphQL, an API that has subscriptions (real-time operations). As I guess it will be a web application, I highly recommend you to go with React.js for the front-end functionalities, which interact great with GraphQL & Node.js. Last but not least, lots of developers and companies use both MongoDB and PostgreSQL for different functionalities and purposes for each. For user's tables use PostgreSQL, for multiple "big" JSON objects use MongoDB.
I hope that helps and lets you understand what you want in a more clear way. Good luck with your project!
I’m webGL engine developer (ThreeJS) in small company. We have some events in few weeks and my boss just told me that i have to make registration form as soon as possible, also one page should show names, lastnames and company of all registered members. Problem is that i’m very bad in databases and i have really small amount of time to re-learn it. How can i store registration data on Server without Database? I looked up on web and most instructions are unclear(because i’ve not worked on database before) and others are using localstorage (as far as i know its used for cacheing data)
What you're looking for is a flat file database system, try taffyDB it basically use Json to store its data or Papa parse that uses CSV files, you can easily edit with excel for example.
If you're really good with javascript you can consider using a real database after all,mongodb is a bit advance but still not as complicated as mysql or even sqlite.
As a learning project I have been using AngularJS to create a quiz website. I having a web hosting package with 123-reg.co.uk and managed to create a MySQL database with a table I hope to store peoples scores who complete the quiz.
Ultimately this means I will be able to build a scoreboard on my site. I am hoping to create two functions in my site, one which will retrieve the scores and one which will post new scores. I believe in order to achieve this I will need to use PHP to retrieve and post data however I am a little unsure where to start.
If anyone could provide me with some pointers I would be grateful as I am not particularly familiar with MySQL databases or PHP. I did find this guide on connecting to MySQL database from 123reg.co.uk however I am struggling.
Thanks,
Simon
The tutorial that you mentioned is outdated, relies on mysql_connect that was deprecated in PHP 5.5.0 and removed on PHP 7.0.0. Find a more up to date tutorial that uses mysqli or PDO.
Also you will need to learn some security concerns, I really recommend you to study a bit before doing this, since you can have serious problems if implement a insecure script to do this.
There are great PHP Frameworks that implement all of this in a secure and easy way, try searching for Laravel Framework. Isn't for begginers, but with a little knowlegend of PHP Object-oriented and MySQL (or any SQL supported by Laravel) you can do what you want.
There are also a nice site to learn Laravel, called Laracasts with very nice screen-casts teaching Laravel (for begginers or not).
I'm about to start writing an application and I want to include newer technologies to improve my knowledge and gain a skill set.
I'm using mysql to store user data (no choice), Angular.js to display/template content on the dom, and I wanted to use node.js to return results from the database in json format to be used by Angular.js.
My assumption was I could use node.js (along with the node-mysql module and maybe express)to accomplish my database queries that feed into my Angular.js templates.
Additionally, the application will live on a different server than the database itself and may reside in a mobile framework.
Am I way off base when it come to how to use node.js? Am I just using the wrong tool? Am I on the right track?
Any help, explanation, and points in the right direction would be great. Most of the info I've seen are copy/paste from the node.js site/wiki and don't really answer my question.
This is largely an opinion-based question and likely to be closed, but you're not way off base. What you want to do is absolutely (and commonly) done using Node.js.
As a complete aside, you might like to check out Platform-as-a-Service providers such as Heroku.com and Nodejitsu.com; both offer great and easy Node.js hosting and addons (such as NoSQL and RDBMS data stores) which have free tiers.
For that matter, MongoLab and MongoHQ both offer free tiers independent of Heroku, which you could use from your MySQL-only hosting provider if you like.
I am new to node.js.
I am currently in a pre-development phase of an application.
The application will be for tracking status of task of employee. The admin will have the right to export excel which will have data of employes for a given date range
Currently I am thinking WCF Service and SQL Server for the backend.
Few days back, someone told me about node.js and it's capabilities. And yes I was impressed
I wanted to know if I write a service with node.js, how will the service be hosted, also if I can write code for exporting data in excel, and lastly which database providers/adapters does node.js support?
Apologies if there is typo or this question need to be asked in any other community of stackExchange.
Thanks in advance
This is a great and simple plugin for Node to export Excel (xlsx).
https://npmjs.org/package/excel-export
As for the database, I'd recommend using MongoDB as it stores JSON. It's a bit getting used to, but you'll like the concept of documents and it's query capabilities. If you do get into it, here's a shortcut (took me a long time to wrap my head around this):
MongoExplorer (Silverlight MongoDB Manager):
http://mongoexplorer.com
*took me a long time to understand the connections of DBs, collections and then documents. Mongo Explorer really helped.