From: Jack M. <ja...@xi...> - 2001-10-18 06:21:54
|
> I think many web apps including my own could realize a big performance gain > if they only had to fetch objects that changed. I'd really like to see > databases allow clients to listen for this info, or a solution that effects > the same thing but as an add-on/tool. I've done this in a convoluted way before with certain things like bare web pages that act like database views and caching tricks with squid :) The application was special and this worked well, but a generic database interface for this would be quite nice. Isn't this what triggers are for basically? I've never really needed to use them, and when I thought about it I was always discouraged by people telling me they were quite slow, etc. > Actually MK does nothing in terms of distributing your objects as > independent services accessed via TCP/IP. More often than not, I don't need > that in a project, so it wasn't a focus. Actually I have never needed that. And neither have I. But MK is doing basic management is it not? Not distributed stuff, but it's caching objects and data, etc? > But what do you want out of the middle layer? For starters, I'll assume > Pythonic objects that do something useful for you in the background. For normal web apps I want some object interface to the data. MK provides that. For this application I also want that interface. The benefits of separating that storage from the data access are outlined in your Intro to MiddleKit :) The difference here is not just that the storage is LDAP and not SQL, but I'm not sure if the MK data and LDAP data would be sharable. I haven't played with it yet, and maybe I should have first :) > Does > that include automated storage to LDAP? I have no problem writing methods for update/delete/etc for ldap. I don't really expect everything to be automatic. Mostly I want the same (or similar) interface from the application side. I can do this by writing everything, but I'm trying to figure some way to not do that... or at least some way where I only have to do most of it once. jack. > Does it also include some kind of > IPC access on an object and method level? > > -Chuck |