定制 metamodels/core 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

metamodels/core

Composer 安装命令:

composer require metamodels/core

包简介

MetaModels core

README 文档

README

Build Status Latest Version tagged Latest Version on Packagist Installations via composer per month

MetaModels

Deutsch - s.u.

So what are MetaModels?

MetaModels are data models you can configure in the Contao Backend. Every MetaModel consists of various attributes of certain data types (attribute types are available as extensions and get registered upon installation). In addition, several MetaModel can be linked to each other via relations as single or multiple selections can be linked with each other. This allows very complex data structures to be mapped in Contao, e.g. for product catalogues, employee lists, event management, etc. Programming knowledge is generally not necessary for the creation not necessary.

To present the data on the screen (i.e. website, RSS feed, etc.), you define render settings for the MetaModel which define how the various attribute output shall look like (image sizes, use light boxes, etc.).

Filtering data in list views needs configuration of filter settings. Filter settings are a very complex topic, as they can be nested (AND/OR conditions i.e.) and be of various nature.

Before you start it is helpful to look at the MetaModels manual. There you will find actual information about the usage and the installation.

Install

You can install MetaModels core with Contao Manager - search "metamodels/core" - or you can use composer

php web/contao-manager.phar.php composer require metamodels/core

Then add all the necessary attributes, filters or MetaModel extensions.

Please check the manual to see which versions are available and which Contao version works with them. Please also note that the latest version is not always available on Github and that a newer version may only be available as an "early adopter" with special access - see Fundrasing.

For the first evaluation of the possibilities of MetaModels you can also use metamodels/bundle_start, which installs some attributes and filters.

Please do not forget to perform the migration of the database!

Docs:

Feel free to contribute the MetaModel Documentation in EN or DE

Resources:

History:

Metamodels are the replacement for the famous Catalog extension for Contao CMS.

As the catalog extension was growing too complex to maintain and most support for extendability was rather hacky, we decided it was time to take everything we learned during the development of Catalog 1 and Catalog 2 to provide you with Catalog 3 which shall be even more flexible and very easy to extend with own classes.

As development did go on nicely, we realized that an easy migration from Catalog to the new version will not very likely be possible both in implementation and learning curve but that this will be a very own and unique extension resembling only of the name with it's ancestor. Therefore, we rebranded everything as "MetaModels".

Who did it?

See the CONTRIBUTORS.md file.

Third Party Licenses:

Icons: This software uses the Fugue Icons

Deutsch

Was ist MetaModells?

MetaModels sind Datenmodelle, die Sie im Contao Backend konfigurieren können. Jedes MetaModel besteht aus verschiedenen Attributen von bestimmten Datentypen wie Text, Checkbox, Dateien (Attributtypen sind als Erweiterungen verfügbar und werden bei der Installation registriert). Zudem können mehrere MetaModel über Relationen als Einzel- oder Mehrfachauswahl miteinander verknüpft werden. Damit lassen sich sehr komplexe Datenstrukturen in Contao abbilden wie z. B. für Produktkataloge, Mitarbeiterlisten, Eventmanagements usw. Programmierkenntnisse sind in der Regel für die Erstellung nicht notwendig.

Um die Daten auf dem Bildschirm (z. B. Website, RSS-Feed, etc.) darzustellen, definieren Sie Rendereinstellungen für das MetaModel, die festlegen, wie die verschiedenen Attributausgaben aussehen sollen (Bildgrößen, Verwendung von Lightboxes usw.).

Das Filtern von Daten in Listenansichten erfordert die Konfiguration von Filtereinstellungen. Filtereinstellungen sind ein sehr komplexes Thema, da sie verschachtelt (z.B. AND/OR-Bedingungen) und von unterschiedlicher Natur sein können.

Vor dem Start ist es hilfreich, einen Blick in das MetaModels Handbuch zu werfen. Dort findet man aktuelle Informationen über die Verwendung, Installation und Tipps&Tricks.

Installation

MetaModels Core kann mit dem Contao Manager installiert werden - suchen Sie nach "metamodels/core" - oder Sie können composer verwenden

php public/contao-manager.phar.php composer require metamodels/core

Dann fügen Sie alle notwendigen Attribute, Filter oder MetaModel-Erweiterungen hinzu, die Sie für ihr Model benötigen.

Bitte schauen Sie im Handbuch nach, welche Versionen verfügbar sind und welche Contao-Version mit ihnen funktioniert. Bitte beachten Sie auch, dass nicht immer die neueste Version auf Github verfügbar ist und dass eine neuere Version möglicherweise nur als "Early Adopter" mit speziellem Zugang erhältlich ist - siehe Fundrasing.

Für eine erste Evaluierung der Möglichkeiten von MetaModels kann man auch metamodels/bundle_start verwenden, das einige Attribute und Filter installiert.

Bitte vergessen Sie nicht, die Migration der Datenbank durchzuführen!

metamodels/core 适用场景与选型建议

metamodels/core 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 56.32k 次下载、GitHub Stars 达 99, 最近一次更新时间为 2013 年 05 月 02 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「core」 「contao」 「metamodels」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 metamodels/core 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 metamodels/core 我们能提供哪些服务?
定制开发 / 二次开发

基于 metamodels/core 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 56.32k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 101
  • 点击次数: 16
  • 依赖项目数: 73
  • 推荐数: 0

GitHub 信息

  • Stars: 99
  • Watchers: 19
  • Forks: 37
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2013-05-02