Re: [Catalyst] Re: creating a model

2007-01-16 Thread Lee Standen
lern2putty :D There's an option to turn on X11 forwarding, and it works :) Marcello Romani wrote: A. Pagaltzis ha scritto: * Marcello Romani [EMAIL PROTECTED] [2007-01-15 14:15]: I usually do Cygwin/X, xhost +, then ssh into linux box, export DISPLAY and type startkde. You know that you

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-16 Thread Robert 'phaylon' Sedlacek
Perrin Harkins wrote: On Mon, 2007-01-15 at 11:35 +0100, Robert 'phaylon' Sedlacek wrote: To summarize (again): The benchmark doesn't benchmark Catalyst, only it's dispatcher I think it's a lame benchmark too, but isn't a dispatcher mostly what Catalyst is? DBIx::Class and TT are not

Re: [Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-16 Thread Daniel McBrearty
Like what? And what about those other design options is benchmarkable? 1. the language. For instance, a key factor against RoR for me was the fact that Ruby doesn't know where its going w.r.t. unicode. Perl has mature support for that. There are multiple other reasons why people like/dislike

Re: [Catalyst] [OT] what would constitute a sensible set of benchmarks?

2007-01-16 Thread Daniel McBrearty
so a set of benchmarks would give you the chance to show that TIMTOWTDI, and the trade offs that exist between them. That would be pretty interesting to someone trying to compare frameworks. That's where having simple tests that exercise one aspect of the framework in isolation, as far as is

Re: [Catalyst] HTML to plain text conversion

2007-01-16 Thread Xavier Robin
On Thursday 11 January 2007 18:24, Matt S Trout wrote: On 9 Jan 2007, at 17:10, Xavier Robin wrote: I also tried HTML::Scrubber as proposed by Carl Franks, but basically it keeps some tags we chose to allow. Have a look at the scrubber docs, there are options to select exactly which tags

Re: [Catalyst] [OT] what would constitute a sensible set of benchmarks?

2007-01-16 Thread Robert 'phaylon' Sedlacek
Daniel McBrearty wrote: so a set of benchmarks would give you the chance to show that TIMTOWTDI, and the trade offs that exist between them. That would be pretty interesting to someone trying to compare frameworks. I doubt that this is a simple list of features, but you are free to prove me

Re: [Catalyst] Re: Catalyst vs Rails vs Django Cook off

2007-01-16 Thread David Morel
Le 16 janv. 07 à 11:27, Daniel McBrearty a écrit : Fair enough. So why not try to design a benchmark in such a way that those techniques can be exploited? What is the simplest set of tests that has some meaning for you? I don't know :) I'm thinking benchmarking simple things don't work.

Re: [Catalyst] error

2007-01-16 Thread Matt S Trout
On 13 Jan 2007, at 13:57, Octavian Rasnita wrote: Hi, If I do: perl TranzactiiBursiere.pm it gives the error below. However, if I access the application in the browser, it works fine. Couldn't instantiate component TranzactiiBursiere::Model::Db, Can't locate object method

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-16 Thread Matt S Trout
On 14 Jan 2007, at 15:26, Octavian Rasnita wrote: Hi, Here is ablog I just found. Is it true that Catalyst is so slow comparing with other frameworks? http://letsgetdugg.com/category/rails Is it true that for incredibly trivial applications Catalyst might serve less rps? Yes. Have I

Re: [Catalyst] Re: Reaction Widgets questions

2007-01-16 Thread Matt S Trout
On 12 Jan 2007, at 18:59, Jonas Alves wrote: On 12/01/07, Jonas Alves [EMAIL PROTECTED] wrote: Hi, I'm trying Reaction for the first time. I already got it to work using the CRUDController against some tables i have in a database. Now i'm trying to change the widgets used to display the

Re: [Catalyst] Reaction Authentication

2007-01-16 Thread Matt S Trout
On 15 Jan 2007, at 18:56, Jonas Alves wrote: On 15/01/07, Jonas Alves [EMAIL PROTECTED] wrote: On 14/01/07, Ash Berlin [EMAIL PROTECTED] wrote: Jonas Alves wrote: Hi all, I was starting to put authentication in a Reaction application that i'm developing when I saw that Reaction has

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-16 Thread Perrin Harkins
Robert 'phaylon' Sedlacek wrote: Perrin Harkins wrote: I think it's a lame benchmark too, but isn't a dispatcher mostly what Catalyst is? DBIx::Class and TT are not Catalyst, as people often mention on the list. I wouldn't say so. You can build applications that only use the dispatcher of

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-16 Thread Daniel McBrearty
I looked for that discussion - didn't find it. Do you have a pointer? In your experience, what is accounting for the other 99.9% fo runtime? Db access? templates? other? On 1/16/07, Matt S Trout [EMAIL PROTECTED] wrote: On 14 Jan 2007, at 15:26, Octavian Rasnita wrote: Hi, Here is ablog I

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-16 Thread Daniel McBrearty
forget that ... found it http://www.gossamer-threads.com/lists/catalyst/users/10756?search_string=data%20retrieval;#10756 On 1/16/07, Daniel McBrearty [EMAIL PROTECTED] wrote: I looked for that discussion - didn't find it. Do you have a pointer? In your experience, what is accounting for

Re: [Catalyst] Catalyst vs Rails vs Django Cook off

2007-01-16 Thread Robert 'phaylon' Sedlacek
Perrin Harkins wrote: In the context of benchmarks, those things all seem pretty minimal to me. The model interface is a razor-thin wrapper over calls to your ORM of choice. There's not much reason to use it that I can see. Same with the view: very little difference from calling templating

[Catalyst] creating binaries

2007-01-16 Thread Octavian Rasnita
Hi, I want to create a standalone binary executable for Windows and another one for Linux using ActiveState perlapp. Is it possible to make it independent, and distribute only the executable without the modules from the lib directory of the application? I have tried creating an executable

Re: [Catalyst] error

2007-01-16 Thread Octavian Rasnita
From: Matt S Trout [EMAIL PROTECTED] Couldn't instantiate component TranzactiiBursiere::Model::Db, Can't locate object method compose_namespace via package Db Don't call your database class 'Db'. DB is the namespace reserved for the perl debugger. Windows is case insensitive. Guess what's

Re: [Catalyst] Reaction Authentication

2007-01-16 Thread Jonas Alves
On 16/01/07, Matt S Trout [EMAIL PROTECTED] wrote: On 15 Jan 2007, at 18:56, Jonas Alves wrote: On 15/01/07, Jonas Alves [EMAIL PROTECTED] wrote: On 14/01/07, Ash Berlin [EMAIL PROTECTED] wrote: Jonas Alves wrote: Hi all, I was starting to put authentication in a Reaction application

[Catalyst] Return multiple values from a forward?

2007-01-16 Thread Ryan Detzel
Can it be done, I keep getting weird results. I want to do my ($val1,$val2) = $c-forward('test'); sub test : Private { ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive:

Re: [Catalyst] creating binaries

2007-01-16 Thread Octavian Rasnita
From: Chisel Wright [EMAIL PROTECTED] On Tue, Jan 16, 2007 at 05:12:05PM +0200, Octavian Rasnita wrote: Is it possible to do what I want, using perlapp? If not, is it possible with PAR? Is this any help? http://www.catalystframework.org/calendar/2005/6 I have tried to do that, but it

Re: [Catalyst] creating binaries

2007-01-16 Thread Jonathan Rockway
nmake catalyst_par ... Writing PAR tranzactiibursiere.par NMAKE : fatal error U1077: 'D:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. What versions of: App::Packer PAR::Packer PAR do you have? But anyway, does this method hide the source code of the application? Try these:

Re: [Catalyst] creating binaries

2007-01-16 Thread Wade . Stuart
Octavian Rasnita [EMAIL PROTECTED] wrote on 01/16/2007 12:08:13 PM: From: Chisel Wright [EMAIL PROTECTED] On Tue, Jan 16, 2007 at 05:12:05PM +0200, Octavian Rasnita wrote: Is it possible to do what I want, using perlapp? If not, is it possible with PAR? Is this any help?

Re: [Catalyst] creating binaries

2007-01-16 Thread Wade . Stuart
Jonathan Rockway [EMAIL PROTECTED] wrote on 01/16/2007 12:22:24 PM: nmake catalyst_par ... Writing PAR tranzactiibursiere.par NMAKE : fatal error U1077: 'D:\WINDOWS\system32\cmd.exe' : return code '0x2' Stop. What versions of: App::Packer PAR::Packer PAR do you have?

Re: [Catalyst] creating binaries

2007-01-16 Thread Jonathan Rockway
[EMAIL PROTECTED] wrote: I prefer you send me the one packaged with par:crypto -- I like to be able to read comments and see the original var names when I edit your hidden code. =) DMCA violation. -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)-config(name = do { $,.=reverse qw[Jonathan

Re: [Catalyst] creating binaries

2007-01-16 Thread Octavian Rasnita
From: [EMAIL PROTECTED] No. There is really no way to distribute a perl application in a way to hide its source. Any attempt you make will be met with false security and failure. Maybe Perl 6, but that is still unanswered at this point. Have you found a way of cracking the protection of

Re: [Catalyst] creating binaries

2007-01-16 Thread Wade . Stuart
Jonathan Rockway [EMAIL PROTECTED] wrote on 01/16/2007 12:57:39 PM: [EMAIL PROTECTED] wrote: I prefer you send me the one packaged with par:crypto -- I like to be able to read comments and see the original var names when I edit your hidden code. =) DMCA violation. =) But I need

Re: [Catalyst] creating binaries

2007-01-16 Thread Octavian Rasnita
From: [EMAIL PROTECTED] Take a look at /tmp/pdk/ perlapp exes dump the plaintext while running. This is not a problem with Catalyst, perl is an interpreted language not a compiled one. perlapp is there to make distributing self contained perl applications easier, not to protect your source.

Re: [Catalyst] Catalyst::Manual::Tutorial::CatalystBasics Issues

2007-01-16 Thread Kieren Diment
On 16/01/07, Matt S Trout [EMAIL PROTECTED] wrote: On 16 Jan 2007, at 00:45, Jim Spath wrote: Hi, I am using Catalyst + DBIx::Class for the first time and was running through the tutorial located here: http://search.cpan.org/~jrockway/Catalyst-Manual-5.700501/lib/

[Catalyst] catalystinstaller.sh - Automated Catalyst installation for FC6

2007-01-16 Thread Doran Barton
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Installing Catalyst on a Fedora/RedHat system can be a challenge - especially if you insist on keeping all installed software manageable via RPM. This is because many of the packages required to run Catalyst are not available from any common

[Catalyst] creating binaries

2007-01-16 Thread Peter Edwards
If a language is interpreted, this doesn't mean that the programs that were made with it cannot be protected in any way. It will be fairly easy to crack installed Perl software. Or, is there another way of protecting the code from a Catalyst app? Offer an Application Service Provider model. I.e.

Re: [Catalyst] creating binaries

2007-01-16 Thread Joe Landman
Octavian Rasnita wrote: From: [EMAIL PROTECTED] Take a look at /tmp/pdk/ perlapp exes dump the plaintext while running. This is not a problem with Catalyst, perl is an interpreted language not a compiled one. perlapp is there to make distributing self contained perl applications easier,

[Catalyst] Best Practices Question: What to put in an ActionClass Versus a Custom Controller?

2007-01-16 Thread John Napiorkowski
Hi, I've been thinking a lot about all the different ways Catalyst let's you do stuff and wondering what, if any, thoughts any of you might have regarding some of the overlapping features of Controllers and ActionClasses, particularly when thinking about creating good reusable code. Before we

Re: [Catalyst] creating binaries

2007-01-16 Thread Octavian Rasnita
From: Peter Edwards [EMAIL PROTECTED] If a language is interpreted, this doesn't mean that the programs that were made with it cannot be protected in any way. It will be fairly easy to crack installed Perl software. Can you tell me how to find the source code from a perlapp program?

Re: [Catalyst] creating binaries

2007-01-16 Thread Octavian Rasnita
From: Joe Landman [EMAIL PROTECTED] perlapp doesn't drop the source code in /tmp. It puts there only some .dll files, and nothing more than that. (I am using perl Dev Kit 6.02, but now PDK 7 was just released). The source needs to be obtained somehow and in some state for the Perl program

Re: [Catalyst] creating binaries

2007-01-16 Thread Joe Landman
Octavian Rasnita wrote: From: Joe Landman [EMAIL PROTECTED] perlapp doesn't drop the source code in /tmp. It puts there only some .dll files, and nothing more than that. (I am using perl Dev Kit 6.02, but now PDK 7 was just released). The source needs to be obtained somehow and in some