drneau.com Forum Index drneau.com
A discussion board for drneau.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What's been going on

 
Post new topic   Reply to topic    drneau.com Forum Index -> Development and Release News
View previous topic :: View next topic  
Author Message
drneau
Site Admin


Joined: 13 Feb 2005
Posts: 2385
Location: Woodbury, MN

PostPosted: Wed Nov 08, 2006 5:39 pm    Post subject: What's been going on Reply with quote

I've been putting a lot of work into redesigning the way consoles are managed in the app.

In v2, consoles worked okay. However, a good Object-Oriented person would look at the way I did and realize a few things:
- Jeff, you've really overloaded the purpose of the "Console" class. It extends JComponent, manages the layout of the components, knows how to paint itself, manages its own attributes and rules, knows how to persist itself and parse XML. That's really dumb.
- Jeff, you've done the same for each of the components in the console.

A good Java guy would also look at it and say:
- Dude, you can't display the same component in two places at once. Obviously, you realize that, which is why you are cloning your consoles a lot...especially over the network...and that leads to potential memory issues...which in turn can lead to performance issues.
- Dude, each and every one of the components could be a lot smart about the way they are painting themselves on the screen. You're recalculating things needlessly each and every time you paint!


I realized all that myself, which is why I've been working on fixing it. The end result will be a smaller memory footprint and a much smarter console when it comes to painting (which will improve any scrolling substantially).


For those who care, I've split the v2 "ConsoleLayout" class into:
- ConsoleDef: The definition of the console. Can be saved and cloned cheaply.
- Console: Knows how to paint what is in the ConsoleDef.

A "ConsoleLayout" used to consist of "ConsoleComponents". Those have now been split apart:
- ConsoleComponentDef: The definition of an individual console component.
- ConsoleComponent: Knows how to paint what is in the ConsoleDef.

In doing this, I've discovered a LOT of places for optimization that should make v3 much more robust and responsive.
_________________
--
Dr. Neau (not a real doctor)
http://drneau.com
http://home.comcast.net/~jneau
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dix
"Royal Flush - No Hat"


Joined: 17 Jun 2005
Posts: 246
Location: W.Poland Maine - USA

PostPosted: Wed Nov 08, 2006 7:24 pm    Post subject: Reply with quote

Well..... I care.... and I like the sound of all that.

I come at this more from a hardware than software standpoint... but I have noticed that TM was rather resource hoggish.

Sounds like v3 will be a lot more efficient & streamlined.... hence faster and easier on the resources..... always a good thing Very Happy
_________________
- Dix
Back to top
View user's profile Send private message Visit poster's website
MaxPower
Founding Father
Founding Father


Joined: 13 Feb 2005
Posts: 390
Location: Funky Cold Medina - Ohio

PostPosted: Thu Nov 09, 2006 7:59 am    Post subject: Re: What's been going on Reply with quote

What Doc Said:
drneau wrote:
For those who care, I've split the v2 "ConsoleLayout" class into:
- ConsoleDef: The definition of the console. Can be saved and cloned cheaply.
- Console: Knows how to paint what is in the ConsoleDef.

A "ConsoleLayout" used to consist of "ConsoleComponents". Those have now been split apart:
- ConsoleComponentDef: The definition of an individual console component.
- ConsoleComponent: Knows how to paint what is in the ConsoleDef.


What Max Heard:
MaxPower wrote:
Blah blah, nerd speak. Blah blah, code speak. Words words words, BETTER TM COMING SOON!


In otherwords, keep supporting the Good Doctor - he's not selling snake-oil!

Max
Sorry, but I've got to ask... Are we there yet?
_________________
Oh, Yeah! Check out the all new TheMiddleClassBlog.com for all of us that aren't exactly "High Rollers"!


Last edited by MaxPower on Fri Nov 10, 2006 7:49 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
ledge
"Cowboys"


Joined: 06 Sep 2005
Posts: 31
Location: Canada

PostPosted: Thu Nov 09, 2006 7:04 pm    Post subject: Reply with quote

Cool

Doc:

I care too! I've been using your app for a while now and it has impressed a great many of my friends and colleagues. I'm not a Java guy or a programming dude by any stretch, but I now good work when I see it. Many others are using the TD app and have many issues with it, yours is not the case.

Keep up the good work man! I can't wait for you to release ver 3, because I know that you poured your heart and soul into it.

Ledge Very Happy
Back to top
View user's profile Send private message
rumackay
"A Set of Mop Squeezers"


Joined: 15 Oct 2005
Posts: 60
Location: Queensland, Australia

PostPosted: Fri Nov 10, 2006 2:10 am    Post subject: Reply with quote

^^^ Ditto!!! thumbleft







...Are we there yet... Wink
_________________
-- Kingaroy High Rollers Poker Tour --
Back to top
View user's profile Send private message
rastapete
Founding Father
Founding Father


Joined: 13 Feb 2005
Posts: 401
Location: 'Ipsa' this, you pissy little bitch!

PostPosted: Fri Nov 10, 2006 7:10 am    Post subject: Reply with quote

Doc,

Why do Object-Oriented guys call you "Jeff", but Java guys call you "Dude"?
Back to top
View user's profile Send private message
i8dbear
Founding Father
Founding Father


Joined: 22 Feb 2005
Posts: 181
Location: Los Angeles

PostPosted: Mon Nov 13, 2006 5:30 pm    Post subject: Reply with quote

the "Jeff" guys are just objectifying him.

.n
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    drneau.com Forum Index -> Development and Release News All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group