Smart UI
Smart UI , also called Smart User Interface ( German " Elegant User Interface " ), is a software design or development pattern in which a graphical user interface is designed with the help of a GUI builder . The developer places the controls on the surface and defines them as triggers for events that are handled in an associated code-behind file. The Smart UI pattern can be used under MFC , VB6 , Windows Forms and ASP.NET Web Forms , among others . As a rule, the principle of separation of concerns is dispensed with when programming event handling as part of the smart UI pattern . This results in disadvantages for software development, especially with regard to maintainability and expandability ; the pattern encourages the creation of spaghetti code . In this regard, the pattern is also considered an anti-pattern . The smart UI pattern is advantageous, among other things, in that it represents a comparatively low hurdle for newcomers to programming and it can be used for prototyping user interfaces. The disadvantages of the Smart-UI-Pattern try to compensate among other things the architecture pattern Model View Controller and Model View ViewModel by separating layers .
literature
- Adam Freeman: Pro ASP.NET MVC 5 , Apress, New York 2014, ISBN 978-1-4302-6542-9 , p. 53 f.
- Alexandros Karagkasidis: Developing GUI Applications: Architectural Patterns Revisited. A Survey on MVC, HMVC, and PAC Patterns , conference contribution to EuroPLoP 2008 (13th Annual European Conference on Pattern Languages of Programming), Irsee 2008
- David Tielke: Better with a plan , in: dotnetpro No. 2/2015, pp. 38–45