Objective
A comprehensive review of the fundamental principles and best practices of the Apprain Platform.
Development Basics
Whether it's a large enterprise solution or a basic website, it's essential to employ the appropriate methods and adhere to the key points listed below:
- First, try to complete the task by using CMS tools like Interface Builder, Dynamic Page, UI Hook, CategorySet, InformationSet, URI Manager, etc. These tasks can be accomplished using the XML configuration or the interface.
- Use framework tools for advanced development, and customize as necessary.
Adopt an agile methodology, make use of all available resources, and distribute tasks based on weight. Split the development into two basic rules.
- Perform all organization-specific tasks inside the base framework.
- Develop components for generic tasks and keep them for further use. Avoid calling helpers and resources directly from other components; rather, use call-back functions.
To sum up, Apprain never suggests working on a similar task again and again, which is most important. The best approach is to use a combination of all methods. Finally, do component-based development to keep your work saved for future use.
Computational Thinking
The AAA strategy is really effective when working with Apprain.
- Analyze: decomposition of the task into small parts and understanding the requirement correctly. These steps help select the correct methods for the next step.
- Arrange: do the pattern analysis and select all tools that represent the best approach to completing the work.
- Action: code only for the abstracted areas, which helps save time and maximize the result.
Resource Optimization
It is advisable to use URI Manager for large solutions—like the SaaS model—in order to manage numerous databases, themes, and components using a single source code. Offering different solutions in a single installation helps one organization achieve its multiple goals.
Reusable Work
To enable work to be moved in a future release, try not to alter the code from the base library found in the Apprain directory.
Help and Manual
Created easy inline documentation for the user in the admin panel by making use of the help and manual features.
App Factory
To improve efficiency and security, always try to access objects in the environment using the App Factory.