RE: [Catalyst] Why I chose Perl and Catalyst

2007-02-13 Thread Hermida, Leandro
Hi everyone, Do not want to start any kind of language war or anything - just need some concrete, objective opinions and advice. We are starting a brand new web application + services + database project and my boss ("those who make the decisions") asked me as project lead why I am chosing the Pe

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

2007-01-15 Thread Hermida, Leandro
> From: Carl Johnstone [mailto:[EMAIL PROTECTED] > Sent: Monday, January 15, 2007 10:21 > To: catalyst@lists.rawmode.org > Subject: Re: [Catalyst] Catalyst vs Rails vs Django Cook off > > > > Is it true that Catalyst is so slow comparing with other frameworks? > > Does it matter? > > If speed

[Catalyst] Catalyst::Plugin::Authentication w/ multiple stores

2007-01-08 Thread Hermida, Leandro
Hi everyone, I am resending this previous post from December because I got no replies - maybe it was the Xmas thing, maybe I'm just stupid. Do the Catalyst::Plugin::Authentication developers or anyone using Catalyst have any idea... (see below) -- original post -- Does anyone know how to confi

RE: [Catalyst] Browser window/tab independent sessions

2007-01-08 Thread Hermida, Leandro
> -Original Message- > From: Perrin Harkins [mailto:[EMAIL PROTECTED] > Sent: Friday, January 05, 2007 22:26 > To: [EMAIL PROTECTED]; The elegant MVC web framework > Subject: Re: [Catalyst] Browser window/tab independent sessions > > On Fri, 2007-01-05 at 20:44 +, Ian Docherty wrote:

RE: [Catalyst] Create multiple records

2007-01-02 Thread Hermida, Leandro
Where did you declare @records? I can't see that in your code below but "my $record" could have been a typo and should read "my @records". You get that error in Perl when you try to use a variable that is not declared (under use strict;) or the declared variable is then used outside of its lexica

RE: [Catalyst] Anyone with PHP / Smarty Background

2006-12-31 Thread Hermida, Leandro
> From: Rhett Creighton [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 31, 2006 07:42 > To: The elegant MVC web framework > Subject: Re: [Catalyst] Anyone with PHP / Smarty Background > > On that note, I'm really confused when I see projects with > all these random directories OUTSIDE the M

RE: [Catalyst] DBIx::Class/TT Pager Question

2006-12-30 Thread Hermida, Leandro
Hello, Maybe you should try this... You should know what page your user wants because they've clicked on a link to display a certain page (or just default to the first page if parameter doesn't exist which DBIx::Class will do). So your action should have access to what page to display via $c->r

RE: [Catalyst] DBIx::Class/TT Pager Question

2006-12-29 Thread Hermida, Leandro
> From: Dennis Daupert [mailto:[EMAIL PROTECTED] > > Line below marked # ??? gives the error; removing that line, I can select a gallery and display the images -- but without paging. > > # - - - - - - - - - - - - - - - - - - > package Catapult::Controller::Photo::Gallery; > # - - - - -

RE: [Catalyst] debugging the login

2006-12-28 Thread Hermida, Leandro
> From: Octavian Rasnita [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 28, 2006 04:19 > Subject: [Catalyst] debugging the login > > Hi, > > Is there a way to see what's happening when doing: > > $c->login($username, $password); > > I found that each time the login is ok (the username a

RE: [Catalyst] SchemaLoader?

2006-12-24 Thread Hermida, Leandro
> From: Octavian Rasnita [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 24, 2006 5:32 AM > Subject: [Catalyst] SchemaLoader? > > Hello, > > I have read the POD documentation of the myapp_create.pl and > I have seen: > > myapp_create.pl model SomeDB DBIC::SchemaLoader dbi:SQLite:/tmp/my.db

RE: [Catalyst] Catalyst::Plugin::Authentication w/ multiple stores

2006-12-22 Thread Hermida, Leandro
> From: Hermida, Leandro [mailto:[EMAIL PROTECTED] > Sent: Friday, December 22, 2006 17:38 > Subject: [Catalyst] Catalyst::Plugin::Authentication w/ > multiple stores > > > Hi everyone, > > Does anyone know how to configure > Catalyst::Plugin::Authenticat

[Catalyst] Catalyst::Plugin::Authentication w/ multiple stores

2006-12-22 Thread Hermida, Leandro
Hi everyone, Does anyone know how to configure Catalyst::Plugin::Authentication with multiple stores? The docs are very ambiguous on this and when I follow them as best I can it doesn't work. I use C::P::A::Store::LDAP as my first store and try to authenticate users with that but I would like C

RE: [Catalyst] Catalyst::Plugin::Authentication::Store::LDAPsettingsfor Microsoft Active Directory

2006-12-22 Thread Hermida, Leandro
> -Original Message- > From: Peter Karman [mailto:[EMAIL PROTECTED] > Sent: Friday, December 22, 2006 15:51 > > Hermida, Leandro scribbled on 12/21/06 12:18 PM: > > > > Here are the errors shown in the Catalyst debug screen: > > > > Deep recurs

RE: [Catalyst] creating a model

2006-12-22 Thread Hermida, Leandro
> From: Octavian Rasnita [mailto:[EMAIL PROTECTED] > Sent: Friday, December 22, 2006 21:56 > Subject: Re: [Catalyst] creating a model > > > > Hi Octavian, > > > Maybe I am not understanding what you are trying to do but ou are > > trying to use a deprecated module (see the output of your emai

RE: [Catalyst] creating a model

2006-12-22 Thread Hermida, Leandro
> From: Octavian Rasnita [mailto:[EMAIL PROTECTED] > Sent: Friday, December 22, 2006 20:35 > Subject: [Catalyst] creating a model > > Hi, > > I have tried creating a model using: > > perl script/tranzactiibursiere_create.pl model Intranet DBIC > DBI:mysql:database=intranet root > > The resul

RE: [Catalyst] Catalyst::Plugin::Authentication::Store::LDAP settingsfor Microsoft Active Directory

2006-12-21 Thread Hermida, Leandro
AD would be. > > Adam > > On Fri, Dec 15, 2006 at 11:06:10PM +1100, Russell Jenkins wrote: > > Hermida, Leandro wrote: > > >authentication: > > >ldap: > > >ldap_server: myhostname.domain.com > > >ldap_server_options: > &

RE: [Catalyst] IE Cookie problems

2006-12-19 Thread Hermida, Leandro
On May 29, 2006, at 11:49 AM, Matt S Trout wrote: > Shawn Ferris wrote: >> Thanks for the tips -- but nothing is helping unfortunately.. I've >> used both the IP address and the hostname, which only contains >> alpha chars and still no go. Within fiddler I see that the >> Response header has a Se

RE: [Catalyst] Virtual file system

2006-12-18 Thread Hermida, Leandro
> From: vti [mailto:[EMAIL PROTECTED] > Subject: [Catalyst] Virtual file system > > Hello. > > I was wondering if there is an elegant way to make > web-navihation looks like your hard drive. For example I have > materials that could be organazied that way. > > \ root > -> personal > ->

[Catalyst] Catalyst::Plugin::Authentication::Store::LDAP settings for Microsoft Active Directory

2006-12-15 Thread Hermida, Leandro
Hi everyone, For the life of me I can't find the complete and correct settings that will get Catalyst::Plugin::Authentication::Store::LDAP to authenticate under Microsoft Active Directory. In my old code I did it using Net::LDAP directly and using a non-standard shortcut available in Active Dire

RE: [Catalyst] Catalyst advent calendar / day 12: minor correction

2006-12-14 Thread Hermida, Leandro
> From: Marcello Romani [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 13, 2006 17:12 > > Hi, > I spotted a little problem when following the 12th day > of cat calendar. > > The original line: > > } if $c->engine eq 'Catalyst::Engine::HTTP'; > > doesn't work if one launches the d

RE: [Catalyst] reference lib outside Catalyst web applicationdirectory

2006-12-13 Thread Hermida, Leandro
> From: Matt S Trout [mailto:[EMAIL PROTECTED] > On 12 Dec 2006, at 16:57, Hermida, Leandro wrote: > > > Hello, > > > > I have the following folder hierarchy for a project which > will have a > > web component that is driven by Catalyst: > &

[Catalyst] reference lib outside Catalyst web application directory

2006-12-12 Thread Hermida, Leandro
Hello, I have the following folder hierarchy for a project which will have a web component that is driven by Catalyst: MyProj/ lib/ sql/ web/ <--- Catalyst application dir created using catalyst.pl lib/ root/ script/ t/ My DBIC::Schema ORM set

RE: [Catalyst] problem with Reverse Proxy on top of Catalyst dev webserver

2006-12-11 Thread Hermida, Leandro
> -Original Message- > From: Krzysztof Krzyżaniak [mailto:[EMAIL PROTECTED] > Sent: Monday, December 11, 2006 15:49 > To: The elegant MVC web framework > Subject: Re: [Catalyst] problem with Reverse Proxy on top of > Catalyst dev webserver > > "Hermid

[Catalyst] problem with Reverse Proxy on top of Catalyst dev web server

2006-12-11 Thread Hermida, Leandro
Hi everyone, I was wondering if I am doing something wrong - The Catalyst development web server works great if I am connecting directly via port 3000 (i.e. http://hostname:3000/). I just set up a virtual host w/ reverse proxy using apache on top of this so other users could see the web site wit

RE: [Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-06 Thread Hermida, Leandro
> Jonathan Rockway wrote: > > Nilson Santos Figueiredo Junior wrote: > > On 12/6/06, Matt S Trout <[EMAIL PROTECTED]> wrote: > > > Reaction calls these ViewPort objects :) > > > > Sweet. > > Any docs yet? > > The code example that comes with the reaction source is > pretty understandable. If t

RE: [Catalyst] html::widget

2006-12-06 Thread Hermida, Leandro
Hello, I am no DBIx::Class expert but I think one way of doing it is first using the primary key or a unique constraint of the table Book to find the object you want and then update it. Something like this: my $book = $c->model('MyApp::Book')->find($book_pk_id); $book->title($new_title); $book

RE: [Catalyst] question from tutorial - does creating HTML in acontroller using HTML::Widget violate MVC?

2006-12-06 Thread Hermida, Leandro
> > > On Wed, 6 Dec 2006, Matt S Trout wrote: > > > > > I wouldn't use HTML::Widget at all. The people who took over maint > > > after sebastian gave up on it have struggled valiantly to make it > > > useful and production quality and so far as I'm concerned > > > failed. Not one of his better

RE: [Catalyst] question from tutorial - does creating HTML in acontroller using HTML::Widget violate MVC?

2006-12-06 Thread Hermida, Leandro
> -Original Message- > From: Matt S Trout [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 06, 2006 15:25 > To: The elegant MVC web framework > Subject: Re: [Catalyst] question from tutorial - does > creating HTML in acontroller using HTML::Widget violate MVC? > > > On 6 Dec 2006,

RE: [Catalyst] question from tutorial - does creating HTML in acontroller using HTML::Widget violate MVC?

2006-12-06 Thread Hermida, Leandro
> -Original Message- > From: Simon Wilcox [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 06, 2006 14:57 > To: The elegant MVC web framework > Subject: Re: [Catalyst] question from tutorial - does > creating HTML in acontroller using HTML::Widget violate MVC? > > On Wed, 6 Dec 200

[Catalyst] question from tutorial - does creating HTML in a controller using HTML::Widget violate MVC?

2006-12-05 Thread Hermida, Leandro
Hello all, I thought the tutorial was absolutely great - things that I had in the past spent hours developing myself are practically plug and play and it gives you a nice taste of how powerful Catalyst is! One question about the tutorial though, doesn't building "presentation" material inside t

RE: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Hermida, Leandro
YAML configuration file Hermida, Leandro wrote: > Inside MyApp::Model::MyAppDB: > > use strict; > use base 'Catalyst::Model::DBIC::Schema'; > > __PACKAGE__->config( > schema_class => 'MyAppDB', > connect_info => [ >

[Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Hermida, Leandro
Hello, I remember seeing the question being asked before but I couldn't find it in the archives. How does one set up the model connect info to come from the YAML configuration file? Using the tutorial as an example, I created the model file with the helper script myapp_create.pl: $ script/mya

RE: [Catalyst] Last Chance / Last Day: Web development platformcontest and Perl / Catalyst

2006-12-04 Thread Hermida, Leandro
> that works fine if you already have it installed, perhaps. > but here's what a lot of people do: > start from: http://search.cpan.org/search?query=catalyst > click Catalyst: http://search.cpan.org/~mramberg/Catalyst-Runtime-5.7006/ > scroll down to Documentation, and click Catalyst::Manual:

RE: [Catalyst] Re: Last Chance/LastDay:Webdevelopmentplatformcontestand Perl / Catalyst

2006-12-04 Thread Hermida, Leandro
> Nilson Santos Figueiredo Junior [mailto:[EMAIL PROTECTED] wrote: > On 12/4/06, Hermida, Leandro <[EMAIL PROTECTED]> wrote: >> I think it is possible to achieve both flexibilty and achieveability >> in the same framework. Catalyst can be "a pre-packaged framewor

RE: [Catalyst] Re: Last Chance /LastDay:Webdevelopmentplatformcontestand Perl / Catalyst

2006-12-04 Thread Hermida, Leandro
> And those other languages probably also have choices > between templating systems or ORMs. The thing that > actually makes Rails so successful is the fact that > it has everything already sorted out. You can't really > learn Rails without using ActiveRecord for instance. > > If the newbie g

RE: [Catalyst] setting up files and namespace for utilizing different models in the same catalyst app

2006-12-04 Thread Hermida, Leandro
uot; it sets up these namespaces for me. Thank you in advance, Leandro Hermida -Original Message- From: Hermida, Leandro Sent: Friday, November 24, 2006 17:35 To: 'The elegant MVC web framework' Subject: RE: [Catalyst] setting up files and namespace for utilizing differentmo

[Catalyst] RE: setting up project where web application (Catalyst) is only a part

2006-12-04 Thread Hermida, Leandro
which catalyst also references? From: Hermida, Leandro Sent: Friday, November 24, 2006 17:48 To: 'The elegant MVC web framework' Subject: setting up project where web application (Catalyst) is only a part Hello again, Sorry more questions on layout of

RE: [Catalyst] Re: old versions of Catalyst on CPAN

2006-12-04 Thread Hermida, Leandro
> A. Pagaltzis wrote: >> Jonathan Rockway <[EMAIL PROTECTED]> [2006-12-03 11:10]: >> nor do I want to confuse people looking for the version they should be >> starting with. > > Oh please. > > Regards, > -- > Aristotle Pagaltzis // Mr. Pagaltzis I think J. Rockaway is

RE: [Catalyst] old versions of Catalyst on CPAN

2006-12-04 Thread Hermida, Leandro
> Is anyone confused by the old versions of Catalyst on CPAN? Yes I find it confusing if you mean that when one types "Catalyst" on search.cpan.org you get results back from various versions in a seemingly unintelligent order. This is one of the things that I am talking about from my previous po

RE: [Catalyst] Re: Last Chance / Last Day:Webdevelopmentplatformcontestand Perl / Catalyst

2006-12-04 Thread Hermida, Leandro
> My book addresses both of these complaints :) Simple app to start with > (no subversion, either), then add the database, then learn how to do > complicated things with the database. Hopefully you'll both buy a copy > when it comes out :) (And why isn't it free? Because there's a limit to

RE: [Catalyst] Re: Last Chance / Last Day:Webdevelopmentplatformcontestand Perl / Catalyst

2006-12-04 Thread Hermida, Leandro
> On 12/2/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote: > > Of course, there are more ways to do it in every language, but for > > perl, the correct expression should be: "There are too many ways to do > > it". :-) There is no "the most important" templating system in perl, > > or the best mo

[Catalyst] sorry correction on manuals and tutorials missing

2006-11-27 Thread Hermida, Leandro
Hello again, Sorry, I see that there is a separate distribution called Catalyst-Manual that has everything. This will confuse new users though because when they have searched for Catalyst and get to the home page of the Catalyst-Runtime distribution and then click on any of the first links after

[Catalyst] something wrong because manual and tutorials are missing

2006-11-27 Thread Hermida, Leandro
Hello all, I remember someone mentioning earlier in the list that the manual and tutorials are missing and indeed I believe they are right. If you go to CPAN and lookup the Catalyst Runtime with the pass three latest versions (5.7006, 5.7005, 5.7004) the documentation is pretty much gone. Only

[Catalyst] setting up project where web application (Catalyst) is only a part

2006-11-24 Thread Hermida, Leandro
Hello again, Sorry more questions on layout of a project which involves Catalyst. I have done previous projects where the mod_perl web app is only one piece of the project which has other programs, scripts, services etc. Here is what my project root directory would typically look like: conf

RE: [Catalyst] setting up files and namespace for utilizing differentmodels in the same catalyst app

2006-11-24 Thread Hermida, Leandro
::Library >> MyApp::Schema::Forum >> >> then MyApp or MyApp::Web >> >> >> (Or rather that's the kind of thing I've used for my current project) >> >> Ash > > I don't like doing that. What if I move it to being a remote > model

RE: [Catalyst] Null values in DBIx::Class

2006-11-24 Thread Hermida, Leandro
http://lists.rawmode.org/mailman/listinfo/dbix-class/ -Original Message- From: Xavier Robin [mailto:[EMAIL PROTECTED] Sent: Friday, November 24, 2006 09:38 To: The elegant MVC web framework Subject: Re: [Catalyst] Null values in DBIx::Class On Thursday 23 November 2006 17:23, Ash Berlin

[Catalyst] setting up files and namespace for utilizing different models in the same catalyst app

2006-11-23 Thread Hermida, Leandro
Hello, I am working through the tutorial and a question came to mind when looking at the naming conventions used. For DBIx::Class, lib/MyAppDB.pm lib/MyAppDB/Book.pm lib/MyAppDB/Author.pm lib/MyAppDB/BookAuthor.pm Then for the Catalyst model, lib/MyApp/Model/MyAppDB.pm and in code, $c

RE: [Catalyst] Null values in DBIx::Class

2006-11-23 Thread Hermida, Leandro
> I have set up MYAPPDB::TestTable with the unique key test_table_column2. > Now in my controller I do that: > > $->model(MYAPPDB::TestTable)->update_or_create({ >'column1' => $value1, >'column2' => $value2 > }, {key => 'test_table_column2'} > ); Do this: $->model(MYAPPDB::TestTable)->u

RE: [Catalyst] Re: template comparison

2006-10-29 Thread Hermida, Leandro
Hello, Its great to read how fundamentally different in their approach catalyst views are (TT, Mason, ClearSilver, TAL, etc.). I seem to be leaning on the side of Mason so far because I would like to stick with one powerful language (Perl), even though there is the potential danger abusing i

RE: [Catalyst] Is Catalyst what I want?

2006-10-27 Thread Hermida, Leandro
Hello, > > I'd never used TT, so you might be even more at home. > I have been trying to decide what is the best 'View' to use with Catalyst and it is so difficult to get an up-to-date comparison that I can understand of the main views available for Perl (TT, Mason, others?). I know this is a