Olaf Alders | 31 Oct 20:30

getting started with CAF

Hello!

I'm planning to test out CAF on some new stuff that I need to build.   
I've got a site set up a drill down directory of listings.  Using  
CAF, I'd like to add the member area for updating listings etc.  The  
way I understand it, until anonymous sessions are included in CAF, I  
can only use it to power the member area, but I can't use it for  
member sign up.  Once anonymous sessions are included, I'll be able  
to use it for the member area as well as the signup.  Is this correct?

The front end directory itself has very specific URLs and I can't  
embed any session info into them -- I actually wouldn't want to.   
Does this mean that I need a different application for the public are  
and a CAF setup for the member area?  I don't see that as a huge  
issue, but I like to keep my configuration info in one place.  I  
think there was some talk of this on Saturday at the meeting but I  
didn't catch all of it -- am I right in assuming that there won't be  
any support added in future for using CAF without any kind of sessions?

Thanks,

Olaf
--
Olaf Alders
olaf@...

http://www.vilerichard.com -- pop tunes
http://www.licensemusiconline.com -- music licensing
Richard Dice | 31 Oct 21:11
Picon
Favicon

Re: getting started with CAF


> I'm planning to test out CAF on some new stuff that I need to build.   
> I've got a site set up a drill down directory of listings.  Using  
> CAF, I'd like to add the member area for updating listings etc.  The  
> way I understand it, until anonymous sessions are included in CAF, I  
> can only use it to power the member area, but I can't use it for  
> member sign up.  Once anonymous sessions are included, I'll be able  
> to use it for the member area as well as the signup.  Is this correct?

That sounds right.

> The front end directory itself has very specific URLs and I can't  
> embed any session info into them -- I actually wouldn't want to.   
> Does this mean that I need a different application for the public are  
> and a CAF setup for the member area?  I don't see that as a huge  
> issue, but I like to keep my configuration info in one place.  I  
> think there was some talk of this on Saturday at the meeting but I  
> didn't catch all of it -- am I right in assuming that there won't be  
> any support added in future for using CAF without any kind of sessions?

There is a difference between CAF not having sessions of any kind and session &
checksum info not being included in URL params.  The former won't happen, but
the latter should be do-able right now with the proper parameters being called
to $self->make_link (and eventually $self->link once CAP::LinkIntegrity is
integrated into the framework).  I forget how this would be done, though -- I
suggest investigating the source code for "sub make_link" to see what params are
needed in order to pull this off.

Does this sound like it would answer your question?

(Continue reading)

Olaf Alders | 31 Oct 21:15

Re: getting started with CAF

On 31-Oct-05, at 3:11 PM, Richard Dice wrote:
>
>> am I right in assuming that there won't be
>> any support added in future for using CAF without any kind of  
>> sessions?
>>
>
> There is a difference between CAF not having sessions of any kind  
> and session &
> checksum info not being included in URL params.  The former won't  
> happen, but
> the latter should be do-able right now with the proper parameters  
> being called
> to $self->make_link (and eventually $self->link once  
> CAP::LinkIntegrity is
> integrated into the framework).  I forget how this would be done,  
> though -- I
> suggest investigating the source code for "sub make_link" to see  
> what params are
> needed in order to pull this off.
>
> Does this sound like it would answer your question?

Yep, that's great.  I'll have a closer look at the source and see how  
far I get!

Thanks,

Olaf
--
(Continue reading)

G. Matthew Rice | 1 Nov 02:32

CAF website

Hey Michael,

Now that you love perforce so much...

How is cafweb.org being maintained?  It looks like static pages.

If you like (I do this a lot), you could put the web site in perforce and
setup a cronjob (very simple script) to update the site every minute.

Then I could fix your use of charset=windows-1252 :)

Also, could you add a link to the wiki?  It's:

        https://group.lpi.org/cgi-bin/publicwiki/view/CAF/WebHome

TTYL,
--

-- 
g. matthew rice <matt@...>           starnix, toronto, ontario, ca
phone: 647.722.5301 x242                                  gpg id: EF9AAD20
http://www.starnix.com              professional linux services & products
Michael Graham | 1 Nov 06:56
Favicon

Re: CAF website


Guys, thanks for the suggestions and reminders to improving the CAF web
site - I know it's out of date - I will try to update it within the next day
or two - also to get the picture up from the CAF-a-thon.

> If you like (I do this a lot), you could put the web site in perforce and
> setup a cronjob (very simple script) to update the site every minute.

I am currently hosting the pages on a box that I have very little access
to (only FTP and HTTP), and on which running cron jobs or installing
perforce clients would be impractical.

If someone has more feature-rich webspace somewhere, I would be
delighted to relocate the site.  (And if that someone also wants to
maintain the web content, that would be super-nifty too :)

If we have to keep the site where it is, I guess another option for
putting it under version control would be to create some sort of "push"
solution, where the updating cron job runs on another machine and
uploads fresh content to the web site when necessary.

Michael

---
Michael Graham <magog@...>
G. Matthew Rice | 1 Nov 14:46

Re: CAF website

Michael Graham <magog@...> writes:
> If someone has more feature-rich webspace somewhere, I would be
> delighted to relocate the site.  (And if that someone also wants to
> maintain the web content, that would be super-nifty too :)

I can take care of all or some of that.

We could host it on the linux.ca server.  Also, I've setup a few drupal
instances on there.  If you want a more "dynamic" web site, I could set up an
instance of that, too.

Baby steps, though.  You can also have a full ssh account on there so you can
do whatever you like.

One caveat, the system will be coming down sometime this year to replace a
harddrive (no worries, it's RAIDed).

TTYL,
--

-- 
g. matthew rice <matt@...>           starnix, toronto, ontario, ca
phone: 647.722.5301 x242                                  gpg id: EF9AAD20
http://www.starnix.com              professional linux services & products
Michael Graham | 1 Nov 20:15
Favicon

Re: CAF website


> Michael Graham <magog@...> writes:
> > If someone has more feature-rich webspace somewhere, I would be
> > delighted to relocate the site.  (And if that someone also wants to
> > maintain the web content, that would be super-nifty too :)
>
> I can take care of all or some of that.
>
> We could host it on the linux.ca server.

Works for me!  I'm assuming we can set up a proper virtual host for the
site?  At the moment the domain is parked and redirecting to a
subdirectory on another site of mine.

Anyway, if you provide me with access I can copy the data over.  Or if
you like, you can just steal the content yourself, set up the virtual
host, and then let me know where to point the DNS.

> Also, I've setup a few drupal instances on there.  If you want a more
> "dynamic" web site, I could set up an instance of that, too.

There is a certain irony in hosting the site for a Perl web framework on
a PHP-based CMS.  Or maybe it's shame.

I do eventually want to steal a lot of features from Drupal (e.g. its
taxonomy).  So maybe it would be worthwhile to host our site on a Drupal
instance for now, so that we are daily taunted by it.  On the other hand,
we could use a CGI::App-based CMS instead (such as Rubric or Krang).  

But if it were up to me, I'd stick with the wiki for now and not
(Continue reading)


Gmane