mtrutledge / generator-dnn

Yeoman generator to scaffold DNN / DotNetNuke Modules and Themes.
MIT License
17 stars 10 forks source link

Create an Angular option for SPA modules #41

Open david-poindexter opened 6 years ago

david-poindexter commented 6 years ago

Is your feature request related to a problem?

No problem, just mssing option.

Describe the solution you'd like

It would be great to have an Angular based SPA option.

Describe alternatives you've considered

N/A

Additional context

I suggest we focus initially on Angular 2/4/5/6 (not AngularJS, v1) unless there is demand.

david-poindexter commented 5 years ago

@mtrutledge with this one, should we have an option for each major Angular release? I would be happy to help with AngularJS and Angular 5 templates. I have some great ideas for scaffolding using the new HttpClient model shipped with Angular 5.

mtrutledge commented 5 years ago

I am not familiar with Angular, are there usually large changes between version 5 & 6, etc? We can start with Angular 5 and we can just change the text on the prompt to Angular JS v5

On Aug 1, 2018, at 3:17 PM, nvisionative notifications@github.com wrote:

@mtrutledge https://github.com/mtrutledge with this one, should we have an option for each major Angular release? I would be happy to help with AngularJS and Angular 5 templates. I have some great ideas for scaffolding using the new HttpClient model shipped with Angular 5.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mtrutledge/generator-dnn/issues/41#issuecomment-409726475, or mute the thread https://github.com/notifications/unsubscribe-auth/ACCJ_ix5Jn50ew8qJkcXtVe2w_jctCyLks5uMhrZgaJpZM4VZU74.

david-poindexter commented 5 years ago

Okay, the quick explanation is this. AngularJS = Angular 1. Angular 2/3/4/5/6 are all similar. There are virtually no similarities between v1 and v2+. With v2+, while they are all similar patterns, etc., occasionally features come along that impact major things as it relates to DNN module development. For instance, with Angular 5, the new HttpClient brings significant (and AWESOME) changes to the dev pattern for API calls. So in my opinion this warrants a more granular approach for scaffolding out these modules. We could start with Angular 5 and kick the tires a bit. :)

mtrutledge commented 5 years ago

Yeah I would just start with Angular 5 :)

On Aug 1, 2018, at 3:43 PM, nvisionative notifications@github.com wrote:

Okay, the quick explanation is this. AngularJS = Angular 1. Angular 2/3/4/5/6 are all similar. There are virtually no similarities between v1 and v2+. With v2+, while they are all similar patterns, etc., occasionally features come along that impact major things as it relates to DNN module development. For instance, with Angular 5, the new HttpClient brings significant (and AWESOME) changes to the dev pattern for API calls. So in my opinion this warrants a more granular approach for scaffolding out these modules. We could start with Angular 5 and kick the tires a bit. :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mtrutledge/generator-dnn/issues/41#issuecomment-409734208, or mute the thread https://github.com/notifications/unsubscribe-auth/ACCJ_nG18i5zhPRtN8KAR_3nl9-es7orks5uMiEcgaJpZM4VZU74.

david-poindexter commented 5 years ago

Sounds great - stub out the placeholder and I'll be happy to start working on the template files.

kingjordan commented 5 years ago

Is there any progress on this? I do all my work in Angular for SPA and I would be willing to help.

mtrutledge commented 5 years ago

I have not been able to start this item. Any help would be appreciated.