[Bf-python] More Proposed API changes.
Stephen Swaney
sswaney at centurytel.net
Fri Mar 9 16:24:16 CET 2007
On Fri, Mar 09, 2007 at 05:17:11PM +1100, Campbell Barton wrote:
> At some point I suggested database for accessing blender objects and
> Theeth gave a very convincing argument as to why this wasnt logical
> Blender data dosnt match a database or some such arg.
I would be interesting in hearing that argument.
> db or DB are more likely to be variable names in existing python scripts
> too. - DB isnt blender spesific, "blend.objects" - reads as a blender
> object DB.* isnt obviously blender data, tho its not that strong an
> argument, Id also prefer to have the new API all lowercase, and
> camelCaps where 2 words are used...
We can call it DataBase. DB was just a suggestion. 'Data' is fine.
> Since the data under "blend.*" or "DB.*" may also have user preferences
> with blend.config I dont think blend should be limited to data access only,
Here we are going back to something like 'Globals'.
> My vote is to have "blend" - after thinking about it some. external data
> is a part of the blend file even if its stored elsewhere.
The problme I have with 'blend' is the word is so strongly associated
with the .blend file.
--
Stephen Swaney
sswaney at centurytel.net
More information about the Bf-python
mailing list