ujamii/openimmo-typo3 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

ujamii/openimmo-typo3

Composer 安装命令:

composer require ujamii/openimmo-typo3

包简介

TYPO3 CMS extension for showing OpenImmo based data on a TYPO3 based website

README 文档

README

Packagist

OpenImmo and the OpenImmo logo are registered trademarks of the OpenImmo e.V. Neither is this package an official distribution nor am I associated with this organisation!

This TYPO3 extension uses the openImmo API to generate TYPO3 compatible classes (Extbase/Fluid). All the code is generated:

  • all Model classes
  • all Repository classes
  • TCA and SQL

TODOs

  • solve all TODOs in code (4)
  • make this backwards compatible
  • exporting OpenImmo XML from TYPO3 database content
  • make model and repository classes automatically "use" traits if they match by name instead of hardcoded addition
  • currently, the extension is monolingual in many places, so make use of default TYPO3 translation features

Installation

composer req ujamii/openimmo-typo3

Usage

  1. Install composer package.
  2. Install TYPO3 extension in extension manager
  3. Done :-)

Importing OpenImmo XML into the TYPO3 database

Importing new data assumes you have a zip file located in your server filesystem. The import command will extract the zip file into a new folder, truncate the db tables (optional, default is true) and then parse the xml file and add the db content again.

vendor/bin/typo3 openimmo:import --pid=1

The pid option is mandatory, sourceFolder is /uploads/tx_openimmo/ by default. The command expects exactly one *.zip file in that directoy. The content will be extracted into a new directory with the same name as the zip file and the archive will be deleted after the import is done.

The command will fail if there are more or less zip files in that directory or if there is not exactly one xml file in the archive. Just type --help to see all the options and default values.

Exporting OpenImmo XML from TYPO3 database content

TODO

Update code based on newer API classes

  1. Update the composer package, including dev packages AND --optimize-autoloader, otherwise the class loading will fail!
  2. vendor/bin/typo3 openimmo:generateCode will fill the Classes/Domain/* directories with new classes. Also the ext_tables.sql file is generated as well as everything in Configuration/TCA/
  3. composer dumpautoload to update the autoloading.
  4. Clear all(!) the TYPO3 caches
  5. Done.

Compatibility hint

There are 2 branches legacy/v7.6 and legacy/v7.6-nocomposer (this one also contains the vendor folder) for backwards compat, as I needed this myself. The extension is working from the frontend perspective, as well as the import command (although the command call looks a litte different: php typo3/cli_dispatch.phpsh extbase import:executeImport). But: The code generation command has NOT been backportet, so this will not work there!

License and Contribution

GPLv3

As this is OpenSource, you are very welcome to contribute by reporting bugs, improve the code, write tests or whatever you are able to do to improve the project.

If you want to do me a favour, buy me something from my Amazon wishlist.

ujamii/openimmo-typo3 适用场景与选型建议

ujamii/openimmo-typo3 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 301 次下载、GitHub Stars 达 6, 最近一次更新时间为 2019 年 02 月 15 日, 在 PHP 生态内属于活跃度较高的组件。

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

围绕 ujamii/openimmo-typo3 我们能提供哪些服务?
定制开发 / 二次开发

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

  • 总下载量: 301
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 9
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 4
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2019-02-15