Roundup Tracker - Issues

Message5858

Author antmail
Recipients antmail, rouilj, schlatterbeck
Date 2016-07-15.11:13:47
Message-id <1731755200.20160715141340@inbox.ru>
In-reply-to <1467857079.7.0.753572009232.issue2550923@psf.upfronthosting.co.za>
> At: https://sourceforge.net/p/roundup/mailman/message/34268641/

> is a discussion of computed properties for a class.

I  think  this  is very interesting issue. I think we must discuss a
design and future direction of roundup-tracker.

There are my raw thoughts.
 I  think that a ReadOnly  properties is more suitable to roundup-tracker
 conception  than  Computed. Firstly it can be typified and then
 used in template as usual.
 The example of external address book will look like:

user = Class(db, "user",
                ...
                phone=ROString("getPhoneFromLdap")
                ...
then:

  def getPhoneFromLdap(MyUser):
         return lookupPhoneGivenUser(Myuser['username'])
History
Date User Action Args
2016-07-15 11:13:47antmailsetrecipients: + antmail, schlatterbeck, rouilj
2016-07-15 11:13:47antmaillinkissue2550923 messages
2016-07-15 11:13:47antmailcreate