I want to connect Orient DB from client side JS and want to fire queries and display the output on web application.
Could someone point me to client side orient db javascript library?
Orient DB site has following link and it is not working.
https://github.com/orientechnologies/orientdb/blob/master/server/src/site/js/orientdb-api.js
This is the new Javascript driver for OrientDB with a Blueprints/Gremlin like syntax. This library is in Alpha status.
https://github.com/orientechnologies/orientdb-js
If you're using Node.js, we suggest to use
https://github.com/orientechnologies/orientjs
instead.
UPDATE
For more information look at this link: http://orientdb.com/docs/last/Javascript-Driver.html
Hope it helps.
Regards
Related
I want to create a Flutter mobile application and I want to use MongoDB Atlas as a database. Is there a Flutter package available that can help me with that?
If not, is there any other way I can connect Flutter to a MongoDB Atlas Database? If there isn't, what other options do you suggest?
Thank you in advance.
you can use the package mongo_dart, here is the catch in the database URL give URL to your MongoDB atlas database and you will be able to perform all the crud operations as usual. The documentation is pretty well written so you wouldn't have to face any pro
As #JideGuru said, what you'll want is some form of API that you can then make requests to from your app.
i.e. Instead of accessing your DB directly, you'd do something in Flutter like http.get("yourserveraddress.com/getSomethingWithThisNumber/1") using the HTTP package.
I'd recommend looking at something like Node.JS (https://nodejs.org/), which is a runtime for Javascript that allows it to be ran on servers. I'm just getting started with it and for basic CRUD (Create, read, update, delete) operations on my SQL database its been perfect. I'm not a JS developer by any stretch, but it is easy enough to pick up.
You really should never have your database being directly accessed by a client, as that means leaving it exposed on the internet!
MongoDB have their own driver for NodeJS, I've used it with atlas and it seems solid.
(https://mongodb.github.io/node-mongodb-native/)
Hope this helps!
I have a web application that has to be linked with a graph database (Neo4J). Is it possible to read or write data to Neo4J using Appery?
I have chosen Appery because I am a beginner when it comes to databases and Appery seems to be easy in using REST API, as well as there is a free trial.
Feedback would be highly helpful. Thanks in advance.
Edit: I am aware that Neo4J uses Cypher queries. I would like to know if Appery supports Cypher as well.
Side note: The reason I am asking the question here without trying it out is because I dont have an active DB and my application is private due to my company's security policy
You can do that as long as Neo4J database has a REST API. If it does, then you can make calls to it from an Appery app (from Server Code or API Express). Hope this helps.
So I am making a hybrid app and have used Ionic Creator to design the UI which I have now exported. So I now have an Ionic wrapper (I think) with all the pages and tabs linking nicely. However, no functionality e.g database. Please could someone tell me what to do next as I am very confused. Do I need to set up a server as well? And which is the best database solution to work with Ionic?
Thanks in advance.
Not just a C dummy, also a web dummy
Yes, You have to Set up Server by yourself.
you can use any Back-end Language for this e.g
1) Node.Js
2) PHP
3) C#
4) Java
5) Python
For Nodejs see this Example Nodejs Example Server
Your can use Any data base of your choice. like MySql, Sql server, MongoDB or Firebase.
I would like to find out how to connect a database (e.g. Mongodb or MySql) to mithril js or vue js.
Any useful link or tutorials?
Thanks
Mithril is a tiny framework that focuses on MV? There are a minimal number of helpers built-in, such as basic AJAX, basic promises, and basic routing. If you need more functionality, such as database connectivity, you are responsible for writing plain old javascript. To my knowledge there are no publicly available examples of people using Mithril with mongodb. You will need to write a server-side script (python/php/javascript) to make your DB requests. You can then use Mithril's m.request helper to get the data to your app. I would check the mongodb website for such scripts.
This will be of little help to you, but the Mithril wiki has a section on database connectivity. Maybe in the future there will be more community contributions added.
https://github.com/lhorie/mithril.js/wiki/Community-Projects#databases
I have to create an Xpage web application which directly inputs data in a PostgreSql database. I've never worked with a PostgreSql database so I have absolutely no idea on how to approach this.
The application will be used through a browser if that matters.
Any help would be highly appreciated.
or, if you do not want to use the extLib for this purpose only, take a look at http://www.eknori.de/2011-07-03/using-mysql-data-in-xpages/ The article describes, how to access MySQL, but you can use the same code even for PstGreSQL with the correct JDBC drive.
The article also contains a link to OpenNTF where you can download the full source code.
You need to use a JDBC connection to connect to PostgreSQL. Use the extension library. This library contains a demo application which connects to a sql database using JDBC. Please take a look at this question : How do I access SQL from XPages.