Socket
Book a DemoInstallSign in
Socket

ruby-extjs

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ruby-extjs

2.0.4
bundlerRubygems
Version published
Maintainers
1
Created
Source

Ruby::Extjs

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'ruby-extjs'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruby-extjs

Usage

Argumentos: [nameApp] [generateTipo] [modulo] [options]

Model
	$ ruby-extjs --g MyApp model Contatos id:int contato:string email:string

Controller
	$ ruby-extjs --g MyApp controller Contatos ch:id dr:contato cb:true

Store
	$ ruby-extjs --g MyApp store Contatos 

View
	$ ruby-extjs --g MyApp view Contatos id:ch nome:no email:ve telefone:m_fone

App
	$ ruby-extjs --g MyApp app

Parametros
1 - nameApp
2 - generateTipo
	*	app
	*	controller
	*	model
	*	store
	*	view
3 - modulo ~> Nome da tabela Ex.: Contato
4 - options 

	*	generateTipo => App

	*	generateTipo => Controller
		ch:id dr:nome cb: true
		Obs.:
			ch 	-> Chave Primaria						
			dr 	-> Ex.: Deseja deletar: record.get('nome')?
			cb	-> se o modulo tera um storeCombo

	*	generateTipo => Model
		id:int nome:string email:string telefone:string

	*	generateTipo => Store

	*	generateTipo => View
		id:ch nome:no email:ve telefone:m_fone

		Obs.:
			key 	=> nome do campo
			values 	=>
			 no -> sem condincoes
			 ch -> chave primaria
			 ve -> valid Email
			 tp	-> campo de senha
			 r_{modulo} -> combobox {modulo} => tabela referencia
			 m_{tipo} -> mascara {tipo} => fone,cep,cpf,cnpj,money

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

FAQs

Package last updated on 12 Dec 2012

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.