On a slightly different note, I've managed to implement a custom
authentication element. The trick to doing this was understanding how
Great!
inheritance works, especially how "child" elements are triggered.
I did realise that the "childtrigger" variable had to be passed around
but, at the same time, was puzzled that the URL was not updated to
include that variable after a successful login and the value of the
variable set with "setOutput()". By adding an EXIT:QUERY:xxx to
the "child" element's template, I could then see that the variable was
being included in it. Which made things much clearer after that.
Above all, the "declic" came when I remembered Geert's words:
(paraphrased) "The URL is the state!"
We should put that on every page :-p
Now that the proof of concept seems to be working, I'm on my way to
using
RIFE full time.
Wonderful, please let us know how it goes and if you have any
suggestions or remarks.
I would like to point Geert and the hard-working team to the JPOX web
site for getting ideas on how to document the project. Let's face it,
RIFE is going to be used mostly by developers. It is pointless at this
time, especially with the lack of documenters, to attempt to write
a full
user guide. I think it is sufficient to provide technical overviews of
the engine in the way JPOX does it (e.g. see
http://www.jpox.org/docs/1_1/developer/persistence_manager.html)
and some
simple USE-case scenarios.
Good idea, I was actually thinking about adding some of these, just
need to find the time to do so. About the usersguide, it is merely
meant as an introduction, and it was written more than 2 years ago
(and occasionally updated). It should however be rewritten with all
the nice features in mind that were added afterwards, since some
things seem overly convoluted in there now and don't have the correct
focus.
On another note, I'm considering starting work on a RIFE book for
Manning. I'm just not 100% sure yet if I can fit it into my schedule
since technical books sadly pay very badly nowadays. Any ideas about
what you would like to see covered, what you found interesting in the
current docs or what you found missing are very welcome.
Again, thank you for your help, Geert.
My pleasure :-)
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users