On Sunday 06 August 2006 10:30, Olivier Goffart wrote: > Le dimanche 6 août 2006 17:07, Michaël Larouche a écrit : > > One thing for sure, it will save us maintainability in lorg term and will > > give us more power and flexibility. > > For sure ? > > It seems more complex. > And more complex = harder to maintain.
actually, once you write a model it's pretty near zero maintenance for the model and you can switch view methods much, much easier since they data is not tied to the view at all. by keeping the data coupled to the view, you will never be able to experiment too wildly with views and uses of that data because the effort of doing so will be too high. this approach also introduces complexity in the form of having to manage both data and view in one place. the complexity of the MV approach is party a perception thing due to being new (meaning we have to learn things) and only partly due to actually being more complex. > What is this flexibility that we need ? > > Note that our storage data is already separated from it's representation in > the Kopete::ContactList and the contactlist data structure ought to be able to feed directly into views. one of the use cases kopete will run into is being able to bridge the contact data to lists that appear on the desktop or in other applications. identity is moving more and more towards sharing and coordinating this data between multiple apps. having a model that is simultaneously what feeds the views and is what is coordinated with these external sources will almost certainly keep things simpler over the long haul. of course, this isn't my app .. i'm not designing it, writing it, etc. so ... yeah. i'm just an annoying bystander who very occasionally submits patches ;) -- Aaron J. Seigo Undulate Your Wantonness GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
pgpEwWK8IwRBE.pgp
Description: PGP signature
_______________________________________________ kopete-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kopete-devel
