Big Coding Challenge
-
So I must implement a UI for creating and editing rules in my new ad blocker application. I imagine it being like the rules editor in Outlook, if you're familiar with that one. You're able to manipulate events, actions and conditions in a generic way to build complete rules that determine what Outlook does with your mail. Sorta like firewall rules. I've been thinking a lot about design, and I must conclude that this will be fairly challenging for me. It's the most complex UI that I've had to build to this point. I was wondering if anyone else has composed such an interface, recently, or a hundred years ago?
The difficult we do right away... ...the impossible takes slightly longer.
-
So I must implement a UI for creating and editing rules in my new ad blocker application. I imagine it being like the rules editor in Outlook, if you're familiar with that one. You're able to manipulate events, actions and conditions in a generic way to build complete rules that determine what Outlook does with your mail. Sorta like firewall rules. I've been thinking a lot about design, and I must conclude that this will be fairly challenging for me. It's the most complex UI that I've had to build to this point. I was wondering if anyone else has composed such an interface, recently, or a hundred years ago?
The difficult we do right away... ...the impossible takes slightly longer.
Nope. Beyond my abilities. A similar thingy is the SQL Agent Job editor, which is very similar to your vaporators needs in most respects, so it could provide some insight into some options.
-
So I must implement a UI for creating and editing rules in my new ad blocker application. I imagine it being like the rules editor in Outlook, if you're familiar with that one. You're able to manipulate events, actions and conditions in a generic way to build complete rules that determine what Outlook does with your mail. Sorta like firewall rules. I've been thinking a lot about design, and I must conclude that this will be fairly challenging for me. It's the most complex UI that I've had to build to this point. I was wondering if anyone else has composed such an interface, recently, or a hundred years ago?
The difficult we do right away... ...the impossible takes slightly longer.
Maybe this one: Wexflow - Open Source .NET Workflow Engine[^]
-
Nope. Beyond my abilities. A similar thingy is the SQL Agent Job editor, which is very similar to your vaporators needs in most respects, so it could provide some insight into some options.
Yeah I suppose one way to solve it is to use a wizard approach. The SQL Agent Job Editor is sorta like a wizard, except it doesn't enforce any particular sequence.
The difficult we do right away... ...the impossible takes slightly longer.
-
Maybe this one: Wexflow - Open Source .NET Workflow Engine[^]
:omg: That's a real piece of master craft that one. My rules engine isn't nearly that sophisticated. I've got it working, so the next logical step is to create the UI for it. I'll look for hints in that article. Thanks.
The difficult we do right away... ...the impossible takes slightly longer.
-
So I must implement a UI for creating and editing rules in my new ad blocker application. I imagine it being like the rules editor in Outlook, if you're familiar with that one. You're able to manipulate events, actions and conditions in a generic way to build complete rules that determine what Outlook does with your mail. Sorta like firewall rules. I've been thinking a lot about design, and I must conclude that this will be fairly challenging for me. It's the most complex UI that I've had to build to this point. I was wondering if anyone else has composed such an interface, recently, or a hundred years ago?
The difficult we do right away... ...the impossible takes slightly longer.
I have designed interfaces like this (with arbitrary composable conditions) before. So has Microsoft. They are universally horrible. No matter how much work you put into it it is easier for a user to allow them to type and then parse the string in a smart, contextful way such that the user doesn't have to be perfect. <-- which is where the effort should go. Think how Google does it. One thing you can do is offer feedback. When they type a query that is malformed, you spit out the well formed interpretation of it so they know what they typed.
Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
-
I have designed interfaces like this (with arbitrary composable conditions) before. So has Microsoft. They are universally horrible. No matter how much work you put into it it is easier for a user to allow them to type and then parse the string in a smart, contextful way such that the user doesn't have to be perfect. <-- which is where the effort should go. Think how Google does it. One thing you can do is offer feedback. When they type a query that is malformed, you spit out the well formed interpretation of it so they know what they typed.
Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
Oh, now that's something I hadn't thought of. Thanks! That's potentially a winner. I had put all my effort into duplicating the MS Outlook design.
The difficult we do right away... ...the impossible takes slightly longer.
-
Oh, now that's something I hadn't thought of. Thanks! That's potentially a winner. I had put all my effort into duplicating the MS Outlook design.
The difficult we do right away... ...the impossible takes slightly longer.
add some autocomplete in to be fancy. I used to do this for data entry programs I'd write for small local businesses.
Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix
-
So I must implement a UI for creating and editing rules in my new ad blocker application. I imagine it being like the rules editor in Outlook, if you're familiar with that one. You're able to manipulate events, actions and conditions in a generic way to build complete rules that determine what Outlook does with your mail. Sorta like firewall rules. I've been thinking a lot about design, and I must conclude that this will be fairly challenging for me. It's the most complex UI that I've had to build to this point. I was wondering if anyone else has composed such an interface, recently, or a hundred years ago?
The difficult we do right away... ...the impossible takes slightly longer.
The only experience I have with a UI is with one that's CLI-based. I wrote an article[^] about that CLI framework but don't know if you'd find it useful.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing. -
So I must implement a UI for creating and editing rules in my new ad blocker application. I imagine it being like the rules editor in Outlook, if you're familiar with that one. You're able to manipulate events, actions and conditions in a generic way to build complete rules that determine what Outlook does with your mail. Sorta like firewall rules. I've been thinking a lot about design, and I must conclude that this will be fairly challenging for me. It's the most complex UI that I've had to build to this point. I was wondering if anyone else has composed such an interface, recently, or a hundred years ago?
The difficult we do right away... ...the impossible takes slightly longer.
Richard Andrew x64 wrote:
So I must implement a UI for creating and editing rules in my new ad blocker application. I imagine it being like the rules editor in Outlook, if you're familiar with that one. You're able to manipulate events, actions and conditions in a generic way to build complete rules that determine what Outlook does with your mail.
A while back, I was studying AI, and stumbled across Baysian Theory - Google Search[^]. From what I understand, Bayesian Theory is the primary means by which spam email is identified and filtered out from legit email. I know that both Google's Gmail and Microsoft's Outlook use Bayesian Theory. Based on what emails I see in my inbox versus the spam folder, I'm convinced that it works very well. You can use both rules, and Bayesian Theory together to get the best results.
Richard Andrew x64 wrote:
I've been thinking a lot about design, and I must conclude that this will be fairly challenging for me. It's the most complex UI that I've had to build to this point.
My knowledge of Baseyain Theory is quite limited, but I get the feeling that implementing it into your system will be more complex than designing the complex UI that you're speaking of. I wish you the best of luck in this challenge. Keep me posted on how things go, as this subject matter is of interest to me as well. :thumbsup: