[Solar-talk] find all available apps

Antti Holvikari anttih at gmail.com
Tue Apr 15 09:23:26 CDT 2008


On Tue, Apr 15, 2008 at 1:05 AM, Jeff Surgeson <solar at 3hex.com> wrote:
> Hi All
>
>  What is the easiest way to get a list of available vendor apps?
>
>  Solar::parent()?

There is no way for Solar to know all the apps it can run. The only
thing Solar knows is that it needs to look for page controllers where
you've told it to.

That said, I've implemented something very close to what you want with
Abovo. When you access a URL it stores that app name in the db and
scans that app for info with reflection (available actions, action
names, app name and description). It then stores this info in the
cache for later use.

The code doesn't work with vanilla Solar :-(

http://code.google.com/p/abovo/source/browse/trunk/Abovo/Menu.php

-- 
Antti Holvikari <http://anttih.com>


More information about the Solar-talk mailing list