脚手架 - 是否有替代 angular-cli 的服务生成方式?
scaffolding - Is there any alternative to angular-cli for service generation?
我正在寻找通用的 scaffolding tool
(JS 或 Python 代码输出),如 yeoman
,支持 service generation
功能,如 angular -cli (ng g s myservice
).
有什么想法吗?
你应该看看 Telosys:http://www.telosys.org/
此工具旨在非常快速地搭建脚手架。它使用 simple/light 文本模型 (DSL) 和可自定义的模板(基于 Velocity)。
它可以为任何类型的语言生成代码,您可以创建自己的模板。
对于 JS 和 NodeJS 你可以试试这组模板:https://github.com/so-technology-watch/telosys-templates-nodejs
对于Python,您可以使用以下模板:
Python REST with Bottle : https://github.com/telosys-templates-v3/python-web-rest-bottle
Python 对 SQL 炼金术的坚持:https://github.com/telosys-templates-v3/python-persistence-sqlalchemy
您还可以为 REST 测试生成 PostMan 脚本:https://github.com/telosys-templates-v3/web-rest-postman
我正在寻找通用的 scaffolding tool
(JS 或 Python 代码输出),如 yeoman
,支持 service generation
功能,如 angular -cli (ng g s myservice
).
有什么想法吗?
你应该看看 Telosys:http://www.telosys.org/
此工具旨在非常快速地搭建脚手架。它使用 simple/light 文本模型 (DSL) 和可自定义的模板(基于 Velocity)。 它可以为任何类型的语言生成代码,您可以创建自己的模板。
对于 JS 和 NodeJS 你可以试试这组模板:https://github.com/so-technology-watch/telosys-templates-nodejs
对于Python,您可以使用以下模板:
Python REST with Bottle : https://github.com/telosys-templates-v3/python-web-rest-bottle
Python 对 SQL 炼金术的坚持:https://github.com/telosys-templates-v3/python-persistence-sqlalchemy
您还可以为 REST 测试生成 PostMan 脚本:https://github.com/telosys-templates-v3/web-rest-postman