MVC Java Tutorial

MVC Java Tutorial

Derek Banas

11 лет назад

586,910 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Pedro Moura
Pedro Moura - 23.08.2023 03:39

I cannot believe this is 10 years old and it solved my life now, thank you!

Ответить
Karim Loberg
Karim Loberg - 27.04.2023 11:16

Derek Bananas.

Ответить
Kazanaki HD
Kazanaki HD - 20.02.2023 03:22

Make this a udemy course, add some design principles, add maybe a mini project with back end code for like 4-5 design patterns to have content around 10 hours or less and sell it. I would buy it. Clear voice and great accent.

Ответить
Mike Garrison
Mike Garrison - 12.02.2023 01:02

awesome! thanks for this explanation, it really doesn't have to be complicated 👌👌 💻✨

Ответить
منال بوخالفة
منال بوخالفة - 01.12.2022 22:05

That was legendary!
Thank you!

Ответить
Kamran Bigdely
Kamran Bigdely - 01.10.2022 04:05

The good thing about this tutorial is that it explains the MCV from scratch with minimum code and does not depends on libraries or framework.

Ответить
felicis con forzo
felicis con forzo - 30.09.2022 10:36

Instead of interface I guess "Presentation" is a bit more accurate since it's more about presenting the data in a user-friendly way i.e not necessarily through an interface?

Ответить
stfesteiras stfesteiras
stfesteiras stfesteiras - 12.09.2022 18:31

can you help me with this error that i gave when i ran your code:

Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: C:\Users\L\eclipse-workspace\MVCCalculatorMVCCalculator\bin
Caused by: java.lang.module.InvalidModuleDescriptorException: CalculatorController$CalculateListener.class found in top-level directory (unnamed package not allowed in module)

Ответить
מאיר כהן
מאיר כהן - 08.09.2022 21:13

"the model " u funny

Ответить
David Torres
David Torres - 17.08.2022 18:57

Thanks for your tutorial, it was very helpful to complete my project

Ответить
Chazara2point0
Chazara2point0 - 21.07.2022 01:04

Amazing - really short and concise video. Allowed me to understand and implement the MVC pattern with ease. Thank you for sharing the code too!

Ответить
Guilherme Deon
Guilherme Deon - 21.06.2022 18:55

Your way of explaining things is very clear and simple. I love it. Thank you

Ответить
Carlos Guevara
Carlos Guevara - 18.06.2022 17:41

Is JFrame still "a thing" in 2022?

Ответить
Himanshu Rana
Himanshu Rana - 26.04.2022 13:02

the interesting thing is that java is being run and developed on the device that is built using on c/c++ language

Ответить
Slimane Mesbah
Slimane Mesbah - 03.04.2022 12:21

well explained thanks

Ответить
Kevin Bab
Kevin Bab - 06.03.2022 12:58

pretty insane how much you need to repeat on java it feels like

Ответить
wilwad
wilwad - 07.02.2022 20:02

Just realized I hate OOP

Ответить
WILLGYS
WILLGYS - 30.12.2021 15:27

Super Voice!

Ответить
tamir moav
tamir moav - 08.12.2021 11:36

I do not understand what do u earn by this separation? it looks like it semantic only

Ответить
bahutu
bahutu - 22.10.2021 03:18

Thanks for your explanations!
In case you read my comment, and in case you have some experience with JavaFX: Would it be appropriately transferred to the JavaFX world, if I put everything from the MVCCalculator.main() method into the JavaFX Main.start() method? (Main extends Application) So no single View element would be implemented in the Main-Class / start()-method, but instead everything is done inside the View class?
Or would it be even more appropriate not to use Main (extends Application) as my main class, but instead something else, because one could argue that 'extends Application' already belongs to the View?

Ответить
bosaeed2011
bosaeed2011 - 12.08.2021 23:33

Why didn't you initialize the view and model inside the controller?

Ответить
bild_SCHIRM_vernarrt -  [ -- bSv -- ]
bild_SCHIRM_vernarrt - [ -- bSv -- ] - 09.08.2021 17:19

Thank you very much... Finally i understood MVC ...

