Note: This article may not be pushing best practices. Instead of setting view data via an AppController, we can create a helper for any arbitrary data we need. Due to Lithium’s autoloading, this takes care of including our helper as needed and may make a bit more sense than injecting view variables via an AppController.
One of the core features of the Lithium PHP 5.3 Framework is the innovative filter system. I initially found the concept a bit hard to understand at first, but the idea is that you can modify a filterable method by applying a filter in some other part [...]
My new application written using the Lithium PHP Framework needed to make API calls to Apple’s iTunes service. The web service in question returns JSON which can be parsed and used to build an array or object on our server via php’s native
Lithium Day 2. This time just a simple quick tip about adding different input types using the FormHelper in Lithium. I want to create a button element in my form but there is no native method to do it. The trick is to use FormHelper::field(‘Button Text’, array(‘type’ => ‘button’, ‘label’ => [...]
I’ve finally had a chance to start hacking on the Lithium PHP Framework and I must say it’s really cool. I have been working with CakePHP for a few years and most of the concepts familiar to CakePHP developers will feel natural for those who [...]
For part of a new project at work, I needed to be able to render a progress bar showing progress towards completion of an assignment. I had not yet made a proper jQuery plugin so I though it would be a good idea to release this so others could take advantage of it or possibly contribute back [...]