This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:dev:all:psr [25.05.2015 16:30] – finished translation mrbaseman | en:dev:all:psr [28.12.2018 23:26] – [Official Standards] Manuela v.d.Decken | ||
---|---|---|---|
Line 12: | Line 12: | ||
|MAY / OPTIONAL |This states an item which is truly optional.| | |MAY / OPTIONAL |This states an item which is truly optional.| | ||
- | * **[[en: | + | * **[[en: |
- | * **[[en: | + | * **[[en: |
- | * **[[en: | + | * **[[en: |
- | * **[[en:dev:all:psr-4de|Improved Autoloading (PSR-4)]]** -A more modern interpretation autoloading, | + | * **[[http:// |
* **[[en: | * **[[en: | ||
===== Basic rules for programming in the WB-environment ===== | ===== Basic rules for programming in the WB-environment ===== | ||
With every subsequent release of WebsiteBaker, | With every subsequent release of WebsiteBaker, | ||
- | At present, i.e. before 2.8.4, compliance with many regulations is still voluntary, in the 2.8.4 much is already deprecated, and later on many of the specifications of 2.8.4 will be mandatory. All this sounds very restrictive to many, but this is gladly accepted, since precisely these limitations will eventually ensure a stable modularity, flexibility and interchangeability for stable, reusability and mainly maintainability of code. | + | At present, i.e. before 2.12.0, compliance with many regulations is still voluntary, in the 2.12.0 much is already deprecated, and later on many of the specifications of 2.12.0 will be mandatory. All this sounds very restrictive to many, but this is gladly accepted, since precisely these limitations will eventually ensure a stable modularity, flexibility and interchangeability for stable, reusability and mainly maintainability of code. |
==== General rules for Addons ==== | ==== General rules for Addons ==== | ||
Line 33: | Line 33: | ||
- ... May only send data to the browser throught the responder of core | - ... May only send data to the browser throught the responder of core | ||
- ... May not define global variables or global constants. | - ... May not define global variables or global constants. | ||
- | for later versions (2.9), further restrictions will come. See the respective sections of this documentation. | + | - ... May never use indirect addressing or allow that! |
+ | |||
+ | for later versions (2.12), further restrictions will come. See the respective sections of this documentation. | ||