Ответить
Nejad Muhammad
Nejad Muhammad - 04.08.2021 00:32

Sorry, but this is the worst explanation I ever heard. It's maybe great if you were explaining how to do a calculator in Java. Just check again how much time did you spend on the calculator rather than explaining what MVC is.

Ответить
First Last
First Last - 30.07.2021 22:34

Very clear and precise. Thank you !

Ответить
Martijn Krijgsman
Martijn Krijgsman - 06.07.2021 22:35

Thank you very much for this incredible informative video :)

Ответить
Humberto Fioravante Ferro
Humberto Fioravante Ferro - 13.06.2021 16:56

Superb explanation, neat and clear. Thank you very much, Derek!

Ответить
Jam Ajna Soares
Jam Ajna Soares - 12.06.2021 19:47

(imports of controller are on the code in the description, that said)
That was great man, thanks.

Ответить
Небо в глазах
Небо в глазах - 22.05.2021 18:29

Hi Derek, thank you for this excellent tutorial!
I just added a multiplication field too. So the JFrame can either add or multiply. But if I leave any of the fields blank, it throws me the error message. So I can't perform addition or multiplication separately. How can I perform either of the operations without getting the error prompted? :D

Ответить
shariful islam
shariful islam - 16.05.2021 08:11

Wow! It's very helpful, clear and simple tutorial on MVC. Lot of thanks to show MVC pattern in this simple way.

Ответить
مجهول مجهول
مجهول مجهول - 06.05.2021 05:39

Is it necessary to pass parameters in the model and the view?
Couldn't you just create as an attribute inside the controller?

Ответить
CodingDS
CodingDS - 27.04.2021 13:16

Well done bro!

Ответить
Julius Jigo Simanjuntak
Julius Jigo Simanjuntak - 21.04.2021 12:41

thank you sirr

Ответить
Trap Music
Trap Music - 24.03.2021 20:25

Hello Sir,
Please add MVC with web-app tutorial.

Ответить
Sachin Dilshan
Sachin Dilshan - 20.03.2021 13:31

Its good

Ответить
Youssef Elmoumen
Youssef Elmoumen - 11.03.2021 23:11

F**k the internet..such a great tutorial gets only 489K views after 8years 😔😔😔😔

Ответить
Christopher Urista
Christopher Urista - 04.03.2021 05:50

here for the, "well hello internet" lol

Ответить
RoyalZ Ak
RoyalZ Ak - 28.02.2021 13:49

What you want to talk,can u simplify this in just one or two lines statement..

Ответить
RoyalZ Ak
RoyalZ Ak - 28.02.2021 13:48

I can't understand

Ответить
Wycliff N
Wycliff N - 24.01.2021 14:51

What is the difference between MVC and MVP

Ответить
NullpointerWorks
NullpointerWorks - 21.01.2021 18:52

Perhaps you can help clear up some confusion I'm having between the MVC and MVA pattern. The implementation you've shown in this video presents the Model and View to be entirely decoupled, like the MVA pattern. Plenty or sources on the internet demonstrate a similar implementation, yet I recall from college that MVC and MVA are a different architecture.

Ответить
Dan Kim
Dan Kim - 21.01.2021 07:56

Thanks for your nice and simple tutorial. But I still have hard time to understand the advantages of MVC. It just more complicated to me.

Ответить
Roger Nuică
Roger Nuică - 28.12.2020 01:05

Just Amazing, thank you from the bottom of my heart Derek

Ответить
Damián Lemiña
Damián Lemiña - 08.12.2020 23:13

I have to completely understand this before the middle of the month. Already seen like two or three tutorials of this MVC thing and didn't get anything before this, so thank you.
Later I'll try it and hope I got it. 😁

Ответить
mabblers
mabblers - 30.11.2020 16:53

Nice job!

Ответить
TooTyrnt
TooTyrnt - 11.11.2020 10:07

Why do I feel like Andy Bernard is giving me this lecture 😂

Ответить
Jacob Eriksson
Jacob Eriksson - 30.10.2020 23:04

why you out here sounding like Andy Bernard

Ответить