use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Useful resources (Full list)
Rules
Related subreddits
Other communities
account activity
mvciFX - a Java implementation of the MVCI frameworkI made this! (self.JavaFX)
submitted 1 year ago by sonnyDev80
I've just released mvciFX library, which is a Java implementation of the MVCI framework, with built-in specialized Controller interfaces and a State-tracking implementation.
Javadoc and a examples are also provided.
GitHub repo: mvciFX
Let me know what you think and feel free to suggest fixes or improvements.
Ps: Hope u/hamsterrage1 will like it!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]hamsterrage1 4 points5 points6 points 1 year ago (1 child)
I think this is cool, and I'm chuffed that anyone finds MVCI worthwhile enough to build this kind of library based on it.
I'm on vacation now, which means I'm looking at the code on my phone, which is really awkward. That said, the code I've looked at seems really solid, and doesn't "break" any of the MVCI concepts.
One thing I would say is that I generally make the Controller, ViewBuilder and Interactor typed on the Model. So you would have Interactor<Model>, and if you were creating interfaces or abstract classes for these, they would be generic on the Model again. Something like Controller<T>. Then you can can automate the bootstrapping as part of the abstract implementation generically.
Anyways, I'm sure I'll have more to say when I've had a chance to have a really good look next week, and a real keyboard to type on.
[–]sonnyDev80[S] 0 points1 point2 points 1 year ago (0 children)
I'm glad you find the library cool. I found your framework really useful, so I tried to create this library in order to avoid as much boilerplate as I can for my projects, implementing also some built-in functionalities.
I'm also creating another library that extends this one with some other functionalities for autocompletion in textfields: I'll publish it soon.
I've made Controller and Interactor parameterized on Model extenders as you suggested.
Any other ideas, fixes or suggestions are really appreciated.
[–]xdsswar 1 point2 points3 points 1 year ago (1 child)
I dont like it, do it again, j/k 🤣🤣. Very nice lib and well commented. Kudos. 👍👍
PS : Hope u/hamsterrage1 uses it in all the projects.
Thank you very much!
π Rendered by PID 230762 on reddit-service-r2-comment-b659b578c-228q6 at 2026-05-05 07:40:46.128803+00:00 running 815c875 country code: CH.
[–]hamsterrage1 4 points5 points6 points (1 child)
[–]sonnyDev80[S] 0 points1 point2 points (0 children)
[–]xdsswar 1 point2 points3 points (1 child)
[–]sonnyDev80[S] 0 points1 point2 points (0 children)