[pLog-svn] LT-1.3-ajax branch demo
Oscar Renalias
oscar at renalias.net
Sun Jul 15 17:40:25 EDT 2007
After hacking away the last few days working on some new ideas for
1.3 (most of them based around ajax to "spice up" the admin interface
a little), I've set up a test installation at http://
devel.lifetype.net/lifetype-1.3-ajax/admin.php (LT user=user / LT
password=user - HTTP user=devel / HTTP password=d3v3l)
Basically, this is what I've been toying with:
- Added a performAjax() to many action classes, so that they generate
content ready to be consumed by a json/javascript client. Just append
"&output=json" to a URL like "admin.php?op=addArticleCategory" and
see the results.
- Based on the work above, validation of forms via XmlHttpRequest has
been implemented, where field errors are reported in the background
and dynamically displayed in the form wherever necessary.
- All the "New XXX" options ("New Link", "New Category", etc) options
have been moved, so that for example "New Link" is now an option that
appears only in the "Links" page and so on. Doing so has allowed the
"Manage" menu to go down to 7 options which now all fit in one single
row of tabs. I'd like to reduce the number of options available when
users click "Manage", do we really need 12 of them in there?
- In addition to the idea above, all the "New XXX" and "Edit XXX"
screens are modal dialogues that appear as some sort of pop-up
overlaid on top of the current screen. The idea is that users don't
lose focus of where they are, so if they're browsing the list of
categories, I think it's safe to assume that they should stay there
if they want to edit or add a new category.
- Better usage of the screen space in the "Resources" page, now files
appear in some sort of dynamic table that allows to show a lot more
of them.
You don't need to install this branch in your computers, I'm making
it easy to test this in our server and send us your feedback :-) We'd
like to know if we're going the right way.
Oscar
More information about the pLog-svn
mailing list