Updated readme, misc fixes

* Look for spark config in parent directories
* Version tracking via src/version
This commit is contained in:
2021-12-08 22:19:20 +01:00
parent c3e97ea4b1
commit 0d8844f499
5 changed files with 30 additions and 5 deletions
+5 -1
View File
@@ -41,6 +41,8 @@ The advantage of writing your extensions as plugins:
- Object-oriented interface
- Delayed evaluation of code, ensuring dependencies are loaded
- Free autoloader! The namespace and path of the plugin class will be used to
set up a Psr-4 autoloader for your code.
### Scripts
@@ -64,9 +66,11 @@ Using scripts is the simplest way to leverage Spark:
`.php`-files are executed in-process, and as such have access to any registered
resources, resource types and plugins.
*Note: The script system need to be improved and revamped to support environment variables and such*
### Resources
Resources are wrappers around database connections and such, providing a cleaner
interface to its innards.
Resources are generally registered by plugins.