Skip to content

Update Angular.js to Angular #56

Open

Description

@FrancescoBorzi

Chapter 10 "Client-side web application using AngularJS." still refers to the old AngularJS (which is no longer actively developed). What about updating it to the new Angular? Would PRs be accepted to do it?

Activity

  1. jponge commented on Nov 20, 2018

    @jponge
    Member

    Yes PRs are welcome!

  2. FrancescoBorzi commented on Nov 28, 2018

    @FrancescoBorzi
    Author

    @jponge I started to have a look into this

    I see that in the step-9 directory there is a redeploy.sh script which deploys everything (including the web client app). However it is not clear to me how the client app (located in /step-9/src/main/resources/webroot) is being served.

  3. FrancescoBorzi commented on Nov 29, 2018

    @FrancescoBorzi
    Author

    @jponge yes I was looking at that piece of code and I'm wondering where we are referencing the webroot directory? sorry I'm completely new to Vert.x

  4. jponge commented on Nov 29, 2018

    @jponge
    Member
  5. FrancescoBorzi commented on Nov 29, 2018

    @FrancescoBorzi
    Author

    ok, thanks a lot for your answer!

  6. FrancescoBorzi commented on Dec 1, 2018

    @FrancescoBorzi
    Author

    @jponge what's the best way to enable CORS in step-9 ? I need it for development purposes

  7. FrancescoBorzi commented on Dec 2, 2018

    @FrancescoBorzi
    Author

    @jponge I've finished implementing the demo app for step-9.

    You can find the source code here: https://github.com/FrancescoBorzi/vertx-guide-client-app

    I've tried to keep the behaviour, code and logic similar to the old app whenever possible.

    Before I start editing the book chapter, I kindly ask you to review the code. If you think it's good enough, I'll start adjusting the book chapter.

  8. jponge commented on Dec 7, 2018

    @jponge
    Member

    I am no modern Angular expert, so it looks good to me.

    That's a lot of files, can't it be made smaller?

  9. FrancescoBorzi commented on Dec 7, 2018

    @FrancescoBorzi
    Author

    @jponge we could get rid of e2e directory and maybe also of the unit tests (*.spec.ts) since we don't really need it. Then I don't know what else we can remove. What do you say?

  10. jponge commented on Dec 10, 2018

    @jponge
    Member

    The simpler, the better :-)

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