I’ve created a very simple module to integrate the Lithium (http://dev.lithify.me) Framework into Drupal as a module. Why? Well because of it’s very strict namespacing, you can include it without any overlaps (you can’t with Cake or Kohana). Accelerates building of non-content, complex apps where extending Drupal using CCK / Views etc. and being constrained by the node model doesn’t make sense for you.
Everything is on my github page: https://github.com/cliftonc/li3_drupal as usual.
You simply need to install Li3 (and may I add that this is an absolutely awesome framework with a lot of potential – come on 1.0 release!):
1. Download lithium from http://dev.lithify.me. Clearly it has some dependencies such as php, a web server etc. if you’re reading this I’ll assume you’ve figured out how to install those
2. Download li3_drupal plugin – lithium branch, place into the app/libraries folder.
git clone -b lithium email@example.com:cliftonc/li3_drupal.git
Then configure Drupal:
1. Download and install li3_drupal module and install into your Drupal 7 instance.
git clone firstname.lastname@example.org:cliftonc/li3_drupal.git
2. Edit .module to point at your installation of Lithium (change paths as appropriate).
3. Enable module.
What is included:
- Drupal security adapter – uses the standard Auth::check and Li3 session management to interact with logged in Drupal user (very basic)
- Routes – based on the configured sub-path
- Drupal bootstrap to set environment (needs to be enhanced)
- Enable li3 commands to be run from an admin page ?
- Add Doctrine plugin (this does work – but removed to simplify initial release – want to be able to add as simple plugin).
- …. ???
1 Comment to Lithium [@dev.lithify.me] & Drupal … ?!
Leave a Reply
Error: Twitter did not respond. Please wait a few minutes and refresh this page.