Why Apprain?
With its own Framework and CMS, Apprain is made to operate in tandem for faster and more flexible development. The idea is to always stay flexible and perform well at work by utilizing both of these resources.
Have fun coding and making your own repository.
Base Pattern
App
Factory helps manage all resources in the system. It is recommended to use that to ensure compliance.
App::Module('Hook')
is primarily used in components to register all resources and utilize them in a standalone manner.
Strategy of development
Just keep in mind that the task can be very large or small but the strategy of computational thinking makes correct progress. Procedures will be started with ready tools first so that they can be covered by the Framework section if necessary.
Phase | Description |
---|---|
Analyze | Divide the task into small parts and understand the demand. |
Arrange | Choose methods and tools and map them to the tasks. |
Action | Simply code and finish as planned. |
The analysis and action portions are rather simple because the standard requirement analysis is done first, and the program coding and completion are the last steps in the process. But the most important part is when you get to the "Arrange" phase, which is where Apprain adds value. The following hypothesis outlines a straightforward plan for creating a personal blog system.
Let's see below the hypothesis that it is a simple arrangement to develop a personal blog.
Sl. | Requirements | Module | Technique | Estimation |
---|---|---|---|---|
1 | Create admin panel navigations | Interface Builder | XML | 5 Minutes |
2 | Category Management | CategortySet | XML | 5 Minutes |
3 | Post Management | InformationSet | XML | 5 Minutes |
4 | Create Configuration Options | Site Settnigs | XML | 5 Minutes |
5 | Beautify Web Address | Router | XML | 5 Minutes |
6 | Create a model for the comment's database table. | MVC | PHP | 3 Minutes |
7 | Develop a frontend that shows blog post details and list views. | MVC | PHP | 20 Minutes |
8 | Develop a frontend for comment submission and viewing. | MVC | PHP | 20 Minutes |
9 | Manage comments in the admin panel. | MVC | PHP | 20 Minutes |
So, always try to maximize your output by using Apprain and its design patterns.
Approach : Save your work!
Each "component" works like an individual entity; it can inherit MVC, API, callback, theme, etc. from CMS and Framewrok, but the major advantage is that it can be installed into a new project easily. So it is highly recommended to create a new component for each unique demand.