Development - Application Vendors
General ¶
Application-level vendors are the third-party libraries that integrated to further extend your application functionalities. They must be placed in a special sub-directory and generally it contains all third-party modules or libraries which your application may need. There 3 general types of vendor libraries that may be used:- Pure JavaScript libraries
- Pure PHP scripts or libraries
- PHP scripts with JavaScript and other files
Placement ¶
Pure JavaScript libraries
There is a special place for JavaScript vendor libraries. They must be place in applicationassets/vendors
directory to provide public access to their files.
Here the example:
-
application/ your application directory
-
js/ directory where placed all JavaScript files
-
vendors/ directory where placed all vendor libraries
- jquery/ jQuery library
- tinymce/ TinyMCE library
- tooltip/ other libraries
- ...
-
vendors/ directory where placed all vendor libraries
-
js/ directory where placed all JavaScript files
Pure PHP libraries
Currently this section in development phase! Please visit our website to get more information.
PHP scripts with JavaScript and other files
In such cases you may useassets/vendors
directory to provide public access to JavaScript vendor files and
write your own PHP procedure that will check the access to your PHP files.