You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Shaun Campbell <Sh...@entranet.co.uk> on 2001/12/03 17:05:04 UTC

RE: Flux HowTo docs?

I don't know whether you have the answer to this already because I don't
seem to have been receiving all the postings since the recent change.  

Anyway as a Turbine newbie myself perhaps I can give my take on how I think
it works.  

I think the confusion lies that when you build the newapp and start it up
for the first time you are presented with the Turbine Data Manager, and then
you think now what?

The thing to note about this application is that it is an example of how to
add and show permissions in Turbine's internal permissions database and uses
many of the Flux tools that you would want to use in your real application.
It is also a good tool for starting with permissions because it allows you
to visualise the  connections between users, groups, roles and permissions.

The other thing that confuses is that once you log in to newapp you're put
straight into the Turbine Data Manager when in fact this is a systems
administrators screen which should only be used ocassionally for setting up
permissions.  

What I would suggest to get the hang of things is:

1. Look at
http://jakarta.apache.org/turbine/turbine-2/howto/security-howto.html.  This
gives you the basics as to what tools you have at your disposal and couple
this with looking at the Java documentation on these classes.  I think this
is all there is available by way of documentation.

2. Look at the directory structure in tdk_home\webapps\newapp\templates\.
You will see that there is an apps and a flux directory.  The apps directory
is ready for you to put your new app in and the flux directory is where the
flux screens live.   Try changing the apps\screen\Index.vm file so that you
don't to put your own default screen in.  Try changing the menus as well.

3.  Download the source to Scarab and study how they do things.  I found
this very useful.

Let me know if there is anything else I can do to help.

Shaun


-----Original Message-----
From: Chris Shenton [mailto:Chris.Shenton@hq.nasa.gov]
Sent: 30 November 2001 17:01
To: Turbine Users List
Subject: Flux HowTo docs?


Turbinewbie here :-(.  Trying to build an app from the ground up.  Got
newapp working, have a simple HelloWorld working, now trying to do
something which needs users/roles/permissions.

The "TDK HowTo" references "Flux, the built-in user management system
for Turbine", and Newapp appears to use it.  But I can find no docs on
it -- how to build it into your app, how to call it. 

Any clues?  Thanks.

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>