| Author |
About MVC Concept on Java, How should i can apply the concept.Expect some example.
|
Mohammad Ashrafuddin Ferdousi
Ranch Hand
Joined: Jan 14, 2010
Posts: 111
|
|
hi java xperts,
Think you are doing well. But i am not at all coz of a little bit MVC problem . Let me explain.
I am staring and doing java very recently. I am a real fan of OOP and MVC. Now, I am in a trouble. Can you please discuss and ans this question?
I found out that, Everything is an object in java. But i feel trouble with inner class cocept when i gonna work with EventListener. When i am doing EeventListener i found out that, every example follow the inner class concept to follow the EventListerner. I actually can not like this concept because, When i handle the action with inner class, that will be a mix-up of MVC. So, if i wanna follow the MVC what should i do on this matter? Can you help me by an example please? I can not move foreword without solving this problem.
Can you please help with some example or any kind of documentation? If there is any book to follow MVC pattern on Java please mail me at it.codeperl@gmail.com. I will be very oblige to you, friend.
Best Regards
codeperl
|
 |
Wouter Oet
Saloon Keeper
Joined: Oct 25, 2008
Posts: 2700
|
|
You could do somthing like this:
|
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
|
 |
Mohammad Ashrafuddin Ferdousi
Ranch Hand
Joined: Jan 14, 2010
Posts: 111
|
|
What a coOl reply, friend!
"Any fool can write code that a computer can understand.
Good programmers write code that humans can understand." --- Martin Fowler
I really like the words.
ok, you give a nice idea and i am gonna take a try as you say.
Anyway, which editor you use for java coding? Have a nice day, friend.
Thanks
|
 |
Mohammad Ashrafuddin Ferdousi
Ranch Hand
Joined: Jan 14, 2010
Posts: 111
|
|
Nice thing i learn today from you friend.
Can anyone suggest me any book of Java, J2me and j2ee from where I can learn professional quality MVC Pattern?
If So, Please inform me friend.
Regards
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 9939
|
|
the mvc pattern is just that - a pattern. it can be used in ANY language, not just java. Granted, some languages may make it easier or harder to implement.
I'd recommend you get a design pattern book if you want to learn MVC, not a Java book. Check out the bunkhouse here for various recommendations.
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
Mohammad Ashrafuddin Ferdousi
Ranch Hand
Joined: Jan 14, 2010
Posts: 111
|
|
fred rosenberger wrote:the mvc pattern is just that - a pattern. it can be used in ANY language, not just java. Granted, some languages may make it easier or harder to implement.
I'd recommend you get a design pattern book if you want to learn MVC, not a Java book. Check out the bunkhouse here for various recommendations.
Thanks for your post. Ok, I am gonna do so.
Regards
codeperl
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32604
|
|
|
And please don't write coOl or coz or gonna.
|
 |
 |
|
|
subject: About MVC Concept on Java, How should i can apply the concept.Expect some example.
|
|
|