Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Getting rid of the Foo #1014

Closed
akshar100 opened this Issue · 3 comments

4 participants

Akshar Prabhu Desai Raj Madhuram Drew Folta Isao Yagi
Akshar Prabhu Desai

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 Yagi isao was assigned
Drew Folta
Owner

The trick is that you can have more than one model in each mojit. In that case you'll need a way to distinguish them. So, giving your models an explicit name (in the YUI module name) is considered a good practice, to make room for the future.

Isao Yagi isao referenced this issue in yahoo/mojito-cli-create
Closed

Get rid of the Foo #12

Isao Yagi

I agree the "full" archetypes have their quirks. closing here, tracking at yahoo/mojito-cli-create#12

Isao Yagi isao closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.