[aida] New questions.

Janko Mivšek janko.mivsek at eranova.si
Mon Jul 23 11:57:21 CEST 2007


Hi Dave,

Let me first welcome you in Aida land!

Dave Cope wrote:

> I've been looking at AIDA/Web to use in VisualWorks 7.4.1NC. There are a 
> couples of things I can not see in the docs (more docs, working examples 
> please!).

Yes I know! I'm doing my best but I would really appreciate some help 
here. At least with directions what to write first and foremost...

> 1/ How does one alter security setting via programming?

Integrated security helps you with user/group management and access 
rights to each App (view and update access rights for each view).

If you want to extend that, override two methods in your App classes:

	WebApplication viewAllowed
	WebApplication updateAllowed

You can of course also change users, groups and acces rights 
programmatically, just look at WebSecurityManager, WebUser, WebUSerGroup 
for more.


> 2/ Can AIDA-Swazoo serve static pages? Is so can they be on the 
> filesystem or do they need to be loaded into the image first.

Yes, Aida has its own static web serving and it is enabled by default.

All urls which don't point to some domain object, are tried to be 
resolved to a static file. If that also fails then you get 404.

You need to set up a home directory which is by default a home of your 
image. See Admid>Settings or programmatically:

	(AIDASite named: 'mysite')
		homeDirectoy: 'home/someone/public_html'

> 
> There are lots of things I like in AIDA, but I'm evaluating at the 
> moment. I'm sure I'll have more questions.

Just keep asking, this will help improve docs too!

Best regards
Janko


-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si


More information about the Aida mailing list