Miles wrote:
Hi,

(sorry, I have been "round the houses" with this query, but am hoping this is the best place for it)

I'm using a slightly-modified version of SQLPASPlugin with plain PAS to
integrate with a sql database.  It's all actually been fairly painless
to get set up, so thanks!

I noticed in the readme the following note:

"Currently SQLPASPlugin is dependent upon PlonePAS for writing
properties back to the SQL datasource. The plan in the future would
be to remove the requirement on PlonePAS."

As I already have this working with only very minor changes to the
current source, is this something I can contribute?  The plone-specific
pieces all look easily extracted to a separate package (at the moment I
just commented them out).

Considering PAS doesn't really do updating of properties I'm wondering how you mananged to do that.

   - additional data type 'unix_time' converting a seconds-since-1970 int
value into a datetime (and back again when setting);

That probably needs to be timezone aware if it isn't already.

Is this something that might be of general use?

We also have a need for genericsetup import/export adapters for the
plugin, so may also be able to contribute these if they are useful.

If it sounds useful, then I'll write some tests to cover the changes and
send the patch to ?

Or: request access to the collective and commit this in a SQLPASPlugin branch directly.

Wichert.

--
Wichert Akkerman <[EMAIL PROTECTED]>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to