[Zope-dev] AdaptableStorage

2003-01-15 Thread seb bacon
Shane, AdaptableStorage is insane and beautiful - congratulations :-)

It could fit a possible project we have coming up where a requirement is 
to store content in an XML format inside MS SQL Server.

Do you have a TODO list?  Are there any particularly alpha parts?  I 
would need to get an idea of the risk I was taking on, but if the list 
is sufficiently small, I love to help mature and extend the product.

Seb


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: AdaptableStorage

2003-01-15 Thread Shane Hathaway
seb bacon wrote:

Shane, AdaptableStorage is insane and beautiful - congratulations :-)


Thanks!  I've been working on this for a long time.  Two years ago a 
Digital Creations customer demanded proper object-relational mapping. 
The customer abandoned us for different reasons, but I feel like the 
root cause was our inability to fulfill that basic requirement.  Ever 
since then I've focused on this.  It took 99% perspiration and 1% 
inspiration, yet inspiration accounted for 99% of the implementation. :-)

It could fit a possible project we have coming up where a requirement is 
to store content in an XML format inside MS SQL Server.

It should fit that use quite well, I think.


Do you have a TODO list?  Are there any particularly alpha parts?  I 
would need to get an idea of the risk I was taking on, but if the list 
is sufficiently small, I love to help mature and extend the product.

I didn't release the alpha until all the gnarly details were dealt with, 
like moving objects on the filesystem and implementing complex mappers. 
 The only things left to do before calling it a beta release are:

- Implement specific mappers for more Zope 2 object types, like DTML 
methods, BTreeFolders, etc.

- Come up with a good manual cache invalidation scheme.  Currently, you 
can disable the cache (or turn on volatile mode, which is really the 
same thing) and you'll see immediate updates, but you'll lose a lot of 
performance.  There needs to be a way for applications that modify the 
database to tell Zope about the modification, so Zope can reset its caches.

Shane


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] AdaptableStorage

2003-01-15 Thread Paul Winkler
On Wed, Jan 15, 2003 at 05:30:58PM +, seb bacon wrote:
 Shane, AdaptableStorage is insane and beautiful - congratulations :-)

It seems to inspire insanity :) kosh and i got into a discussion on #zope
about using AdaptableStorage with reiserfs4, mapping zope properties
to reiserfs4 properties... finally, a fully really transparent 
unix filesystem - ZODB solution that isn't a half-assed version of either! 
didn't get into detail but it seems like it should be doable.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's THE BUTTERY THIGH!
(courtesy of isometric.spaceninja.com)

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Re: AdaptableStorage

2003-01-15 Thread azazel
Paul Winkler scrive: 

On Wed, Jan 15, 2003 at 05:30:58PM +, seb bacon wrote:

Shane, AdaptableStorage is insane and beautiful - congratulations :-)


It seems to inspire insanity :) kosh and i got into a discussion on #zope
about using AdaptableStorage with reiserfs4, mapping zope properties
to reiserfs4 properties... finally, a fully really transparent 
unix filesystem - ZODB solution that isn't a half-assed version of either! 
didn't get into detail but it seems like it should be doable. 


uhumm.. nice idea... i'm thinking also about using Subversion 
(subversiom.tigris.org), a cvs interesting alternative, as a storage for 
zope objects at some level. Subversion has the concept of  versioned 
properties on a file and, best of all, it has a complete python swig 
interface. 

I'm still thinking at what level should i do the mapping, if at Storage 
level or at user level, like CVSFolder does. 

After looking at the code, it seems that AdaptableStorage  could help on 
this. 

azazel

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] AdaptableStorage

2003-01-15 Thread Shane Hathaway
Paul Winkler wrote:

On Wed, Jan 15, 2003 at 05:30:58PM +, seb bacon wrote:


Shane, AdaptableStorage is insane and beautiful - congratulations :-)



It seems to inspire insanity :) kosh and i got into a discussion on #zope
about using AdaptableStorage with reiserfs4, mapping zope properties
to reiserfs4 properties... finally, a fully really transparent 
unix filesystem - ZODB solution that isn't a half-assed version of either! 
didn't get into detail but it seems like it should be doable.

