PuruVJ/macos-web

May i know how you handled the logics

Opened this issue · 7 comments

this is project is really amazing, you're doing incredible job. it really inspires me.
the components are there but I couldn't see how the events are triggered and logics are handled? would you please help?

Thanks for the praise!

Can you give an example of what you mean by events and logics? Any specific part of app/functionality?

let's take the calculator as an example
the buttons are their but i couldn't see anything like onclick handler and something like that

Calculator has no logic by design. It's just visual. Doesn't do anything

This is really an excellent project, can you please tell me how much time did it took to complete till here. May I also know that how difficult is to code in Svelte?
And yeah mate, thanks in advance!

I've been working since a year on this.

Coding in Svelte is an absolute breeze. Absolutely recommend it

Ive been learning Svelte for the last few months and love it so far too. What background did you have before switching to Svelte? I am inspired by your clean and simple approach. Im trying to develop a style for using components along with more classic OO for data and non-UI objects. Im learning some nice techniques from this example app. Thanks and keep it up!

@newlegendmedia Hi!

I messed around with PHP, MySQL, Jquery, a little Angular, StencilJS for first 5 years. Then I went into Svelte, tho the ecosystem wasn't on par, and I not up to the mark to re-implement those things myself. I left Svelte after a while, did some pure NodeJS work, then learned React by building the Original macOS Web.

Then, around August, I remade macOS web in 2 days, and it made me fall in love with Svelte, and I haven't looked back ever since