| 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. |
|---|
| | 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. |
|---|
| | 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. |
|---|