Ive sent emails on the list twice, and one email to you personally
about this. I have not implemented it since it never received any
feedback.

There will be a 'pre' and 'post' of 'select', 'insert', 'update',
'delete', separated by an underscore.

The dal will maintain a list of functions for each of these. The
function will be executed in order of assignment.

So

db.register('post_delete', copyRecordFunc)
db.register('post_delete', notifyByEmail)

In the dal.py it will look like

results = self._cursor.execute('blah')
for f in self.signals['post_delete']:
   f(results)

-Thadeus





On Thu, Apr 8, 2010 at 10:59 AM, mdipierro <[email protected]> wrote:
> y have missed or forgotten about this. I would be in favor
> of this but I would like to see a complete naming scheme and
> understand how do you handle the case when two functions are regitered
> for the same function. How do you han

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to