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

Collaboration with Rivets useful? #199

Open
dev-rke opened this issue Nov 11, 2016 · 4 comments
Open

Collaboration with Rivets useful? #199

dev-rke opened this issue Nov 11, 2016 · 4 comments

Comments

@dev-rke
Copy link
Contributor

dev-rke commented Nov 11, 2016

Hi @lega911,

i just want to let you note, that there is a similar project called rivetsjs, which is also written in coffeescript, even they work in an ES6 branch.

It has less functionality and flexibility than alight, but it seems better structured and documented and therefore easier to learn. But regarding performance alight is far better.

Maybe it might be useful to enrich rivets with some features from alight or to simplify/improve some things in alight by analyzing implementations in rivets.
I think a collaboration between both projects will let them benefit both.

Its just an idea, have a look at it and if it does not fit to your ideas, just ignore me. ;-)

@lega911
Copy link
Owner

lega911 commented Nov 11, 2016

thank you for link, I will read it,
aslo I have plans to simplify alight

@lega911
Copy link
Owner

lega911 commented Nov 12, 2016

@dev-rke
yes, rivets is not rich in features, even { a + a } or { foo() } don't work.
it has another type of change detector - observers with properties, so it has own collection of disadvantages (problems with observing, it replaces data to properties - spoils source data, works slower, ...). it's closer to vue.js

besides of features, every framework has own problems (because of js), so a developer should choose what problems to have

@lega911
Copy link
Owner

lega911 commented Nov 12, 2016

addition:
rv-if="auction.timeLeft | lt 120"
vs
al-if="auction.timeLeft < 120"

rv-text="event.duration | call event.start event.end" <- it seems you need write all dependencies manually :(
vs
{{ event.duration() }}

give me an example where rivets looks better

@dev-rke
Copy link
Contributor Author

dev-rke commented Nov 12, 2016

Hi,

i did not say it is better.
It has just less features, but these are a bit better documented in the Docs.
The most important part for such a Framework is Template binding and UserControl binding. Both provide them.

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

No branches or pull requests

2 participants