|
||||||||
| HOME PRODUCTS DOCUMENTATION EXAMPLES NEWS COMPANY CONTACT | ||||||||
|
Why an object-oriented template language?JPlates is an fully object-oriented template processing language. What that means is that JPlates is an object-oriented language like Java, with classes and inheritance and methods, etc. The big difference is that in JPlates, method bodies are written as templates, mixing JPlates flow-of-control statements with literal text.The chief benefits of JPlates over other approaches are that it supports the full range of object-oriented design and programming techniques and that it's completely and seamlessly compatible with Java and the JVM. JPlates is also a template language, making it easy to generate template-based output. It's all about handling and managing complexityThink about all the techniques you use to get things done and to manage complexity in other applications. All of them are just as useful in template-based applications. Some of these things are really basic, but think about what kind of support you get for them in other template processing tools. |
|||||||
| ||||||||
|
The huge benefit of object-oriented design and programming is that it can handle even the most complex applications without getting out of control. Template-based applications such as dynamic web-applications can be enormously complex. Object-oriented techniques reduce complexityYou need the good object-oriented tools and techniques to handle and manage complexity in template-base applications to keep them from turning into costly maintenance problems. If your applications weren't complex, the most primitive and simple approaches would be sufficient. But they are complex, and they're going to become increasingly complex. You need JPlates to manage that complexity. Why do people still use non-object-oriented tools?It took object-oriented programming several years to become popular, largely because very simple examples couldn't illustrate the benefits, and more complex examples had complexities of their own. The same applies to JPlates. The benefits of managing complexity are not apparent for trivial examples. At high levels of complexity, however, good object-oriented approaches are absolutely essential. Most other tools just don't offer the features you need. If you understand the benefits of object-oriented techniques, you'll understand how they apply to your template-based applications and why JPlates is the right tool to use.
|
||||||||