Getting rid of the Foo #1014

Closed
akshar100 opened this Issue Feb 27, 2013 · 3 comments

Comments

Projects
None yet
4 participants
Contributor

akshar100 commented Feb 27, 2013

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

@ghost ghost assigned isao Feb 27, 2013

Contributor

rmadhuram commented Mar 15, 2013

+1

Contributor

drewfish commented May 10, 2013

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 isao referenced this issue in YahooArchive/mojito-cli-create May 21, 2013

Closed

Get rid of the Foo #12

Contributor

isao commented May 21, 2013

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

@isao isao closed this May 21, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment