Changeset 959

Show
Ignore:
Timestamp:
05/03/05 09:34:52 (4 years ago)
Author:
torben
Message:

updated changelog with NAP cache changes, minor fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tarball-docs/CHANGES

    r935 r959  
    6565    classes for further information. Quick hints: Invalidation is now done 
    6666    on a per-object level (invalidate($guid)), all content-cache related  
    67     options like no-cache are now in $midcom->cache->content. 
     67    options like no-cache are now in $midcom->cache->content. Most components 
     68    have been adapted to utilize these fetaures. 
     69  + Added the NAP cache module, which should greatly speed up navigation  
     70    building and metadata processing. Whenever possible, use the objects 
     71    contained in MIDCOM_NAV_OBJECT when doing queries to the database, as 
     72    this automatically takes the visibility settings into account. Check  
     73    the documentation of NAP (resolve_guid) and the NAP cache classes in  
     74    the midcom.services API documentation package. Most components have  
     75    been adapted to utilize these features. 
     76  ! The midcom-cache-stats helper has not yet been reimplemented. 
    6877 
    6978- Datamanager 
     
    7382  ! The longtext inputstyle has been moved to wrap text using nl2br when  
    7483    displaying using the view mode of the widget.  
     84  + Added support to change the lables of the save and cancel buttons.  
     85    They are automatically translated as usual. 
     86  - Optimized the schema translation, it now only translates the schema 
     87    you actually need. The schema is not translated before calling init, 
     88    so when patching schemas during runtime, do it before initializing and 
     89    you will benefit from the automatic translation as well. 
     90  + Added support for leaf invalidation with creation mode awareness: 
     91    Under normal circumstances, only the leaf is invalidated, but if a 
     92    new object is created, NAP invalidates the current content topic 
     93    from the component context, assuming that this is the topic that 
     94    should be invalidated. There is no configurability in this behavoir 
     95    yet. 
    7596 
    7697- I18n 
     
    81102  ! Centralized the iconv handling into the I18n service. You should no  
    82103    longer call iconv directly, but use $i18n->iconv instead. 
    83   + Added support to change the lables of the save and cancel buttons.  
    84     They are automatically translated as usual. 
    85   - Optimized the schema translation, it now only translates the schema 
    86     you actually need. The schema is not translated before calling init, 
    87     so when patching schemas during runtime, do it before initializing and 
    88     you will benefit from the automatic translation as well. 
    89104 
    90105+ Indexer 
     
    105120    solution, as you usually want to access the navigatonal data from the 
    106121    context you are running in. 
     122  ! Integrated with the NAP cache backend, which stores all available  
     123    NAP objects in a BDB database for quick accesses. The Metadata code 
     124    does use the MIDCOM_NAV_OBJECT members by default and is therefore 
     125    operating cached as well. 
     126  + Optimized the GUID resolver code. First, the GUIDs of the various 
     127    NAP objects are now tracked by the NAP core, speeding up GUID lookups 
     128    for known objects greatly. During this, a interface function made  
     129    available for us in the external NAP API in midcom_helper_nav utilizes 
     130    this information so that resolve_guid works on the cached information 
     131    implicitly, as long as the corresponding leaves/nodes have already 
     132    been loaded. 
     133  + Rewrote the NAP parameter access code to utilize the  
     134    $object->$domain_$key syntax instead of $object->parameter to save 
     135    repeated database queries. 
    107136 
    108137