[Catalyst] Re: Launch of new (to Catalyst) site

2008-01-02 Thread Fayland Lam

Dave Rolsky wrote:
I finally was able to launch my first major project using Catalyst 
yesterday, the latest version of my VegGuide.Org site. This version uses 
Catalyst with Mason and Alzabo. One of the great things about this 
project was that I could use my existing model code as-is with basically 
no changes, while replacing the view (new UI) and controller (Catalyst 
replacing Mason + MasonX::WebApp).


If people are interested, the source is available (though no docs and 
not many tests :() here - http://www.vegguide.org/site/source



Secure Connection Failed


svn.urth.org uses an invalid security certificate.

The certificate is not trusted because the issuer certificate is unknown.

(Error code: sec_error_unknown_issuer)

*   This could be a problem with the server's configuration, or it 
could be

  someone trying to impersonate the server.

*   If you have connected to this server successfully in the past, 
the error may

  be temporary, and you can try again later.

  Or you can add an exception…





-dave

/*===
VegGuide.Orgwww.BookIRead.com
Your guide to all that's veg.   My book blog
===*/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/




--
Fayland Lam // http://www.fayland.org/
Foorum based on Catalyst // http://www.foorumbbs.com/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Re: "Rails is a Ghetto"

2008-01-02 Thread Aristotle Pagaltzis
http://globalnerdy.com/2008/01/02/%E2%80%9Cnow-while-rails-is-weak-we-must-strike%E2%80%9D/

Regards,
-- 
Aristotle Pagaltzis // 

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] How Catalyst views files without extensions

2008-01-02 Thread J. Shirley
On Jan 2, 2008 4:24 PM, Emily Heureux <[EMAIL PROTECTED]> wrote:

> Does Catalyst be default view files without extensions as something other
> than just files, like methods?  I am having trouble getting an applet to
> run
> that takes a filename as one of the parameters, and it works as long as
> the
> file has an extension.  The app also works in a non-Catalyst application
> we
> have from before we switched.  At this point, I am just trying to figure
> out
> if it is a Catalyst issue, or jmol (the java applet) issue.
>
> Thanks for any help,
> Emily
>

I'm not sure where a 3rd party app is coming in concerning Catalyst.  You
really should be serving static files from the webserver itself, not using
::Plugin::Static::Simple.

How are you loading the applet?  Using TT to generate a page with embedded
code that references some path?

-J

-- 
J. Shirley :: [EMAIL PROTECTED] :: Killing two stones with one bird...
http://www.toeat.com
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Re: Best Practices for wizards, steps?

2008-01-02 Thread Aristotle Pagaltzis
* Dennis Daupert <[EMAIL PROTECTED]> [2008-01-02 15:35]:
> Hmmm, ok, so for example, I might set up widgets to steps thru
> URL's like:
> 
> /widget/35/photo/1, /widget/35/photo/2, etc., and use database
> paging set to row => 1
> 
> Something like that?

Possibly. Does the user submit data between steps? If so, how do
you keep track of that?

Regards,
-- 
Aristotle Pagaltzis // 

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] How Catalyst views files without extensions

2008-01-02 Thread Emily Heureux
Does Catalyst be default view files without extensions as something other
than just files, like methods?  I am having trouble getting an applet to run
that takes a filename as one of the parameters, and it works as long as the
file has an extension.  The app also works in a non-Catalyst application we
have from before we switched.  At this point, I am just trying to figure out
if it is a Catalyst issue, or jmol (the java applet) issue.

Thanks for any help,
Emily




___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Running Catalyst as 'nobody'

2008-01-02 Thread Jonathan Rockway

On Wed, 2008-01-02 at 15:46 -0800, Emily Heureux wrote:
> Hi, I'd like to change the owner of the server startup to nobody, no matter
> who starts it.  My guess is that I put something like: chown nobody
> somewhere in the myapp_server.pl file?

