Template (add-on)

From JRapid

Jump to: navigation, search

A template is a packed and ready-to-use group of entities.

After adding a template, JRapid users can customize them. They turn out to be helpful when implementing common application patterns, for example User Management, Audit, Email administration, etc.

Templates are quite a simple tool. They are Entities that can be added to the current entities and so be easily integrated as any of the other user-created ones.

Available templates

  • User management: Users, privileges, roles and authentication are very common issues to take into account during an application development process. JRapid simplifies the basics of this task by providing a built-in solution, partly eased by the definition of the required entities through a template and the use of stereotypes to take advantage of built in behavior for these classes.
  • Email: Emails are present in almost every web application. This stereotype forces the user to create an Email entity with subject, body, recipients, source address, etc. The generated service, as it extends from a super class has methods such as Send() and Receive() that are already integrated with JavaMail libraries.
  • Login: Login entity forces the user to include properties to store username, password and schema name. Login services include Login() method, that apart from checking the existence of the logged in user, store this information in memory, making it available from every part of the application.
  • Invoice: Generates the necessary entities and code to enable invoice managing inside the application.
  • Audit: Auditing modification to records can be easily achieved by using the auditlevel attribute. This must be combined with this template that defines the entity that will store entries for each modification.

How to import templates

To import a template go to the Add-ons menu and select the Import template option.

See Also

Personal tools