That's not insanity, it's just discovering that what was nasty and 
difficult before is now doable. :-)  I really didn't appreciate the 
elegance of Mac resource forks until I created the .properties files. 
 I understand NTFS has multiple named forks and other filesystems like 
ReiserFS are developing similar capabilities.  Neat.  Let's use them!

Shane


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )


[Zope-dev] Effect of DB Writes on Performance

2003-01-15 Thread Brian R Brinegar
Hello,

What effect do ZODB Writes have on Performance? We use Zope in an
environment where users are constantly updating and maintaining content
within the ZODB. Do these writes to the Database slow down overall
performance?

-Brian


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] attaching images and wav file to email

2003-01-15 Thread Dieter Maurer
Mark Hendricks wrote at 2003-1-14 11:14 -0600:
  ...
  I am trying to attach images and other binary data to an email. The  
  text attachment works fine.
  ...
  dtml-sendmail smtphost=my.smtp.host
  To: [EMAIL PROTECTED]
  From: dtml-var email
  Subject: test3-w-image
  
This empty line is wrong (an empty line separates the mail
headers from the mail body).
But the dtml-mime must be part of the header!
  dtml-commentdtml-var subject/dtml-comment
  dtml-commentdtml-var body/dtml-comment
  dtml-mime type=text/plain encode=7bit
  dtml-var some_text
  
  dtml-boundary type=application/octet-stream disposition=attachment  
  filename=some_jpeg.getId() encode=base64
use filename_expr rather than filename
  dtml-var expr=some_jpeg.read()
  dtml-var some_jpeg
Are you sure, you want both of them?


Dieter

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] AdaptableStorage

2003-01-15 Thread THoffman
Solaris 9 also has extended Fileattributes 

From whats new in Solaris 9 The UFS, NFS, and TMPFS file systems have
been enhanced to include extended file attributes, which enable
application developers to associate specific attributes to a file. For
example, a developer of a file management application for a windowing
system might choose to associate a display icon with a file.

man (5) on fsattr http://docs.sun.com/db/doc/816-0220/6m6nkorp9?a=view

See ya

Tim


On Thu, 2003-01-16 at 03:47, Shane Hathaway wrote:
 Paul Winkler wrote:
  On Wed, Jan 15, 2003 at 05:30:58PM +, seb bacon wrote:
  
 Shane, AdaptableStorage is insane and beautiful - congratulations :-)
  
  
  It seems to inspire insanity :) kosh and i got into a discussion on
#zope
  about using AdaptableStorage with reiserfs4, mapping zope properties
  to reiserfs4 properties... finally, a fully really transparent 
  unix filesystem - ZODB solution that isn't a half-assed version of
either! 
  didn't get into detail but it seems like it should be doable.
 
 That's not insanity, it's just discovering that what was nasty and 
 difficult before is now doable. :-)  I really didn't appreciate the 
 elegance of Mac resource forks until I created the .properties files. 
   I understand NTFS has multiple named forks and other filesystems like 
 ReiserFS are developing similar capabilities.  Neat.  Let's use them!
 
 Shane
 
 
 ___
 Zope-Dev maillist  -  [EMAIL PROTECTED]
 http://lists.zope.org/mailman/listinfo/zope-dev
 **  No cross posts or HTML encoding!  **
 (Related lists - 
  http://lists.zope.org/mailman/listinfo/zope-announce
  http://lists.zope.org/mailman/listinfo/zope )



DISCLAIMER: This email, including any attachments, is intended only for use
by the addressee(s) and may contain confidential and/or personal information
and may also be the subject of legal privilege. Any personal information
contained in this email is not to be used or disclosed for any purpose other
than the purpose for which you have received it. If you are not the intended
recipient, you must not disclose or use the information contained in it. In
this case, please let me know by return email, delete the message
permanently from your system and destroy any copies. Emails and their
attachments may be interfered with, may contain computer viruses or other
defects and may not be successfully replicated on other systems. All
attachments are opened at the recipient's risk.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )