Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite to Vue.js #36

Open
jdittrich opened this issue Apr 19, 2016 · 5 comments
Open

Rewrite to Vue.js #36

jdittrich opened this issue Apr 19, 2016 · 5 comments

Comments

@jdittrich
Copy link
Owner

jdittrich commented Apr 19, 2016

I want to rewrite quickMockup to use Vue.js. I hope to achieve the following advantages:

  • Enable an easier/more structured creation of UI components
  • undo-redo (via vuex, vue.js’ flavor of flux which react's flavor of unidirectional dataflow management :-) )
  • save to JSON, save to localStorage and potentially save to Backend

Also I hope to resolve the following bugs more easily. They could be solved now, but they would introduce a huge amount of spaghetti-code:

Possible Problems:

  • The code itself would be cleaner, but current tools often introduce a toolchain which Contibutors need to be (partly) familiar with, as well I (@jdittrich) would need to learn more about them.
    More toolchain means often higher barriers for contributors.
  • Minor, but: Currently data and view are one thing. Sounds horrible, has the advantage that we don't need to convert anything. With a "proper" separation, we need a mechanism to read-from-HTML and write-to-HTML. Not rocket science, but I want to keep a) files and b) the sharing- and browser-friendly file format and not make people save and pass a JSON file or so.
@simonv3
Copy link
Contributor

simonv3 commented Apr 19, 2016

If you can get a really good build step together, the toolchain should be transparent to new contributors.

@peterbrinck
Copy link
Contributor

Oh yes, please switch to Vue!!
I'm a huuuugeeee fan of Vue

@jdittrich
Copy link
Owner Author

@peterbrinck that sounds promising – if you would be open for helping me along when I get stuck, it would be a great help. I still keep learning vue.

@peterbrinck
Copy link
Contributor

I wish I could, but I haven't worked that much with it, in that way
I've only used it in already created environments, where I would only have to create a template and loops etc.

@jdittrich
Copy link
Owner Author

btw: this is the rewrite, still pre-alpha: https://github.com/jdittrich/quickMockupVue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants