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

blog article(s) or guide(s) to describe use cases for sift #232

Open
giorgio-zamparelli opened this issue Aug 6, 2021 · 3 comments
Open

Comments

@giorgio-zamparelli
Copy link

giorgio-zamparelli commented Aug 6, 2021

Hi!
I'm a fullstack engineer using Javascript and MongoDB daily.
sift.js intrigues me but I'm not sure where to use it.
I've found the article on Node weekly 400 (CONGRATS) https://nodeweekly.com/issues/400
The subtitle on sift.js on Node weekly 400 is: "I can’t quite put my finger on the use case here, but you may have one.". I kind of feel the same.
I think it would be helpful to read a Medium article or blog post or guide about how you use sift and what sift is good for.
Thank you for sharing and developing sift.js!

@dasheck0
Copy link

dasheck0 commented Aug 6, 2021

Second this. Also read the headline and it lead me to your project. However, I can't quite figure out why I should use it. There might be a case (i.e. performance, better interface). Would be cool to read about that.

@davidguttman
Copy link

@giorgio-zamparelli & @dasheck0 : I just saw the same quote, but as someone who built their own (less fully-featured) version of sift.js years ago, I can share my use case:

Often when building a SaaS product for "power users" we wind up giving them more and more features as they ask for more and more power in the UI "can we have a view that shows all the shipped products with cost less than $30", "can we get notified any time a priority order from CA comes in?" The logical conclusion is writing something like a programming language for them, but that is way complicated and user unfriendly. Somewhere in the middle is using something like mongodb style filter primitives and mapping those to a UI. For example, you can create a UI that lets users "build" the mongo-style query and store it as JSON. Later users can load the query as JSON and your front-end (or back-end) can use that JSON query to filter the rows/objects/etc.

@giorgio-zamparelli
Copy link
Author

Thanks for sharing @davidguttman!

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

3 participants