danilocgsilva/endpoints_catalog
最新稳定版本:2.4.0
Composer 安装命令:
composer require danilocgsilva/endpoints_catalog
包简介
README 文档
README
An endpoint is a compounding of a dns and a path.
We have the Dns and Path model to represent each one of those types. And have DnsPath model with represents the compound of both.
A platform model means an application. Those may exists in different environments: local development, testing, homologation and production, just for example. So several dns can belongs to a same platform. This means, if you assign a path to a dns, probably, or depending on the level of your software park development, all the others dns, belongs to the same platform, may have this same path as well.
Testing
For repository tests, which requires a real database connection, use this variables:
- DB_ENDPOINTSCATALOG_HOST_TEST
- DB_ENDPOINTSCATALOG_NAME_TEST
- DB_ENDPOINTSCATALOG_USER_TEST
- DB_ENDPOINTSCATALOG_PASSWORD_TEST
Patterns
A simple and efective Model > Migration patterns. Look to the MigrationManager, which is required in case of having differents database versions schema. If the project can existis with just one migration version, no MigrationManager is required.
Also there have a nice database manipulations to manage data for testing the repositories, without using repositories itself.
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-08-22