#28: AT Content Types as default types
Plone should move to Archetypes-based default types to make it easier to extend the built-in types - and to make it possible to leverage some of the built-in features of Archetypes. Ploneはビルトインタイプを広げることをより簡単にするためにArchetypesに基づくデフォルトタイプへ移らなければなりません−そして、作り付け家具の一部に影響を及ぼすことを可能にすることはArchetypesの主演します。
#28: AT Content Types as default types
Motivation 動機づけ
- CMF types are ancient, partly bad coded and lacking some import things like accessor/mutator (lot's of values are only available as attributes) CMFタイプは古くて、コード化されて部分的に悪くて、アクセッサ/mutator(価値の多くのものが、特質として使われるだけです)のような若干の輸入ものが不足しています Subclassing and enhancing CMF types is very hard CMFタイプを下位分類して、強化することは、非常に難しいです Document doesn't support reST, pdf/doc upload etc. 文書は、reST、pdf/医者アップロードその他を支持しません。 ATCT is using the full power of Archetypes and PortalTransform ATCTは、ArchetypesとPortalTransformのフルパワーを使っています It's very easy to enhance ATCT types ATCTタイプを強化することは、非常に簡単です
Proposal 提案
Currently Plone 2.0 is using the types from CMFDefault, CMFTopic and CMFCalendar. ATContentTypes (ATCT) is a feature improved reimplementation of the default types using Archetypes. 現在、Plone 2.0はCMFDefault、CMFTopicとCMFCalendarからタイプを使っています。ATContentTypes(ATCT)は、 Archetypesを使っているデフォルトタイプの特集改善されたreimplementationです。 Implementation 実施
ATContentTypes is a seperate product which depends on Archetypes (>1.2.5). Migration from CMF types to ATCT types is part of the product. ATContentTypesは、Archetypes(>1.2.5)に依存するseperateな製品です。CMFタイプからATCTタイプへの移動は、製品の一部です。
To make ATCT the default types and replacements of CMF types: ship ATCT with plone and make it a requirement run the migration of ATCT in the migration of plone replace the CMF types with the ATCT types disable the CMF types ATCTにCMFのデフォルトタイプと代わりを作ることは、タイプします: ploneでATCTを出荷して、それに要求をしてください ploneの移動において、ATCTの移動を走らせてください CMFタイプをATCTタイプと取り替えてください CMFタイプを使用不能にしてください
Right now (2003-03-31) ATCT is mostly working and I'll publish a first testing beta when AT 1.2.5-rc5 is out. たった今ATCTは大部分は働いています(2003-03-31)、そして、AT 1.2.5-rc5が外出しているとき、私は最初のテストベータを発表します。