# from Kelley G
# on Friday 11 May 2007 09:33 am:
>i'd prefer to work in php as i'm a drupal developer and would like to
>integrate this into a drupal module.
>thoughts about making 1.4 present an api that could be called from
>whatever language?
Dirvish typically runs with root privileges. I don't think I could
sleep at night with it connected to PHP via an API-level interaction.
That whole global-variable-populated-by-GetOptions thing puts a bit of
a damper on things too.
The config-file format is *almost* YAML. I think writing the config
files would be the way to go, provided that you deal with the locking
and concurrency issues which come from having multiple clients.
But I don't think any of this is very feasible until the code gets a
thorough refactoring, runs under strict, and has tests. (Alas, I
suppose I just have to keep mentioning that until I get the time to do
it myself.)
--Eric
--
software: a hypothetical exercise which happens to compile.
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish