Hello,

 

I've been using OrientDB in university research projects since a few 
months, and I'm very pleased with what it can offer. I know I did not yet 
have the occasion to scratch the surface of what OrientDB really is.

 

At this point I need to build an application that will use OrientDB to 
store information about research publications. 

 

I plan to build a web app using HTML5 techniques (i.e. HTML5, JS, AJAX, 
PHP).

 

I've used OrientDB with Java, but now I'd like to extend the use of 
OrientDB to my HTML5 web app.

 

What solution would be best?

 

I have read about the following two methods:

 

   1. Using the PHP libraries for connecting to OrientDB on the server 
   2. Using the JavaScript API to connect to OrientDB using server-side 
   scripting. 

 

I would prefer the 2nd option (server-side JS) since this is what, I think 
is used by the OrientDB Studio and it seems more complete, though I'm ready 
to also use the PHP option. 

 

My question is: can I use JS with OrientDB to query the dbs and run insert 
/ update operations on it in a web app? I'm worried about security here. If 
the web app is running on my server and the OrientDB is on the same server 
as the web app, then is it possible to do that JS scripting without the 
end-users being able to execute arbitrary commands and damage the OrientDB 
server?

 

Would you please advise on the best option?

 

Any help is always greatly appreciated!

Jeremie
 

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to