Ignite: [Generator] - Remove Examples - BLANK PROJECT feel

Created on 6 Jun 2016  路  5Comments  路  Source: infinitered/ignite

Create a command which helps users rip out the kitchen sink and place it comfortably out of the way.

Consider asking this upfront with the generator.

Most helpful comment

@GantMan hhhmm the transition from v1 to v2.0 sounds fascinating, as do the possibilities for various kinds of v2's .

The current base v2.0 goal (i.e. _'ignite new MyApp creates a very bland app. You can then use ...'_ ) seems really cool - just the functionality of easily being able to take your app from a blank and basic state to one that has several views along with assorted wiring (store, sagas, etc) would increase dev speed to a ridiculous degree :) I'd say that - i.e. the current v2.0 goal - strikes just the right balance between having Ignite at once help you sprint through time-consuming boilerplate, while also still giving you the feel of constructing something that feels like it's your own and could've been written by you. (A shoutout here to some of the underlying tech decisions you guys made - the navigation scheme in particular has proved especially useful 馃憤 )

So yes, although that answer got a bit meandering, I'd definitely say your current v2.0 goal sounds best. For example:

User gets initial project (with varying amounts of boilerplate already there, depending on answers to a startup walkthrough along the lines of what you mentioned) ---> user begins normal app development ---> if user at a later stage wants to quickly generate, say, a listview, types in the appropriate ignite command ---> user gets a listview all wired up and ready to fill in

^^^ something along those lines sounds pretty decent if you ask me ;)

All 5 comments

@GantMan what workflow do you currently imagine a dev to have with ignite?

For example, currently if you generate a new component/container/etc through the ignite cli then it's created in the App directory within the existing application. Do you feel that we should develop our own app within said App directory, and then when ready, remove your existing application contents? (and then fix the wiring accordingly)

I agree that the pairing-down and blank-project-feel would probably be preferred (to some) :)

Finally, have got to reiterate that this project's already really cool, and I look forward to further versions!

Thanks @ahsanazim !!!! We love working on this :) Let's chat about it.

Quick Review

Ignite 1.0 workflow - Create an app, app has everything and more. Delete more things than you use, o wow why so much!? AHHHHH!!!!

Ignite 2.0 workflow - ignite new MyApp creates a very bland app. You can then use our friendly set of generators ignite walkthrough (or something witty) will give you a "Will your app have X/Y/Z, walkthrough process, and fire the correct generators "

To get to v2, from v1, we'll need to take all our kitchen sink items and start writing friendly generators for them. Once all existing items are wrapped in a generator instead of just copied files, we'll be good.

For this reason, I kinda have trouble spending too much time on a project CLEANING task to remove examples, but perhaps it would be best if we came up with a "v2.0 empty project except for the essentials, and folder structure that we expect" to be generated. Sort of a beginnings of the bare bones metal all generators should use. We can then break ignite into ignite new Project - Would you like the kitchen sink with that? question on the generation process. OR just have a kitchen sink command. Thoughts?

cc: @skellock @ryanlntn @fvonhoven

O and don't forget @kevinvangelder
image

KEVIN!

@GantMan hhhmm the transition from v1 to v2.0 sounds fascinating, as do the possibilities for various kinds of v2's .

The current base v2.0 goal (i.e. _'ignite new MyApp creates a very bland app. You can then use ...'_ ) seems really cool - just the functionality of easily being able to take your app from a blank and basic state to one that has several views along with assorted wiring (store, sagas, etc) would increase dev speed to a ridiculous degree :) I'd say that - i.e. the current v2.0 goal - strikes just the right balance between having Ignite at once help you sprint through time-consuming boilerplate, while also still giving you the feel of constructing something that feels like it's your own and could've been written by you. (A shoutout here to some of the underlying tech decisions you guys made - the navigation scheme in particular has proved especially useful 馃憤 )

So yes, although that answer got a bit meandering, I'd definitely say your current v2.0 goal sounds best. For example:

User gets initial project (with varying amounts of boilerplate already there, depending on answers to a startup walkthrough along the lines of what you mentioned) ---> user begins normal app development ---> if user at a later stage wants to quickly generate, say, a listview, types in the appropriate ignite command ---> user gets a listview all wired up and ready to fill in

^^^ something along those lines sounds pretty decent if you ask me ;)

ignite new MyApp --min or ignite new MyApp --empty or you can even create your own app templates in 2.0.

Was this page helpful?
0 / 5 - 0 ratings