60

Removed the front end code using Angular : -9000 lines

Replace it with Vue : +1000 lines
😎
It's not because it's Google that means it's simple.

Comments
  • 1
    I really need to practice it. Do you know any other solution than their own doc to learn it? Thanks in advance!
  • 8
    vuecasts.com is a must watch!
  • 0
    Thanks mate, gonna check it this afternoon!
  • 3
    Just because it's simple doesn't mean it's better
  • 0
    That's some serious boilerplate...
  • 3
    Run it though uglify and make it 1 line...
  • 2
    I always wonder how full of shit peoples codebase is for them to be able to shave of like 9/10ths of the entire codebase simply by swapping libraries....
  • 0
    @cgrey never knew this, always watch laracasts vue tutorials, I assume this is the same guy?
  • 1
    @Asawera I have prior experience with the very good riot js. I say prototype something or gradually work with it. I've first setup with rollup then slowly adding server side compilation with pug but if the app is rather simple don't bother with server side. It takes some time to setup correctly if you want es6 and more. Anyway I've a github repo as a project starter (server side is not enabled until I update it)
  • 1
    @tahnik a part of zen of python says:
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.

    And this is the reason behind my choices.
    The complexity should be in the business code not the framework.

    Also there is such thing as the paradox of choice.
  • 0
    @Codex404 yep, it's the same guy
Add Comment