In this video Emmanuel Henri explains the model-view-controller pattern with an example.
- [Instructor] If you've been programming for a few years,…you may or may have not heard…of the Model-View-Controller pattern,…but it is often the first thing you'll learn…as you grow more experience as a developer.…This pattern basically defines…how an application should be split…and often reflects how your modules are organized…within three simple categories,…models, views and controllers.…The model is where your data resides…where you define your schemas…and the models for your data.…The views is where you have your views…and in most case, the pure HTML of your application,…where the visuals are,…and finally, the controllers are where you have your logic…of your application,…the functions that makes your application run.…
Following this pattern, most developers split all the files…and structure of their application following this pattern,…and even sometimes,…they end their folders with these labels.…Nowadays, this approach to splitting your application…has evolved, especially with applications like React,…which more of MVVM or MVVC,…
- What's a pattern?
- What's the role of callbacks?
- Creational patterns, including Singleton and Factory
- Structural patterns, including model-view-controller
- Behavioral patterns, including Memento and Mediator
Skill Level Intermediate
2. Creational Patterns
3. Structural Patterns
4. Behavioral Patterns
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.