by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Yves Gonzaga
    @flashery
    Hello
    Sébastien Bordes
    @sbordes
    Hi, What could we do for you ?
    Ndzembomenyi Aruna
    @ndzemaruna
    Hello. I am new to javafx and I was really exited when I read about jrebirth. I think that is exactly what I need to develop the type of apps that I need. But the problem is the documentation does not give me any complete getting started code that I can run and start modifying and developing from. What should I do?
    Sébastien Bordes
    @sbordes
    Browse this repo
    Sébastien Bordes
    @sbordes
    you can start a blank project by using this tutorial
    Let me know what you didn't understand the best place for discussions is on our users mailing list: https://groups.google.com/forum/#!forum/jrebirth-users
    Sven
    @SirWindfield

    I am having a hard time getting into the framework. I used to code with an MVVM pattern but looked for some other frameworks. This one looked quite promising. But even after checking out the UndoRedo project I can't figure it out how to create views. The difference between Model, View and Controller are (at least as far as I could see) not the same as in MVC. They differ in the UndoRedo project.
    My goal is to use AnchorFX to create a docking area for my content. But I cannot really figure a good way to get started with JRebirth.
    Would you mind correcting me if I get something wrong?

    1) Notifier and Waves are basically an EventBus and Events used to communicate loosely between components (like in MVVM between ViewModel and View).
    2) MVC should be the normal MVC pattern (which probably just confused me).
    3) The controller is just used to link the view components with commands using waves as a communication.
    4) The view is basically the UI. As far as I could tell there isn't a way to load from FXML.

    Is there some basic application like an address book written using JRebirth to get a feeling for the MVC-WN pattern? Maybe with some commands? Or other 'realistic' applications?

    Sébastien Bordes
    @sbordes
    View cannot be instantiate, they are automatically created and attached to a Model => http://wip.jrebirth.org/doc/Ui.html#Views
    JRebirth has an "Open" MVC approach because accessibility and visibility can be easier in a way or another, no strict rule that can be annoying. You use it as you want to be more productive.
    Sébastien Bordes
    @sbordes
    I've seen AnchorFX code but instead of reusing it I've created some top level component to manage the same thing, it's really in early stage but you can build it and launch it ont the 8.x branch https://github.com/JRebirth/JRebirth/tree/8.x-dev/org.jrebirth.af/showcase/workbench
    I reuse JRebirth Model to act as docking view.
    1) Yes it's an event allowing communication between Services,Commands and Models; View and Controller shall communicate throught their direct model (getter are available model().)
    2) it depends what you consider as normal MVC pattern => check that http://wip.jrebirth.org/doc/Overview.html
    Sébastien Bordes
    @sbordes
    3) yes but they also contains event handler code, views hold the descriptive UI, controller hold user interaction code, and models hold link with data and the rest of application
    4) there are several way to embed FXML: check the dedicated showcase project https://github.com/JRebirth/JRebirth/tree/8.x-dev/org.jrebirth.af/showcase/fxml (again if you build JRebirth you can launch it easily)
    Model Combinations are:
    M - Only Model: rely on SimpleModel implementation
    MV - Model with a View: Controller is omitted
    MVC - Model, View, Controller: Basic Implementation
    FMFFC - FxmlModel , Fxml, FxmlController: View and Controller are respectively replaced by Fxml and FxmlController
    MVCFFC - FxmlModel, View, Controller, Fxml, FxmlController: Basic + Fxml files
    Sébastien Bordes
    @sbordes
    The pattern is not MVC-WN but wB-CS-Mvc, Behaviors, Commands, Services and Models are JRebirth Components, where as Wave is a temporary object carried by event bus, Views are only used to build UI parts and Controllers to handle user actions.
    The Mastering Tables game show well how Components can interact with a lot of subtle things, like progress bar management, model sequence etc...
    Let me know what is a realistic application and I could probably write a sample one.
    In any case for deeper questions you can use the user mailing list: https://groups.google.com/forum/#!forum/jrebirth-users
    Sven
    @SirWindfield
    Thank you really much!
    Sébastien Bordes
    @sbordes
    You're welcome, don't hesitate to post new questions, feature requests or application requests
    Sven
    @SirWindfield
    Missed your question about the realistic application. It would probably be enough for me to see a address book that can edit, create, delete persons and maybe saves them into txt. Importing would be enough to make a dummy menu that triggers the event but does nothing. Some code you create a new dialogue (for example about). Would be really sweat to see something likely e
    Like this*
    GKelerman
    @GKelerman
    Hi, I am just starting out looking at "MVC" implementations for JavaFX and/or Swing. Obviously time is always a critical item - herein lies 2 questions. Is there a sample app to show best practices for JRebirth, and (2) what do you think to be the easiest and quickest way to get going in JRebirth to get a feel for whether it fills the need? Just BTW, the one thing I cannot see in JRebirth is modularity (like a netbeans rcp0
    GKelerman
    @GKelerman
    Looking up in the thread I see there is a showcase. Checking it out now
    Sébastien Bordes
    @sbordes
    I'll Come back from homidays tomorrow let me know if you have any questions
    Sébastien Bordes
    @sbordes
    You can have a look at https://github.com/JRebirth/JRebirth/tree/8.x-dev/org.jrebirth.af/showcase/demo project that aggregate other showcase projects as JRebirth module, each UI is loaded and added to a global stackpane+toolbar
    Contrary to netbeans rcp or eclipse, JRebirth doesn't use OSGI to load modules (it's an architecture choice to keep it as simple as possible).
    A JRebirth module is just a project using some JRebirth annotations (all settings files are generated using annotation processor)
    It can be possible to run JRebirth in a OSGi context, it could have some limitations (ie: file loading or resources management due to specific class loading)
    Sébastien Bordes
    @sbordes
    In most of cases OSGI is not really usefull for UI application by adding a complex layer (dependencies management can be painful)
    BrsDreamer
    @BrsDreamer
    Guys anybody around had question about javafx exe file being over 180 mb