Hi all,

one useful feature of the Django web framework is that it is easy to access 
the database and change it on the fly. I am not using a DB, but a hash 
inside of Racket for various reasons. I understand that it would be easy to 
connect to a database in any language, and getting the hash is a different 
beast - but I am wondering if there is an easy way such that I could tell 
the racket web server via a command line or REPL interaction "(update-user 
uid key-name new-value)" or some such.

Is that easily possible? (And very secondarily: Is this a stupid idea? But 
even if it is, it's what I am under time pressure to get working, as a 
proper solution ain't gonna happen in time.)

I guess I could add some function to the server that gets called via a 
specific url that writes to some file, which I then edit manually (or via 
the REPL) and which gets read in again. A bit cumbersome, but I've done 
worse.

Cheers,
Marc

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/9f011618-8351-43f1-9eda-49f3ef966b4b%40googlegroups.com.

Reply via email to