Hi Community,
MidCOM - Midgard Components Framework 1.1 released
MUENCHEN, Mar 26th 2003 -- Linksystem Muenchen has released version 1.1
of the Midgard Components Framework (MidCOM). MidCOM provides a
framework for creating reusable and configurable components for web
applications using the Midgard Content Management Framework.
MidCOM development was started by Linksystem Muenchen in March 2002,
and it has evolved into a production-stable release. MidCOM is
available under GNU LGPL.
1.1 has several enhancements over 1.0, a single API change and a couple
of bugfixes:
- Core
- URL Processing changed again to work top-down, as performance
reasons are no longer important in combination with the caching
engine
- MidCOM now keeps track of the current processing stage in
midcom_application::_status, which can take one of the five values
MIDCOM_STATUS_PREPARE, MIDCOM_STATUS_CANHANDLE,
MIDCOM_STATUS_HANDLE, MIDCOM_STATUS_CONTENT, MIDCOM_STATUS_CLEANUP.
These are integer constants, so comparisons like $midcom->state >
MIDCOM_STATUS_HANDLE are possible. The old flag midcom_application::
_codeinit is now deprecated. The current Status can be queried by
the method midcom_application::get_status();
- Removed midcom_application::code_global, which was already
deprecated in MidCOM 1.0.
- The global variables $midcom_cachedir and $midcom_cachehandler can
now be used to change the defaults ("/tmp/", "db2") used by the
caching engine.
- Administration Interface System
- Fix bug #413, missing parameters now either have defaults or emit
error messages.
- Datamanager
- Readonly fields are now supported. If you set "readonly" => true
in the schema definition, the datamanger will not display the
editing widget in form mode, but only show call display_view()
there. Useful for URL Names and the like, which get set
automatically, but are not changeable by the user.
- Hidden fields are now supported. If you set "hidden" => true in the
schema definition, the datamanager will skip this field both during
draw_view and during draw_form.
- Navigation Access Point System
- The Root Node now automatically has an empty MIDCOM_NAV_URL
- API-CHANGE: Changed the operation mode of NAP to no longer
distinguish between admin-mode and non-admin mode. This
results in a change of the NAP concept classes, dropping the
parameter $admin in set_object(). The NAP data to be returned now
holds two arrays called MIDCOM_NAV_SITE and MIDCOM_NAV_ADMIN each
of which consists of MIDCOM_NAV_URL and MIDCOM_NAV_NAME. See
the docs for midcom_helper__basicnav and the architecture
specification for further details.
- _loadNodeData now trims the NAME fields before checking them
against "" to avoid accidentially empty fields
- Miscellaneous
- Updated the Documentation and Specification to match the current
state of MidCOM.
- Documented most of the not-yet-documented classes, but there is
still work to be done.
- Did some source reformatting.
- Example Components
- Most of the components should now be updated to reflect the
changes introduced above.
MidCOM 1.1 is available for download at:
http://www.nathan-syntronics.de/midgard/midcom/downloads.html
MidCOM requires working PHP 4.1.0+ and Midgard 1.4.4 installations.
More information
Torben Nehmer, MidCOM lead developer
[EMAIL PROTECTED]
http://www.midcom-project.org/
Midgard - Content Management Framework
Midgard is a freely available framework for Content Management Systems
and other information management solutions. Midgard provides developers
with an easy-to-use framework built on the common Apache, PHP and MySQL
components.
Midgard development mailing list
[EMAIL PROTECTED]
http://www.midgard-project.org/
Live long and prosper!
Torben Nehmer
--
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key: https://www.link-m.de/pgp/t.nehmer.asc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]