User Tools

Site Tools


programming:python:libgal3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
programming:python:libgal3 [2012/02/22 23:22] – [Donations] jayprogramming:python:libgal3 [2012/09/26 04:33] – [Exploring the Root Album] jay
Line 161: Line 161:
 updatedDatetime = root.getUpdDT() updatedDatetime = root.getUpdDT()
 </code> </code>
-An important thing to note with some of the above.  All the "members", "tags", "album_cover", and as we will see with images, "comments" are created on the fly with a //lazy// pull from the server.  If you are not familiar with what I mean by "lazy", that means that when, in your code, you access the "members" property of your album, a call will be made to the //at that time// to generate the objects for each member.  It is an on-demand approach to object creation.  It keeps the server access to a minimum so that there aren't calls being made to retrieve items that aren't going to be used.  The calls to the server for these items is only made once and all the "members" will be stored in memory for access after that.  **NOTE**: this also means that there will be a bit of a delay when you are first accessing properties like "members", "tags", "comments", etc.+An important thing to note with some of the above.  All the "members", "tags", "album_cover", and as we will see with images, "comments"are created on the fly with a //lazy// pull from the server.  If you are not familiar with what I mean by "lazy", it means that when, in your code, you access the "members" property of your album, a call will be made to the //at that time// to generate the objects for each member.  It is an on-demand approach to object creation.  It keeps the server access to a minimum so that there aren't calls being made to retrieve items that aren't going to be used.  The calls to the server for these items are only made once and all the "members" will be stored in memory for access after that.  **NOTE**: this also means that there will be a bit of a delay when you are first accessing properties like "members", "tags", "comments", etc.
  
 ==== Images ==== ==== Images ====
programming/python/libgal3.txt · Last modified: 2023/11/10 20:06 by jay