Technology Guidelines"

From Documentation
m
m
Line 8: Line 8:
 
'''When to use MVC:'''
 
'''When to use MVC:'''
  
[[ZK Developer's Reference/MVC|MVC]] (Model-View-Control) is a design pattern to separate the model, view and controller. It is easy to collaborate and to maintain. In addition, the performance is great. It is strongly suggested to apply MVC pattern to your application, at least, for.  
+
[[ZK Developer's Reference/MVC|MVC]] (Model-View-Control) is a design pattern that separates the model, view and controller clearly. It is easy to collaborate, develop and maintain. In addition, the performance is great. MVC is strongly suggested for development, especially for production systems.
  
 
'''When to use zscript:'''
 
'''When to use zscript:'''
  
[[ZK Developer's Reference/UI Composing/ZUML/Scripts in ZUML|Zscript]] allows you to embed Java code in ZUML pages. It speeds up the development cycle of prototyping and POC. However, the performance of Java interpretation is not good, and tends to be error prone, so it is not suggested to use in the production system.
+
[[ZK Developer's Reference/UI Composing/ZUML/Scripts in ZUML|Zscript]] allows you to embed Java code in ZUML pages. It speeds up the design cycle, so it is suggested for prototyping, POC and testing. It is also good for exploiting ZK features and reporting bugs to ZK. However, Like any interpreter, the performance is not good, and tends to be error prone, so it is ''not'' suggested to use in production systems.
  
 
'''MVC Extractor'''
 
'''MVC Extractor'''

Revision as of 09:58, 3 March 2011


Technology Guidelines


Under Construction...

Technology When and When not
MVC vs. Zscript

When to use MVC:

MVC (Model-View-Control) is a design pattern that separates the model, view and controller clearly. It is easy to collaborate, develop and maintain. In addition, the performance is great. MVC is strongly suggested for development, especially for production systems.

When to use zscript:

Zscript allows you to embed Java code in ZUML pages. It speeds up the design cycle, so it is suggested for prototyping, POC and testing. It is also good for exploiting ZK features and reporting bugs to ZK. However, Like any interpreter, the performance is not good, and tends to be error prone, so it is not suggested to use in production systems.

MVC Extractor

ZK Studio provides a tool called MVC Extractor that can convert zscript to MVC automatically. It simplifies to transfer the code from prototyping to production.


Documentation links:

Data Binding When to use:

When not to use:

Documentation links:

JSP vs. ZUL When to use ZUL:

When to use JSP:

Documentation links:

Bookmarks vs. Multiple Pages When to use bookmarks (in single page):

When to use multiple pages:

Documentation links:

Native vs. HTML Components When to use native:

When to use HTML:

Documentation links:

Event Processing Thread When to use:

When not to use:

Documentation links:



Last Update : 2011/03/03

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.