chown changes file permissions; not process permissions.  You want
setuid.  But, be sure to read up on this issue; you probably want
something other than myapp_server.pl (or _fastcgi, etc.) to manage
permissions.

Regards,
Jonathan Rockway



signature.asc
Description: This is a digitally signed message part
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Running Catalyst as 'nobody'

2008-01-02 Thread Emily Heureux
Hi, I'd like to change the owner of the server startup to nobody, no matter
who starts it.  My guess is that I put something like: chown nobody
somewhere in the myapp_server.pl file?

Emily



___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Best Practices for wizards, steps?

2008-01-02 Thread eden
On Jan 1, 2008 1:34 PM, Dennis Daupert <[EMAIL PROTECTED]> wrote:
> I'm curious what people consider best practices for developing widgets that
> involve a series of steps, funtions that involve clicking thru a series of
> pages.
>
> I want to make widgets to create slideshows, photo albums, a structured
> series of steps for whatever.

Coincidentaly, this week, while brainstorming ideas for the Reaction
wizard widgets I stumbled across an interesting article:
http://www.double.co.nz/pdf/inverting-back-the-inversion.pdf

-- 
edenc.vox.com

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Launch of new (to Catalyst) site

2008-01-02 Thread Dave Rolsky
I finally was able to launch my first major project using Catalyst 
yesterday, the latest version of my VegGuide.Org site. This version uses 
Catalyst with Mason and Alzabo. One of the great things about this project 
was that I could use my existing model code as-is with basically no 
changes, while replacing the view (new UI) and controller (Catalyst 
replacing Mason + MasonX::WebApp).


If people are interested, the source is available (though no docs and not 
many tests :() here - http://www.vegguide.org/site/source



-dave

/*===
VegGuide.Orgwww.BookIRead.com
Your guide to all that's veg.   My book blog
===*/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Best practice for relative URIs (was: [Catalyst] Does uri_for() respect https?)

2008-01-02 Thread Ashley Pond V
Turns out this is probably being caused by a proxy/SSL-config issue.  
But it leads to another question. What's the best practice for  
relative URIs so that this sort of problem becomes irrelevant?


This seems like the right choice: [% c.uri_for("/my/path").path_query %]

Any say otherwise?

-Ashley

On Dec 31, 2007, at 8:25 PM, Ashley Pond V wrote:

I'm sorry if this is a stupid question but I'm not in a position to  
test it myself at the moment.


Does uri_for respect https/http? I have some that are coming up  
http when the requested resource is https. I know I have a rewrite  
rule problem too so it might be my own problem. So, this is really  
just a sanity check.


Given a request to https://mysite.com/myapp

  [% c.uri_for("/whatever") %]

  will produce "https://mysite.com/myapp/whatever";
   and not "http://mysite.com/myapp/whatever";

Yes?

-Ashley



___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Re: Best Practices for wizards, steps?

2008-01-02 Thread Ashley Pond V

On Jan 2, 2008, at 6:25 AM, Dennis Daupert wrote:

Hmmm, ok, so for example, I might set up widgets to
steps thru URL's like:

/widget/35/photo/1, /widget/35/photo/2, etc., and
use database paging set to row => 1

Something like that?

Sure.



Ash, when you mention roles, what kind of roles are
you referring to -- moose, maybe?

No, sorry if that was a red herring. My little string of
actions on a submission involved administrative action
so I mentioned roles as in authentication/authorization.

-Ashley

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Re: Best Practices for wizards, steps?

2008-01-02 Thread Dennis Daupert
Aristotle:
> make sure each step has its own URI, as opposed 
> to using the session to store the user's position.

Ashley:
> With roles, chaining, captures, and flash messages 
> you can make an extremely convoluted logic tree 
> pretty straightforward to code.

Hmmm, ok, so for example, I might set up widgets to
steps thru URL's like:

/widget/35/photo/1, /widget/35/photo/2, etc., and 
use database paging set to row => 1

Something like that?

Ash, when you mention roles, what kind of roles are 
you referring to -- moose, maybe?

/dennis
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/