Hi Hernan,
I completely agree that having a good object oriented design is very
important to keep code readable and maintanable. Having a general way
to write addins/plugins certainly helps here.
I would like to know how your classes would look like in cheese if you
use addins. Which parts would you make an addin? At the moment I can
only think of having addins for exporting images and videos. However
that code is more or less trivial at the moment.
I agree with Daniel and Patryk that the programming language does not
really matter to have a good object oriented design. You can write
exactly the same object oriented program is: GObject, C++, vala, java,
C#. Differences are syntax, the amount of code you need to write to do
something, virtual machine, etc. but not object oriented design.
Jaap
> _______________________________________________
On Sun, Jun 22, 2008 at 8:52 PM, Hernan Gatta <gattahernan gmail com> wrote:
> Hello,
>
> Cheese has been evolving quite some recently and I've been looking at the
> ideas that you would like to see implemented in the upcoming releases in
> order to make Cheese even better. However, I have indeed looked at the code
> and I am afraid to say that as with almost any program coded in C, Cheese
> will exponentially grow in complexity as features are added. I've tried to
> add some of the features and the code-base is pretty complex to work with in
> terms of dynamically managing the Gstreamer pipeline, for instance. I would
> like to propose a new design based on Mono (.NET) that would allow a very
> simplistic (and even cross-platform) core filled with easy-to-write
> extensions based on the Mono.Addins framework (look at
> http://www.mono-project.com/Mono.Addins). Applications like this one exist
> already and are seeing a growth in usage like Tomboy Notes and Banshee as
> well as the MonoDevelop IDE. I'd like to point out that the user interface
> need not change, just the underlying code; although I would like to see some
> sort of OpenGL-based GUI should the user's system support it in order to
> bring more "bling" to the program (using things like Clutter as a back-end -
> http://clutter-project.org/). I've started some work on this myself already
> and I will continue to work on it. I would like to hear your input on this
> idea and see what can be done about it.
>
> Thanks,
>
> Hernan.
> Cheese-list mailing list
> Cheese-list gnome org
> http://mail.gnome.org/mailman/listinfo/cheese-list
>
Attachment:
Cheese Pipeline.odg
Description: application/vnd.oasis.opendocument.graphics