Introduction Anyone who has used JavaScript frameworks (such as AngularJS, Backbone or Ember) is familiar with the working mechanism of mvc in UI (user interface, front-end). These frameworks implement MVC, making it easier to change the view as needed in a single page. The core concepts of Model-View-Controller (mvc) are: a controller that handles incoming requests, a view that displays information, and a presentation Model for business rules and data access. Therefore, when we need to create an application that switches out different content within a single page, we usually choose to use one of the above frameworks. However, if we only need a framework that implements view switching in a URL without additional bundled functions, there is no need to use complex frameworks such as Angular and Ember. This article is an attempt to use simple and effective methods to solve the same problem. The code in the concept application uses the "#" in urls to implement MVC mode navigation. The application starts with a default URL, hash-based code loads the application view and applies the object-model to the view template. url
1. Simple code example to implement JavaScript MVC style framework
## Introduction: Introduction People who have used JavaScript frameworks (such as AngularJS, Backbone or Ember) are familiar with the working mechanism of mvc in UI (user interface, front-end). These frameworks implement MVC, making it easier to change the view as needed in a single page. The core concepts of Model-View-Controller (mvc) are: a controller that handles incoming requests, a view that displays information, and a presentation Model for business rules and data access. Therefore, when we need to create such an application that needs to switch out different content in a single page, we usually choose to use one of the above frameworks..
2. web mobile terminal Front-end construction (including style layout, the pure version does not include other style frameworks)_html/css_WEB-ITnose
Introduction: Web mobile front-end construction (including style layout, the pure version does not Including other style frameworks)
3. Jquery ui css framework_jquery
Introduction: Jquery ui css framework is jquery ui A style framework in , you can use jquery Theme roller to generate the CSS style effect you want. We can use some frameworks of jquery ui to develop plug-ins based on jquery ui css framework effects.
4. Experience in developing Widgets based on jQuery UI CSS Framework_jquery
##Introduction: jQuery UI CSS Framework is A style framework in jQuery UI, you can use jQuery Theme roller to generate the CSS style effects you want. We can use some frameworks of jQuery UI to develop plug-ins based on jQuery UI CSS Framework effects.5.
Super simple implementation of JavaScript MVC style framework_javascript skills
##Introduction: This article shares with you a translated article written by a foreign friend on how to implement the javascript MVC style framework simply and effectively. It is an introductory tutorial to MVC. I hope you will like it.
[Related Q&A recommendations]:
javascript - vue2.0 different style frameworks for mobile phones and computers
The above is the detailed content of Summary of 5 articles about style frameworks. For more information, please follow other related articles on the PHP Chinese website!