1. #1
    Sencha User jep's Avatar
    Join Date
    Sep 2010
    Vote Rating
    jep will become famous soon enough jep will become famous soon enough


    Default generate form/view?

    Using the just-released GA .

    I don't quite understand the "sencha generate form"/"sencha generate view" commands. It says the "view" form is ExtJS only and won't allow it with Touch. And for "sencha generate form", it creates a skeleton that's not really appropriate for a lot of views: descended from FieldSet, has a TextField and Submit button hardcoded into the skeleton.

    Also, it creates all the forms as "default.view.______" where ______ is the --name parameter. I haven't figured out how to get it to use the actual name of your app instead of "default" (passing --name=MyApp.view.MyView results in app/view/MyApp/view/______).

    I don't really understand the point of the Sencha cmd if it's going to create a bunch of stuff you're going to have to go back and edit so much. Before using it to generate my objects, I just created the new file by hand and pasted the skeleton in from another of my views/profiles/controllers/etc. Sencha cmd seems like it create a lot of gotchas when you forget to clean up after its inappropriate assumptions.

  2. #2
    Sencha User jaami's Avatar
    Join Date
    Apr 2012
    Vote Rating
    jaami is an unknown quantity at this point


    Default separate cmd for extjs and touch

    if SDKs are different then why not keep separate cmd for extjs and touch. Cmd was never without problems and still seems running without quality assurance?

    the generate command created js files but did not update app.js. (just a simple example of problems)

Thread Participants: 1