After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660483 - Reuse of software architecture "Model-View-Controller"
Reuse of software architecture "Model-View-Controller"
Status: RESOLVED WONTFIX
Product: gparted
Classification: Other
Component: application
0.9.1
Other All
: Normal enhancement
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2011-09-29 14:45 UTC by Markus Elfring
Modified: 2016-10-09 17:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Markus Elfring 2011-09-29 14:45:40 UTC
Some data structures are directly accessed by the graphical user interface. I find this design approach too tightly coupled because it limits the application extensibility to some degree.

I propose to reuse the software architecture "Model-View-Controller".
http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller

This design pattern supports the creation of multiple views from a single document/model. I imagine that it can make the development of some partition editing extensions easier.

Would you like to reuse a framework like Bakery?
http://bakery.sourceforge.net/bakery_document_view.html
Comment 1 Markus Elfring 2011-10-02 16:17:41 UTC
How do you think about to move a data structure like "treeview_filesystems_Columns" or "treeview_detail_Columns" to separate source files?
http://git.gnome.org/browse/gparted/tree/include/TreeView_Detail.h?id=715991cc9ae84b5cf57b5027fa50ba35da33b762#n67
Comment 2 Curtis Gedak 2016-10-09 16:59:54 UTC
Closing report as WONTFIX.
Comment 3 Markus Elfring 2016-10-09 17:06:42 UTC
(In reply to Curtis Gedak from comment #2)

I am curious if any other software developers or system administrators will care more for a better software design.