desain yang dapat digunakan kembali untuk sebuah sistem perangkat lunak (atau subsystem). Sebuah kerangka kerja perangkat lunak mungkin mencakup support perangkat lunak, code libraries, a scripting language, atau perangkat lunak lain untuk membantu mengembangkan dan mengikat bersama-sama komponen yang berbeda dari sebuah proyek perangkat lunak. Berbagai bagian dari kerangka kerja dapat terpapar melalui API.
Selected frameworks
GUI frameworks
VCL
- Controller
- The controller is represented by the visual forms created either in the form designer or via code.
Combined frameworks
Java: Java Platform, Enterprise Edition (Java EE)
Simple Version implementing Java Servlets and JavaServer Pages from Java EE:
- Model
- The model is a collection of Java classes that form a software application intended to store, and optionally separate, data. A single front end class that can communicate with any user interface (for example: a console, a graphical user interface, or a web application).
- View
- The view is represented by JavaServer Page, with data being transported to the page in the HttpServletRequest or HttpSession.
- Controller
- The Controller servlet communicates with the front end of the model and loads the HttpServletRequest or HttpSession with appropriate data, before forwarding the HttpServletRequest and Response to the JSP using a RequestDispatcher.
The Servlet is a Java class, and it communicates and interacts with the model but does not need to generate HTML or XHTML output; the JSPs do not have to communicate with the model because the Servlet provides them with the information—they can concentrate on creating output.
Unlike the other frameworks, Java EE defines a pattern for model objects.
- Model
- The model is commonly represented by entity beans, although the model can be created by a servlet using a business object framework such as Spring.
- View
- The view in a Java EE application may be represented by a JavaServer Page, which may be currently implemented using JavaServer Faces Technology (JSF). Alternatively, the code to generate the view may be part of a servlet.
- Controller
- The controller in a Java EE application may be represented by a servlet, which may be currently implemented using JavaServer Faces (JSF).
XForms
XForms is an XML format for the specification of a data processing model for XML data and user interface(s) for the XML data, such as web forms.
- Model
XForms stores the Model as XML elements in the browser. They are usually placed in the non-visible elements of a web page.
- View
The Views are XForms controls for screen elements and can be placed directly in the visible section of web page. They are usually placed in the elements of a web page.
The model and views are bound together using reference or binding statements. These binding statements are used by the XForms dependency graph to ensure that the correct views are updated when data in the model changes. This means that forms developers do not need to be able to understand either the push or pull models of event processing.
- Controller
All mouse events are processed by XForms controls and XML events are dispatched.
Implementations of MVC as GUI frameworks
Smalltalk's MVC implementation inspired many other GUI frameworks, such as the following:
- Cocoa framework and its GUI part AppKit, as a direct descendant of OpenStep, encourage the use of MVC. Interface Builder constructs Views, and connects them to Controllers via Outlets and Actions.
- GNUstep, also based on OpenStep, encourages MVC as well.
- GTK+.
- JFace.
- Microsoft Foundation Class Library (MFC) - called the Document/View architecture
- Microsoft Composite UI Application Block, part of the Microsoft Enterprise Library.
- Qt since Qt4 release.
- Java Swing.
- Adobe Flex.
- Wavemaker open source, browser-based development tool based on MVC.
- Windows Presentation Foundation (WPF) uses a similar Model–view–viewmodel pattern.
- Visual FoxExpress is a Visual FoxPro MVC framework.
- Tk toolkit Tcl/Tk toolkit.
[edit] Implementations of MVC as web-based frameworks
It has been suggested that this article or section be merged into Comparison of web application frameworks. (Discuss) |
In the design of web applications, MVC is implemented by web template systems as a "View for web" component.
MVC is typically implemented as a "Model 2" architecture in Sun parlance. Model 2 focuses on efficiently handling and dispatching full page form posts and reconstructing the full page via a front controller. Complex web applications continue to be more difficult to design than traditional applications because of this "full page" effect. More recently AJAX driven frameworks that focus on firing focused UI events at specific UI Components on the page are emerging. This is causing MVC to be revisited for web application development using traditional desktop programming techniques.[citation needed]
ABAP Objects
Actionscript
- PureMVC Framework for Actionscript.
- FlashMVC- A lightweight Framework for Actionscript3 aimed at beginners to power users.
ASP
C++
- cppcms A C++ Web Development Framework (not CMS) aimed for Rapid Web Application Development.
- Wt - Web toolkit A library and application server for web applications using a desktop-like event-driven MVC pattern.
ColdFusion
- Mach-II A framework that focuses on trying to ease software development and maintenance
- Model-Glue Through a simple implementation of Implicit Invocation and Model–View–Controller, they allow applications to be well organized without sacrificing flexibility.
- Fusebox Fusebox does not force the Model–View–Controller (MVC) pattern or Object-Oriented Programming (OOP) on the developer. However, either or both of these development approaches can be used with Fusebox.
- PureMVC Framework for ColdFusion
- Coldbox is an event-driven conventions based MVC ColdFusion Framework with an extensive array of patterns for its operations such as Factories, Helpers, Workers, etc.
- Switchboard is a MVC framework with built in authentication, redirecting, and URL routing.
- FW/1 is intended to require near-zero configuration, letting you build your application without worrying about a framework getting in your way.
Flex
- Cairngorm one of the primary open source frameworks for application architecture in Adobe Flex.
- HydraMVC Flex framework improving upon PureMVC
- Mate Architectural framework for Flex development.
- PureMVC ActionScript 3 MVC framework for Flex, Flash and AIR development.
- Aconcagua is a Flex/AIR framework built to support enterprise application development.
Groovy
Java
MVC web application frameworks:
- Aranea
- Cocoon
- Induction
- JSF
- LongJump
- Maverick
- Oracle Application Framework
- PureMVC, a framework for Java
- Sling, used to create content based applications on top of JCR. Supported scripting languages are JSP, server-side JavaScript, Ruby, Velocity
- Sofia
- Spring MVC Framework
- Struts
- Struts2
- Stripes
- Tapestry
- Wavemaker, a WYSIWYG development platform for Ajax web applications.[6]
- WebObjects
- WebWork
- Wicket
- Web Dynpro Java
JavaScript
MVC web application frameworks:
- SproutCore
- PureMVC Framework for JavaScript
- Woozoo MVC Framework for the Prototype JavaScript Framework
- JavascriptMVC Javascript MVC framework based upon jQuery core.[7]
Informix 4GL
- Informix 4GL MVC models to use for Informix 4GL report and form creation
- EGL — IBM's EGL MVC Implementation
Lua
.NET
- ASP.NET MVC Framework
- Maverick.NET
- MonoRail An ActionPack inspired MVC framework from the Castle Project
- PureMVC Framework for C#
- Spring Framework.NET
- NFX Framework (.Net Framework Extension)
Perl
- Catalyst An MVC-based avant-garde Web framework;
- CGI::Application Lightweight MVC Web Framework, based on CGI.pm;
- Gantry An MVC Web application framework, similar to Django;
- O2 An MVC-based web framework;
- Maypole An MVC Web framework, superseded by Catalyst;
- Jifty the "one true way" for MVC Web application;
- MasonX::MiniMVC MVC Framework;
- Solstice An Web application development framework, based on MVC programming methodology.
PHP
- Agavi a PHP5 application framework that focuses on sustained quality and correctness.
- Akelos PHP Framework a Ruby on Rails port to PHP4/5..
- Atomik Framework micro framework for PHP5. Atomik Framework
- BluewaterMVC A Different Approach to MVC Frameworks.
- CakePHP webapplication framework modeled after the concepts of Ruby on Rails.
- CodeIgniter An MVC framework for PHP4 (up-compatible with PHP 5.3.0 as of version 1.7.2).
- CodeLighter Micro Codeigniter-like MVC PHP5 framework that uses Codeigniter plugins and libraries.
- Concrete5 A PHP MVC framework and CMS platform.
- Dingo Framework An application framework designed for ease of use and flexibility.
- EuropaPHP An extremely fast and lightweight PHP5 MVC framework. Compatible with the Zend Framework.
- Exponent CMS is web Content Management System web application framework using its own MVC framework modeled after Rails.
- EZG Framework is a simple and lightweight MVC based PHP framework.
- FUSE A powerful but easy-to-use PHP 5 Framework for MVC development modeled after the concepts of Ruby on Rails.
- FLOW3 TYPO3's MVC framework (being developed)
- Jelix (web framework)
- Jaws is a Framework and Content Management System for building dynamic web sites.
- Joomla! v1.5.x is an open source Content Management System that employs the MVC model for its extensions, called components and modules.
- KISSMVC A minimalist but fully flexible PHP MVC framework designed based on the KISS principle
- Kohana is an open source MVC oriented framework, originally forked from CodeIgniter.
- Kumbia PHP Framework is an open source PHP5 MVC framework with ActiveRecord, Routing,...
- LightMVC is an lightweight Zend-like framework using PHP5.
- LISA MVC is an open source object oriented web application framework.
- Lithium Lithium is a light-weight, high-performance, RAD framework for PHP 5.3 and up.
- Micro CMS Open Source (LGPL) MVC framework and nice and simple CMS in one
- MODx Full-featured Open Source OOP MVC/ORB xPDO-based CMS
- MVCnPHP Fast, open source and only does MVC.
- Nette Framework A PHP MVC/MVP framework.
- Neutron A lightweight open-source PHP5 library featuring a simple MVC routing framework.
- Odin Assemble Small footprint PHP based MVC Framework.
- OpenCart Open Source Shopping Cart based on MVC Framework.
- Orinoco Framework is a full-stack yet lightweight framework written in PHP5. It implements the Model 2 design paradigm.
- PHP4MVC A minimal easy-to-use MVC architecture in PHP4.
- PHP Faces Open Source Event Driven MVC framework. PDO ORM Framework phpfaces.webmahsulleri.com
- PHP Fat-Free Framework is a single-file MVC-based Web application framework with a template engine, URL-based cache, HTML forms processor, CAPTCHA image generator, CSS/Javascript compressor and an easy-to-use SQL handler for databases.
- PHPonTrax A PHP 5 MVC framework modeled after Ruby on Rails.
- phpXCore A MVC design pattern based PHP content management framework compatible with PHP4 and PHP5.
- Pluf PHP WebApp Framework modeled after Django framework.
- PRADO A PHP 5 MVC framework modeled after ASP.NET web forms.
- RA PHP Framework A PHP5/up-compatible PHP 5.3 MVC/STH (Strong Type Hinting) framework.
- PureMVC Framework for PHP
- Qcodo is an open-source PHP 5 web application framework that also includes a code generator.
- QCubed is a community fork of Qcodo with more rapid development.
- Samstyle PHP Framework is a rapid development for the PHP environment that is easy and fast to use.
- SilverStripe contains a fully fledged PHP 5.2 ORM/MVC Framework focused on building websites.
- Solar
- Switch board (framework) PHP 5 MVC Framework with Routing.
- Symfony Framework PHP 5 MVC Framework modeled after the concepts of Ruby on Rails.
- Vork PHP 5 MVC Framework designed for rapid development of performance-oriented scalable applications
- Yii PHP Framework A PHP 5, high-performance component-based framework best for developing large-scale Web applications
- SimpleTools An Object Oriented MVC Framework
- MvcSkel web framework for PHP5
- Zend Framework A PHP 5-based MVC framework conceptually similar to Ruby on Rails.
- ZNF PHP5 MVC framework for enterprise web applications
- Zoop Framework A Mature PHP 4/5 MVC framework.
Python
- Django A complete Python web application framework. Django prefers to call its MVC implementation MTV, for Model-Template-View.[8]
- Enthought The Enthought Tool Suite brings the Model–view–controller mindset to scientific GUIs and visualization
- Pylons—Python Web Framework
- TurboGears for Python
- web2py A scalable full-stack enterprise level Python agile web development framework with support for highly flexible and rapid database-driven web application development.
- Zope Web application server
- Plone Content management system built on top Zope
- PureMVC Framework for Python
- Pygtkmvc Model-View-Controller (MVC) and the Observer patterns for the PyGTK2 graphic toolkit
- mvckit Lightweight Model-View-Controller Kit/Framework for Python
Ruby
- Camping
- Merb
- Nitro
- Ramaze
- Ruby on Rails
- Monkeybars
- PureMVC Framework for Ruby.
Smalltalk
XML
- XForms—XForms has an integrated Model–view–controller architecture with an integral dependency graph that frees the programmer from specifically having to perform either push or pull operations.
XQuery
- XQMVC A framework for XQuery.
informasi yang bagus untuk para penyegar. terima kasih.
BalasHapuspelajari tutorial python3