Joern Nettingsmeier wrote:
Andreas Hartmann wrote:
Joern Nettingsmeier schrieb:
[...]
andreas, where should the actual saving be implemented? my gut
feeling
says that our editor code should just throw an xml tree somewhere and
not be concerned with file operations or streams.
What do you mean with "throw somewhere"?
sorry for the sloppy language. i mean that an editor handler should not
be concerned with the gory details of storing the edited document. all
it should have to do is pass the final, validated and post-processed
XML
DOM tree to someone who takes care of it.
I guess the problem boils down to "pass".
Is it possible to find a least common denominator here?
What options are there?
- PUT request
- POST request parameter (text)
- POST request parameter (application/x-www-form-urlencoded)
no, i'm not talking about passing the data from a client browser. we
won't find a common denominator for that, since every editor is doing
it's own thing here.
and this is exactly what Neutron tries to solve. Instead writing for
each editor a dedicated connector implement Neutron once ;-)
Cheers
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
+41 44 272 91 61
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]