2007/3/15, Diego Fernandez <diegof79(a)gmail.com>om>:
Hi!
I want to use Pier as a wiki at work, so I'm evaluating if it meets my
needs.
(side note: It's very complicated to get information about Pier from the
main Squeak site, the Pier wiki or the Seaside site. I don't known how the
Ruby guys get the resources to make their web sites... but we -I mean the
squeak community- need to learn a lot from them in this area)
After running the image provided by Keith, I've tried to use Magma and I got
the same error about "objects" file mentioned early in the list :(. So
before digging more into the problem, I have a couple of questions:
- What is the recommended mechanism for persistence: plain files, Magma,
image?
I would say this depends on your requirements.
- If I want to change the persistence method, how hard
is to do the
migration? (I think that I should execute a script that loads all the wiki
in the image using the source persistence method, then write all those
objects using the target persistence method... there is an easy way to do
that?)
- How can I make Pier components? (I'm new to Seaside too)
There are two options:
- any kind of Seaside component (subclass of WAComponent or WATask) will do
- make subclasses of PRStructure that are described with Margitte and
implement the related commands
have a look at:
http://mc.lukas-renggli.ch/pieraddons.html
or the blog plugin to get some ideas
- It's possible to use LDAP for Pier
authentication?
It's not implemented.
If not, how hard is to
use another authentication method? (I have experience developing LDAP
authentication libraries for gemstone... so I can help in this area)
Once you have a Squeak LDAP client running, it should be fairly easy.
- I want to change the stylesheet how I can do that?
remove PRPierLibrary from the pier application (via the Seaside config
application) and add your own
- I want to change the view component, so certain
options like editing or
configuring the environment are invisible if the user is not logged in...
any clue on how to start?
To always display the environment remove the PRHider decoration (the
simplest way is with the object explorer).
Then you can set the view permission on the environment.
- It's possible so show or hide a component
according to the user role? I
want to show the tree component only if the user is the administrator of the
wiki
Change the view permission of the component.
Cheers
Philippe
That are a lot of questions for a single mail!
So many thanks in advance!
Diego.-
_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki