YahooArchive / mojito-cli-create

[archiving soon] Provide the `create` command for the mojito-cli tool to make scaffolding/boilerplate.
BSD 3-Clause "New" or "Revised" License
1 stars 6 forks source link

Get rid of the Foo #12

Closed isao closed 11 years ago

isao commented 11 years ago

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".

isao commented 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!

imalberto commented 11 years ago

@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:

isao commented 11 years ago

@imalberto works for me