I am going to develop a new web based application and I was wondering which template engine should I use.
The initial setup will contain :
- NodeJS
- MongoDB
- Express
- Bootstrap
- And some extras such as i18n for multilanguages, less for CSS and probably something else in the future.
And I was thinking in using AngularJS to control the user interface and manage all the requests to the REST api server.
I used Angular v1 around a year ago and I really enjoy it the way it looks so dynamic. However, I have seen that at the moment, Angular 2 is getting stable and it could be a good option to use the latest version of this framework.
However, after looking the initial setup and all the difficulty of this, I was considering moving to another framework/templating engine as my idea is to have a project as a "one page app" and deal everything in it.
I found that using a template engine such as EJS would resolve what I want to develop, but obviously, it would not bring the interaction and logics I want and I had with Angular v1.
My questions are :
- Is still worth it using Angular 1 for my 1 page app ?
- Should I move to Angular 2 regardless of the difficulties I am having to set it up ?
- Is there any alternative to what I am looking for which could be suitable ?
My idea is not to use jQuery when possible and do all the ui animations and logics with the template (like ng-show.. hide.. etc). Apologies for my English as it is not my main language.
Aucun commentaire:
Enregistrer un commentaire