Atomik Plugins Manual


Table of Contents

1. Ajax
2. Auth
3. Backend
4. Cache
5. Config
6. Console
Creating custom scripts
Using commands
Built-in commands
Utility methods
7. Controller
Differences with the classic Atomik way
Creating controllers
Creating simple controllers
Creating controllers by subclassing Atomik_Controller
8. Db
Connecting to a database
The selector
Using the console and sql scripts
9. Lang
Creating language files
Detecting the user language
Translating strings

List of Examples

1.1. Render views instead of returning variables
4.1. Caching requests
6.1. Calling custom scripts
6.2. Calling custom scripts with arguments
6.3. Creating a command
6.4. Creating a command with arguments
6.5. Using the init command
6.6. Using the generate command
6.7. Printing a message
6.8. Creating directories
6.9. Creating files
7.1. Creating routes
7.2. Creating a simple controller
7.3. Creating a simple controller with view variables
7.4. Mapping route parameters to method arguments
7.5. Defining route parameters inside controllers
8.1. Automatically connecting to a database
8.2. Using the db selector
8.3. Using the command line with the Dbb plugin
8.4. Filtering scripts to execute
9.1. A translation file
9.2. Setting the language manually
9.3. Retreiving the current language
9.4. Translating a string
9.5. Translating a string using the shortcut function
9.6. Translating a string with replacements

The manual is licensed under the Creative Commons Attribution 3.0 License.