Site Tools


Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
internal:dev_w:pa:new_architecture

Drupal MVC Framework

Drupal Architecture as layers

List of Drupal Modules Required for ExpertusONE

  • Drupal Core (Mandatory modules)
    1. Block
    2. Filter
    3. Node
    4. User
    5. System
  • Drupal Optional Modules
    1. Contact
    2. Content translation
    3. Comment
    4. Database logging
    5. Locale
    6. Menu
    7. Path
    8. Taxonomy
  • ExpertusOne Contributed Modules (below few examples)
    1. Announcements
    2. Alerts
    3. Learning Spotlight

Building Features in ExpertusONE Product

  • Each feature will have a set of the below mentioned files
    1. .module and .info file
    2. .inc files
    3. CSS files
    4. JS files
    5. install file(optional)
    6. .tpl file(optional)
  • All the Business Logic/SQL should be written in the .module file and the CSS business logic can also be written in the module file.
  • All html/JS and CSS code should be written in .tpl file

How can we do client specific customization?

  • When we do client specific customization, we should always override the ExpertusONE contributed features by writing separate override.module files.
  • The contributed .module FILES should not be changed/altered.

How do we upgrade the product version?

  • When the Product is upgraded to higher version, the ExpertusONE contributed feature .module files will be changed.
    • We have to replace the folder core in both modules and theme when we do an upgrade
  • The extended modules for contributed feature should be tested and corrected if needed.

Summary Diagram

modules_setup1.jpg

ExpertusONE Folder Structure

Drupal Files

  • Drupal Module files - /modules

ExpertusONE module files will be available in the folder structure as given below

  • Contributed Modules - sites/all/modules/core (ie. we need to replace the modules folders under the core folder when we upgrade to the next version)

Example :Learning Plan Feature - Below is the list of files

 sites/all/modules/core/exp_sp_learning_plan/exp_sp_learning_plan.module
 sites/all/modules/core/exp_sp_learning_plan/exp_sp_learning_plan.info
 sites/all/modules/core/exp_sp_learning_plan/exp_sp_learning_plan.inc
 sites/all/modules/core/exp_sp_learning_plan/exp_sp_learning_plan.css   
 sites/all/modules/core/exp_sp_learning_plan/exp_sp_learning_plan.install(Optional)  
  • Extended Modules - sites/all/modules/override

Example :Learning Plan Feature(Client Specific Customization) - Below is the list of files

 sites/all/modules/override/exp_sp_learning_plan/override_exp_sp_learning_plan.module
 sites/all/modules/override/exp_sp_learning_plan/override_exp_sp_learning_plan.info
 sites/all/modules/override/exp_sp_learning_plan/override_exp_sp_learning_plan.inc
 sites/all/modules/override/exp_sp_learning_plan/override_exp_sp_learning_plan.css(Optional)  
 

ExpertusONE theme files will be available in the folder structure as given below

  • Contributed Theme - sites/all/themes/core (ie. we need to replace the theme files under the core folder when we upgrade to the next version)

Example : Learning Plan Feature template - Below is the list of file

 sites/all/themes/core/expertusone/block-exp_sp_learning_plan.tpl.php
  • Extended Theme - sites/all/themes/overwrite/halliburton

Example : Learning Plan Feature template(Client Specific Customization) - Below is the list of file. It will overwrite expertusone/block-exp_sp_learning_plan.tpl.php file. Design (HTML) can be changed by adding below file.

  sites/all/themes/overwrite/halliburton/block-exp_sp_learning_plan.tpl.php (optional)
  
internal/dev_w/pa/new_architecture.txt · Last modified: 2022/06/14 10:16 (external edit)