Skip to content

javanile/vtiger-preload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐯 vtiger (preload)

This is where we discuss and decide once and for all how to implement preload in vtiger.

What is 'preload'?

The 'preload' is a PHP section used to run code before every kind of requests and for each requests to which the application is targeted. This is a middle stage between configuration loading and application entrypoints or runtime.

Why 'preload' is important?

Complex application can have differents entrypoints, for examples vtiger supports various entrypoints. This means that if I want a portion of my custom code is executed into all of entrypoints I need to copy it into everyone, this is bad. This is the main reason why we need to define an offial 'preload' stage for all developer. For vtiger develper this means that 'preload' is before Loader.php but after config.inc.php.

Vtiger entrypoints

Here all the official PHP entrypoints supported by vtiger are listed. Any entrypoint not present in this list should not perform the 'preload' stage.

  • index.php
  • webservice.php

Application stages

This is how the various stages are loaded in runtime.

Stages

About

Discussion about preload on vtiger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages