DevelopersPL / DevAAC

DevAAC for TFS 1.0
https://developerspl.github.io/DevAAC
MIT License
29 stars 16 forks source link

Angular2 - Interested and plans? #33

Open att3 opened 8 years ago

att3 commented 8 years ago

Angular 2 seems to be very greatly the enchanted version of AngularJS.

Due a fight between angular2 and angularJS, angular2 gets so clear victory, that the frontend should be upgraded to angular 2 at some point.

But.. that isn't easy task, and even angular 2 is still under beta.

So my questions are:

  1. Will this AAC has angular 2, some day?
  2. Is here anyone who is interested in upgrading the frontend to angular 2?

If I were to make one, in the hope of merging it with this repo, do you have any "rules" for how it should be written (mostly, they just ease the job),.. [ex. folder / file structure / builders / typescript? (yes)]

DSpeichert commented 8 years ago

I think there would certainly be advantages to using Angular 2. However, the main priority when developing DevAAC was the easy of development and understanding. DevAAC is not extremely optimized - it's "okay" but it does not concatenate/minify scripts and CSS.

Therefore, I think using builder/compilers (such as for TypeScript) or any Escmascript >= ES6 is going to be very difficult for any non-hardcore developers to edit.

Znote commented 8 years ago

Hopefully clients/browsers will start to accept raw typescript compiling, (or better yet, execution if that ever becomes a possibility).

If web development evolves to the state where everyone start using typescript and/or SCSS, why shouldn't browsers support them?

Until then, perhaps something like this can be done: https://github.com/basarat/typescript-script

Although last time I tried frontend compilation it slowed init down significantly. But has the benefit that new users don't have to go 'hardcore' to edit the code.

More and more SPA JS frameworks start to depend on typescript (or something of the sort), which has me a bit worried.

And nodeJS, so many things built on nodejs or something connected to nodejs. (npm). I wanted to play around with Angular 2 on my droplet, and I found it trickly to do so without downloading and using nodejs and npm to get what I wanted. (Wait what? ... Ahh.. typeScript changes compiling observer...)

Grunt -> nodejs brunch -> Nodejs gulp -> nodejs

I'm currently looking for some good frontend only SPA frameworks without any backend stuff and weird dependencies. So far all I got is vanilla ajax through something like jquery. (Which is boring and kinda bad).

DSpeichert commented 8 years ago

This version of DevAAC was created when bower was not a "mandatory" tools to use. We somehow got away with just linking to CDN in <head> section.