Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Grafito in a website? #5

Closed
drkameleon opened this issue Jan 25, 2021 · 1 comment
Closed

Using Grafito in a website? #5

drkameleon opened this issue Jan 25, 2021 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@drkameleon
Copy link
Contributor

@MichaelCMcCann arturo-lang/arturo#23

How feasible would it be to embed a Gafito database into a webpage and make it browsable in real time?

@drkameleon drkameleon added enhancement New feature or request question Further information is requested labels Jan 25, 2021
@drkameleon
Copy link
Contributor Author

@MichaelCMcCann

Now, that's a very interesting one.

Let's see...

First of all, a Grafito database is stored as an SQLite database - so wherever you can use an SQLite database, you could easily use a Grafito database.

Now, if the question is about using the whole package (meaning the database as a pure graph database, with the appropriate commands and all...) then:

  • If we're talking about a website with a backend and the database running in the backend, then it should be perfectly possible
  • if we are talking about grafito running via .js, then that should be perfectly possible as well (since Grafito is essentially Arturo on steroids, which is written in Nim, which in turn is compilable to JavaScript) - however, I admit I haven't invested enough time into this part...

What are you thinking of exactly? Can you give me an example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant