Features

Lamplighter features a robust but intuitive templating engine to keep your markup clean but functional

 

<{ITERATOR my_widgets}>

<label>Widget Name</label><span class="widget_name"><{name}></span>
<label>Widget Size</label><span class="widget_name"><{size}></span>
<label>Widget Price</label><span class="widget_price"><{price}></span>

<{/ITERATOR}>

Lamplighter features an extensible, secure user login system with fully granular roles and permissions. Checking permissions is easy:

 

<?php

$active_user = $this->get_active_user();
if ( $active_user->has_access('can_view_widgets') ) {
   show_widgets();
}

?>

Using the DataModel object, we can easily retrieve all of our products from the 'shoes' category using only the code below:

<?php

LL::Require_model('ProductCategory');
$category = new ProductCategory();
$category->key = 'shoes';
$products = $category->products->fetch_all();

?>

Lamplighter is a fully open source rapid application development framework for PHP based on a Model-View-Controller (MVC) architecture. It is designed to make PHP development faster, more scalable, and more secure.

lamplighter 2.0.2

Download Size md5 hash
lamplighter-2.0.2.zip 328.18 KB dbf0428be653e5521671177be35eea87
Last updated: Tue, 05/15/2012 - 21:38

fixed NoActiveUserFound tried to extend NotFoundException before NotFoundException was defined

added logout_after_success hook

added option for including both local and foreign keys (e.g. "element id and form id") when deleting association links automatically

added $Last_radio_index member to FormInput for FormLayoutHelper updated post-login hook parameters in UserLogin added support for before_record_insert and before_record_update methods in datamodel Read more »

lamplighter 2.0.1

Download Size md5 hash
lamplighter-2.0.1.zip 343.39 KB 1e1447607de29eecf564450c5fd59385
Last updated: Sun, 11/21/2010 - 21:16

Fixed two bugs in automatic handling of add() and edit() failures:

 

1. Failure messages not displayed back to user

2. Form rendered twice