[Catalyst] Building a PAR file

2009-02-26 Thread Octavian Râşniţă
Hello, I've tried to create a PAR archive from a Catalyst app and I've done: 1. Put catalyst_par(); in Makefile.PL. 2. Run perl Makefile.PL 3. Run nmake catalyst_par But it gave the following error: Writing PAR acces.par NMAKE : fatal error U1077: 'E:\perl510\bin\perl.exe' : return code

[Catalyst] Add a /doc/ path at the end of all paths?

2009-02-26 Thread Ovid
Hi all, We're trying to make our REST API a bit more friendly, We have a base class for our REST API which inherits from Catalyst::Controller::REST. Our various REST classes which inherit from this and each class can identify the query parameters it accepts. So we thought it would be nice

Re: [Catalyst] Catalyst on Windows: fork issues

2009-02-26 Thread Rodrigo
Stefan, I've had similar problems in windows with prefork, which can be started up after some tweaking, but will hang after a few requests. Perl's fork() is a no-no in windows. FCGI can be painful to setup, so I ended up giving up on it. I went on to use mod_perl with Apache, which has problems of

Re: [Catalyst] Catalyst on Windows: fork issues

2009-02-26 Thread Kieren Diment
Good call. Lighttpd will be much simpler than apache, as it's a single standalone executable, just run it with lighttpd -f my_config_file Here's a vbs that will get your .bat file that does all of the jiggery- pokery running without a cmd.exe window at startup. I put everything in

Re: [Catalyst] Catalyst on Windows: fork issues

2009-02-26 Thread Kieren Diment
Haha, here's the vbs: Set fso = CreateObject(Scripting.FileSystemObject) Set WshShell = CreateObject(WScript.Shell) WshShell.Run chr(34) fso.GetParentFolderName(wscript.ScriptFullName) \perl shell.bat Chr(34), 0 Set WshShell = Nothing And I put a shortcut to this in ~/startup,

Re: [Catalyst] (OT) Navigation parameters in session

2009-02-26 Thread f00li5h
On Fri, 27 Feb 2009 03:54:04 +1100, Zbigniew Lukasiak zzb...@gmail.com wrote: Here at work we have this rule that the page urls should not contain any parameters (think page number, sorting order etc) - but that everything should be hidden in the session. I think I can have some fighting

Re: [Catalyst] Catalyst on Windows: fork issues

2009-02-26 Thread Chris
And I put a shortcut to this in ~/startup, Shortcut.exe (free download) seems to work.  Here's my install.bat script ;) : And here's how to create a shortcut in vbs, so you don't need shortcut.exe: (This creates a link to an access MDE-based app, but the principal applies..) Set oWS =

[Catalyst] Re: (OT) Navigation parameters in session

2009-02-26 Thread Aristotle Pagaltzis
Users will not be e able to use the back button, and they will not be able to work in multiple tabs. You will not be able to load-balance as effectively as you could without sessions. A lot of your content will be hidden from search engines. I could think of more, but that should be enough for a

Re: [Catalyst] Re: (OT) Navigation parameters in session

2009-02-26 Thread Zbigniew Lukasiak
On Fri, Feb 27, 2009 at 4:11 AM, Aristotle Pagaltzis pagalt...@gmx.de wrote: Users will not be e able to use the back button, and they will not be able to work in multiple tabs. You will not be able to load-balance as effectively as you could without sessions. A lot of your content will be

Re: [Catalyst] Re: (OT) Navigation parameters in session

2009-02-26 Thread Hans Dieter Pearcey
On Fri, Feb 27, 2009 at 08:12:55AM +0100, Zbigniew Lukasiak wrote: Thanks for you all for the arguments. The crazy thing is that they believe that with some Javascript magic we'll be able to manage the multiple tabs and back button problem. And now you have three problems. hdp.