Closed isao closed 11 years ago
BTW, the latest mojito create
command supports custom archetypes. How about replacing the Foo in the current mojit model archetype with mojit name + "model"?
Side note, please feel free to share gists or links with suggestsions.
Thanks!
@isao Let's follow the same naming convention for the binder and controller (which never contained Foo
in the first place):
What about renaming the following:
foo.server.js
=> model.server.js
{{name}}ModelFoo
=> {{name}}Model
@imalberto works for me
original issue at yahoo/mojito#1014
@akshar100: Whenever we run 'mojito create mojit SomeMojit' it generates a lot of code for us. However I do not see any point in appending the Model names with "Foo". It gets very irritating once you create multiple mojits and have to modify all the files were there are references to "SomeMojitModelFoo".