• 首页
  • 脚本说明
    • 脚本介绍
    • 第一个助码脚本程序
    • 常用类型哈希表
    • 常用类型哈希表集合
    • 常用类型字符串
    • 基本数字类型
    • 数据库操作
    • Excel操作
    • 模拟http请求
  • 通用基类
    • ZmHash
    • StringUtil
    • FlowDefine
    • FlowDefineLine
    • ZmHashList
    • FlowDefineStep
    • JobBase
    • IModelData
    • FrameController
    • FrameDao
    • FlowBase
    • ZmActiveRequest
    • ZmQueryConditionList
    • ZmQueryTable
    • ZmStr2StrHash
    • ZmReturnMsg
    • MainModel
    • ViewModelBase
    • ZmConfig
    • ZmListBase
    • ZmList
    • MapperBase
    • ZmServiceBase
    • ZmController
    • IZmServiceBase
    • ActionModelView
    • ZmPageData
    • ReturnMessage
    • ReturnData
    • SearchData
    • FrameFlow
  • 数据库操作
    • BaseProvider
    • ZmSqlParam
    • ZmSqlParamList
  • 工具函数
    • JsonHelper
    • HttpUtil
    • RandomUtil
    • VerificationCode
    • CryptUtil
    • ZmQRCode
    • SmsSenderHelper
    • ZmUtil
    • ExcelUtil
  • 首页
  • 脚本说明
    • 脚本介绍
    • 第一个助码脚本程序
    • 常用类型哈希表
    • 常用类型哈希表集合
    • 常用类型字符串
    • 基本数字类型
    • 数据库操作
    • Excel操作
    • 模拟http请求
  • 通用基类
    • ZmHash
    • StringUtil
    • FlowDefine
    • FlowDefineLine
    • ZmHashList
    • FlowDefineStep
    • JobBase
    • IModelData
    • FrameController
    • FrameDao
    • FlowBase
    • ZmActiveRequest
    • ZmQueryConditionList
    • ZmQueryTable
    • ZmStr2StrHash
    • ZmReturnMsg
    • MainModel
    • ViewModelBase
    • ZmConfig
    • ZmListBase
    • ZmList
    • MapperBase
    • ZmServiceBase
    • ZmController
    • IZmServiceBase
    • ActionModelView
    • ZmPageData
    • ReturnMessage
    • ReturnData
    • SearchData
    • FrameFlow
  • 数据库操作
    • BaseProvider
    • ZmSqlParam
    • ZmSqlParamList
  • 工具函数
    • JsonHelper
    • HttpUtil
    • RandomUtil
    • VerificationCode
    • CryptUtil
    • ZmQRCode
    • SmsSenderHelper
    • ZmUtil
    • ExcelUtil
脚本介绍
说明 助码脚本语言(zmscript)产生于助码软件中,主要为了表达一些特别个性化的逻辑 解释、翻译与编译 zmscript既可以直接在助码软件中以解释的方式运行,又可以翻译成java、c#和php等其它语言 还可以直接编译成二进制文件(编译功能助码软件目前没有用到) zmscript 可以用码流/微流进行可视化表示,又可以由微流翻译而成 主要特性 友好的语法 zmscript诞生于助码低代码软件,为了降低使用者的学习成本, 其语法和java、c#非常接近,如果您以前使用过java或者c#,可以很快的上手,降低了很多学习成本 zmscript支持以下java语法 ZmScript package com.zhumadev.startzhuma.demo.design.controller; import com.zhumadev.startzhuma.appcom.common.framework.ZmHash; import com.zhumadev.startzhuma.appcom.common.framework.StringUtil; import com.zhumadev.startzhuma.demo.common.framework.FrameController; @Controller @Area("demo_design") @RequestMapping("demo/design/Hello") public class HelloController extends FrameController{ @RequestMapping("helloData.html") @ResponseBody public ZmHash helloData() { ZmHash hash = new ZmHash(); return hash; } } zmscript支持以下c#语法 ZmScript namespace com.zhumadev.startzhuma.demo.design.controller { using com.zhumadev.startzhuma.appcom.common.framework.ZmHash; using com.zhumadev.startzhuma.appcom.common.framework.StringUtil; using com.zhumadev.startzhuma.demo.common.framework.FrameController; [Controller] [Area("demo_design")] [RequestMapping("demo/design/Hello")] public class HelloController : FrameController{ [RequestMapping("helloData.html")] [ResponseBody] public ZmHash helloData() { ZmHash hash = new ZmHash(); return hash; } } } 混合写在一起也是支持的 ZmScript package com.zhumadev.startzhuma.demo.design.controller; import com.zhumadev.startzhuma.appcom.common.framework.ZmHash; using com.zhumadev.startzhuma.appcom.common.framework.StringUtil; import com.zhumadev.startzhuma.demo.common.framework.FrameController; @Controller [Area("demo_design")] [RequestMapping("demo/design/Hello")] public class HelloController extends FrameController{ [RequestMapping("helloData.html")] @ResponseBody public ZmHash helloData() { ZmHash hash = new ZmHash(); return hash; } }
下一篇:第一个助码脚本程序
联系电话:17321408562 上海洽发信息科技有限公司 张经理 2022 上海洽发 沪ICP备16029095号-6