More information about the Underscore mailing list

[_] Simple admin, XML API, Flash client

Jon Bennett jmbennett at gmail.com
Mon Mar 10 14:46:45 GMT 2008

>  I did this type of thing for... - clearly didn't do exactly the same thing :p

I'll explain a little about using cake as a simple admin tool.

1. create your database structure
2. use the console app to 'bake' your Models/Views/Controllers
3. choose a simple auth method, I could just go with obAuth if you
simple requirements, to lock down certain controller methods (index,
add, edit, delete)
4. create a login method of your users controller
5. create a controller method that queries the db and passes that to
the a view that formats it as xml.
6. add caching etc as required to this method

With flash there's a million ways to accomplish the same thing, so it
really depends on the requirements, but something like:

6. load in the xml in flash, turn it into an object/array.
7. push the data into your ticker, news box - do all the things you
want to do etc
8. I've not tried caching in flash, but I reckon you could use Shared
Objects to accomplish the same thing easy enough.

Once you have it working as a SWF it's easy enough to turn it into a
screensaver.

hth

jon

-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett