Updated readme, misc fixes
* Look for spark config in parent directories * Version tracking via src/version
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user