Uko
Uko

Reputation: 13396

Any "MVC way" in Netbeans Platform?

I'm starting to develop on NBP and I just wanted to ask is there anything like NBP's way of MVC.

Because in cocoa you use subclasses of UIView and UIViewController or you can use xib's etc. In Rails you also put your models, views and controllers in different directories.

So should I divide my code into part's by my self or NBP has also some dedicated classes that should be used.

Also maybe I shouldn't look for MVC if NBP offers some better patterns.

I'll be very thankful for answers, because I don't what to implement something that's already done.

Upvotes: 1

Views: 609

Answers (1)

Tim Sparg
Tim Sparg

Reputation: 3304

The NetBeans platform is swing with some nifty additions, and If I recall Swing is design is heavily influenced by MVC. So you should be pretty safe using MVC.

Alternatively I've been using the Presentation Model pattern recently (Both on and off the NetBeans platform). What is especially nifty is that the JGoodies Binding Library has specific support for the Presentation Model pattern

Upvotes: 2

Related Questions