Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Angular 2.0 #884

Closed
Closed

Description

@pensierinmusica

According to Brad Green at ng-conf 2015

the first production Angular 2.0 app at Google will ship in May 2015.

Is there any timeline estimate to support Angular 2.0 in "generator-angular-fullstack"?

Considering the breaking changes, will there be a separate generator, or a user option during the initialization process?

Thanks!

Activity

  1. honkskillet commented on Mar 13, 2015

    @honkskillet

    The changes are so radical that I'm assuming that a separate MEAN stack generator will be made at some point. Alternatively, there has been talk about the next version of angular-fullstack being much more modular, possibly to the point were the front end and backend are really separate generators that work together. That would allow for a completely different from end implementations (even using a completely different framework like ember). I'm not really in the loop though. Maybe @DaftMonk or someone in the know can comment.

  2. ericmdantas commented on Mar 13, 2015

    @ericmdantas

    I believe it should, and most probably will, be a different generator.

    Not only the changes are too big and diverse, but this generator is not much active as it once was.

    By the way, I was thinking about working in a new generator, just for the new stuff:

    • iojs;
    • angular 2;
    • express 4.12 + or koajs;
    • gulp;
    • lodash 3;
    • MongoDB 3;
    • and other brand new stuff.
  3. honkskillet commented on Mar 13, 2015

    @honkskillet

    @ericmdantas I like that list. What about jspm.io?

  4. honkskillet commented on Mar 13, 2015

    @honkskillet

    @pensierinmusica Also, there is seemingly really no "timeline" for anything on this repo right now. It is currently in a nice state and has a lot of user but not much recent activity. Pulls request seem to be stacking up.

  5. ericmdantas commented on Mar 13, 2015

    @ericmdantas

    @honkskillet, never heard of it - gonna take a look later.

    By the way, here's the repo I started to work on:

    https://github.com/ericmdantas/generator-ng-fullstack

  6. pensierinmusica commented on Mar 13, 2015

    @pensierinmusica
    ContributorAuthor

    @DaftMonk and @btford thoughts?

  7. btford commented on Mar 13, 2015

    @btford
    Contributor

    I'd probably consider starting with a fresh generator.

    Was there any specific question you had?

  8. pensierinmusica commented on Mar 14, 2015

    @pensierinmusica
    ContributorAuthor

    No specific question, besides the one on top. Since @DaftMonk and @btford are two main contributors to this repo I thought it was relevant to know their opinion.

  9. dmarcelino commented on Mar 15, 2015

    @dmarcelino

    One of the ideas that has been discussed in #801 is to separate client logic from server logic. Angular 2.0 would be a great motivation to kickstart that.

  10. pensierinmusica commented on Mar 16, 2015

    @pensierinmusica
    ContributorAuthor

    Would that be different from, let's say, have two folders?

    For example:

    • /client made with "generator-angular"
    • /server made with "generator-express"

    My feelings, and the thoughts I read across several comments in these projects, are that the more simple and modular a generator is, the easier it is to maintain.

    So, the core of the discussion seems to be what the modular architecture could be, what is the best way to implement it, and what modules to start working on.

    I imagine a basis going forward could be:

    • Client (Angular)
    • Server (Express or Koa)
    • Authentication (Satellizer or Passport)

    Another issue would be deciding whether CSS processing (SASS, Compass, LESS, Stylus), production build (compression, minification, concatenation, cdnify, etc.), and so on should be part of the "client" module, or sperated into their own sub-modules that can be coupled together.

    The same could apply for different DB options on the server side: should they be part of the server generator, or data models can be treated as separate sub-modules? This way one "server" generator could be coupled with different DB and ORM sub-generators supporting, let's say, PostgreSQL, MongoDB, MySQL, RethinkDB, Redis, and so on... depending on the project needs.

    Thoughts?

    @DaftMonk @btford @ericmdantas @honkskillet @dancancro @JaKXz

  11. dmarcelino commented on Mar 16, 2015

    @dmarcelino

    I'm working on a project (private) where I stripped mongoose out and replaced it with waterline so, from my part, I would also like to see the ORM, models and related being abstracted into separate projects. But that's something that can probably be abstracted within the server side generator(s) and not exposed to the parent generator.

  12. ericmdantas commented on Mar 16, 2015

    @ericmdantas

    While I do agree that having these 'already made generator' inside a bigger generator is a good idea, I have my doubts about the wiring with each generator and the consistency between them.

    But it's definetely something to be taken into consideration - not reiventing the wheel with a huge generator to rule and rewrite them all.

    What we could do to visualize it better, would be to draw the tree of components/folder structure and see what we can do from there - as far as separation of logic/generator goes.

  13. kosz commented on Mar 16, 2015

    @kosz

    still some moving parts with Angular 2.0 I feel. Looking through their Angular 2.0 site things seem to be a bit out of sync, since ATScript is mentioned in a few places, yet they announced it will be replaced with TypeScript.

    I myself dodged the bullet there with my generator, since I was going to spend time on adding an ATScript option to it.

  14. ericmdantas commented on Mar 16, 2015

    @ericmdantas

    @kosz, yup.

    They said themselves not to go much further than a Todo App, because things might still change drastically.

    And I'm not entirely sold with TypeScript. I mean, seems nice and all, but there's a lot of things from ES6 they're missing (last time I checked, at least).

    Edit:

    Looks like they're still a bit behind: https://kangax.github.io/compat-table/es6/

  15. Awk34 commented on Mar 21, 2015

    @Awk34
    Collaborator

    My opinion for separation of server & client is to keep the project as a full stack project. The generator will ask you for three sub-generator options: Full-stack (both), Client App, or Server App. That way you can only generate one part of the stack if you wish.

  16. 18 remaining items

  17. remicastaing commented on Apr 13, 2015

    @remicastaing
    Contributor

    Then, let's use the momentum and start! ;)

    Grüße aus Frankreich!

  18. honkskillet commented on Apr 13, 2015

    @honkskillet

    There is a new generator generator-ng-fullstack that might be worth checking out. @ericmdantas is leading it. It is a newest version of angular full stack generator, which (I think) means as soon as angular 2.0 comes out that will be the version used.
    https://github.com/ericmdantas/generator-ng-fullstack

  19. ericmdantas commented on Apr 13, 2015

    @ericmdantas

    @honkskillet:

    It is a newest version of angular full stack generator, which (I think) means as soon as angular 2.0 comes out that will be the version used.

    Pretty much.

    If you feel like it, I could create an organization and make it available for a core team.

  20. khwerhahn commented on Apr 14, 2015

    @khwerhahn

    @ericmdantas very nice, but sequelize is missing ;)

  21. honkskillet commented on Apr 14, 2015

    @honkskillet

    @ericmdantas I think an org is a great idea.

  22. khwerhahn commented on Apr 14, 2015

    @khwerhahn
  23. remicastaing commented on Apr 14, 2015

    @remicastaing
    Contributor

    I would be happy to contribute for the email functionnalities (account confirmation, forgotten password, etc. )

  24. dmarcelino commented on Apr 14, 2015

    @dmarcelino

    Count me in. I would like to try extending it to use waterline multi-adapter ORM.

  25. Toub commented on Apr 14, 2015

    @Toub

    I won't have much time to invest but should be able to provide small contributions.

  26. ericmdantas commented on Apr 14, 2015

    @ericmdantas

    Sounds great, guys! I'll do it later today and I'll let you know!

    Just created an issue on my generator to move things forward.

    Thanks for the links by the way, @dmarcelino and @khwerhahn.

  27. kingcody commented on Apr 14, 2015

    @kingcody
    Member

    If I'm not mistaken @kingcody already has a branch where he divided the Gruntfile between client/server.

    That is correct, let me know if you'd like any help merging stuff in.

  28. pensierinmusica commented on Apr 14, 2015

    @pensierinmusica
    ContributorAuthor

    Awesome guys, looks like this is moving in the right direction! I'll be happy to contribute too, compatibly with other work commitments :)

  29. Awk34 commented on May 13, 2016

    @Awk34
    Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions