🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

playmvc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

playmvc

0.0.1
Rubygems
Version published
Maintainers
1
Created
Source

Usage

这是一个为playframework从命令行下生成 viewmodel controller helper view route 文件的生成器

Demo:

$: ruby playmvc/lib/playmvc.rb user username:String password:String age:int married:boolean id:int --namespace com. umeng --action create,name:String,age:int,email:String update,name:String,age:int,email:String delete,id:int

ruby playmvc.rb MODEL_NAME Property1:javatype ... Propertyn:javatype --super super --namespace com.lincolnlau --action ACTION1 ACTION2,Parameter:type ACTION3,Parameter:type,Parameter:type

--super 为viewmodel 的父类 --namesapce 为package名 --action 为关于contoller中action中的描述  action默认的返回参数都将是 viewmodel

FAQs

Package last updated on 09 Dec 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts