Let's get it organized

What a week, dude. Lots of things to do. Little time for funny activities. And the coming one is even worse, much more traveling (back to Sevilla again). I'll try to post some photos of Sevilla and the "tapas" they have there.

The fact is that I've received different emails through my blogging alias. Apart of omnipresent spam I've received a couple of mails asking about the event bus, and about the organization of the model, the view and the controller in Swing applications.

Let's get organized

So I thought it could be a good, illustrative idea to show different ways to organize things in Swing applications. Different ways to architecture the internals of a GUI application.

And, before going any further, I thought it could be a good idea to ask you all what you think of this. Say I am to write an application using the Presentation Model paradigm, and then rewrite it using the Model View Presenter approach. And then rewrite the first one using an event bus, and do the same with the second one. Something like this:

  • Presentation Model, no event bus.
  • Model View Presenter, no event bus.
  • Presentation Model, event bus.
  • Model View Presenter, no event bus.

(Any other suggestion is, of course, welcome).

And then, after watching those four, see how things could be further improved. Or even write a comparison of them all. Some sort of guidelines for choosing which one better fits your needs.

So, my questions is, is it worth the effort? What do you think?

Doing what?

The application should be useful, of course. I suggest doing some sort of easy to use bookmark manager. Since I use different computers I have different set of bookmarks in different places. I'd like to store those in, say, Google's gmail (as a plain jar file, say). Any other ideas about useful (little) applications are welcome, too.

Thanks for any ideas and have a restful weekend (I will ;-)),

Antonio

Comentarios:

If we want to see benefits and disadvantages we need that sample applications. Of course, you know that. :) But why do you want to write "Model View Presenter, no event bus." two times? ;) Ahh, copy & paste... :) But as you know, i'm writing my master thesis until end of jan and i really haven't time to invest hours of thinking and programming. First at all, i need to learn using Annotations... :) In my daily business i'm bound to Java 1.3 and 1.4. :( But, what i wanted to say: i'm enjoing your blog very much.

Enviado por Ingo Siebert en noviembre 14, 2005 a las 02:35 AM CET #

Yes I think example apps would be great and would be worth coding and comparing. As far as application ideas, what about a simple text editor or even a RSS reader (or just a simple aggregator)? ...we could use it to gather your posts here ;)

Enviado por codecraig en noviembre 14, 2005 a las 05:50 AM CET #

Hi all, thanks for your comments!

You got me, Ingo!. I was copy-pasting in the items above! :-/ Sorry by the confusion! ;-)

Hi codegraig, I would like to keep sample applications as small as possible not to include extra confusion. I'll think of the ideas about a rss reader (I don't really like very much what I've seen around).

I'm traveling in the next days and it'll be difficult for me to post. Sorry by that.

Cheers,
Antonio

Enviado por Antonio en noviembre 14, 2005 a las 10:54 AM CET #

Enviar un comentario:
Los comentarios han sido deshabilitados.
About

swinger

Search

Archives
« abril 2014
lunmarmiéjueviesábdom
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Hoy