Questions tagged [catalyst]

Catalyst is a Perl web application framework, similar to Ruby on Rails, Spring (Java), and Maypole.

Catalyst is an elegant web application framework written in the Perl programming language, extremely flexible yet extremely simple. It's similar to Ruby on Rails, Spring (Java), and Maypole, upon which it was originally based. Its most important design philosphy is to provide easy access to all the tools you need to develop web applications, with few restrictions on how you need to use these tools.

http://www.catalystframework.org/

Resources to learn Catalyst:

Useful Links:

524 questions
3
votes
1 answer

Flex/AIR + Catalyst: What's the best way to get them to talk to each other?

What is the best way to get Adobe Flex/AIR to communicate with perl Catalyst? We are currently using Catalyst::Plugin::XMLRPC on the Catalyst side and as3-rpclib on the Flex/AIR side. That works fine, but I'd rather take as3-rpclib out of the…
Chuck Phillips
  • 812
  • 1
  • 7
  • 15
3
votes
1 answer

Perl Catalyst Controller chains

I am having trouble creating a 'flexible' endpoints. Is something along these lines possible: # 1) List all Microarrays for this species /regulatory/species/:species/microarray sub microarray_list: Chained('species') PathPart('microarray')…
juettemann
  • 323
  • 2
  • 14
3
votes
1 answer

Avoiding wrappers in AJAX response using Catalyst

I'm trying to process an AJAX request using catalyst to resolve some dynamic html generation trough jQuery. Simply put, I need to fill a tag (created through jQuery, along with some other fields, on user input). To fill this tag I…
Leitouran
  • 578
  • 3
  • 16
3
votes
2 answers

How to manage a long running process in a Catalyst App?

This is my first Catalyst app and I'm not sure how to solve the following problem. The user enters some data in a form and selects a file (up to 100MB) for uploading. After submitting the form, the actual computation takes up to 5 minutes and the…
sega.dev
  • 93
  • 8
3
votes
1 answer

Perl catalyst controller redirect not working

I have looked over this code and I can not understand the weirdness it exhibits. For a lack of understanding all I know $c->res->redirect('qbo/home'); is being ignored, in favor of the redirect in the following if else condition. In other words, I…
user188757
  • 123
  • 8
3
votes
1 answer

Dealing with ambiguous controller actions in Perl Catalyst

The problem I have been learning the Catalyst web framework and I am trying to understand how Catalyst dispatches URLs to application "actions". It seems I can write my application with ambiguous URL dispatching rules: package…
ntwk
  • 113
  • 5
3
votes
0 answers

Catalyst Adding LDAP Authentication

I have a Catalyst application that I recently created. I based the original authentication model on the example given in the Catalyst example using "SimpleDB". I am also using the Authorization::Roles module to permission users in specific…
Bob A.
  • 31
  • 2
3
votes
1 answer

Explicit calling a view in Catalyst

Reading http://search.cpan.org/~ether/Catalyst-Manual-5.9009/lib/Catalyst/Manual/Tutorial/02_CatalystBasics.pod I see $c->stash(template => 'hello.tt');. There is a template, but where is the view? Why is the view not specified explicitly? Also: How…
porton
  • 5,214
  • 11
  • 47
  • 95
3
votes
3 answers

Where can I find application runtime errors using Nginx, Starman, Plack and Catalyst?

I have managed successfully to server my Catalyst app on my development machine using Plack + Starman, using a daemon script I based on one I found in Dave Rolsky's Silki distribution. I then set up nginx to reverse proxy to my Starman server, and…
cubabit
  • 2,527
  • 3
  • 21
  • 34
3
votes
3 answers

How do I turn Moose objects into JSON for use in Catalyst?

I have a series of Moose objects that I'm looking to feed to JSON::XS by way of Catalyst::View::JSON. JSON::XS is unable to encode blessed data-structures. I know that there is MooseX::Storage::Format::JSON which can -- kinda -- do what I want; but,…
Evan Carroll
  • 78,363
  • 46
  • 261
  • 468
3
votes
2 answers

uri_for includes port number on redirects

I'm attempting to implement a Catalyst application using nginx as a frontend web proxy for static files, and using Starman for my backend webserver. (I could use Apache & FastCGI and it works just fine, but I'd really like to get the whole PSGI /…
mjpeters_
  • 71
  • 6
3
votes
2 answers

Param causes "does not map to Unicode" error in Catalyst

The following will demonstrate the error: catalyst.pl Hello cd Hello echo "encoding utf8" >> hello.conf script/hello_server.pl -r Then navigate to http://localhost:3000/?q=P%E9rl in your browser and you'll get a 400 Bad Request. It appears to be…
Ovid
  • 11,580
  • 9
  • 46
  • 76
3
votes
3 answers

Can I use Catalyst to display images or graphs?

I have simple Perl/CGI scripts based web server which is mainly used to display graphs and images. I am looking to make it more technical and come to know about Catalyst. I have installed all the required Perl modules on my test platform and created…
Space
  • 7,049
  • 6
  • 49
  • 68
3
votes
2 answers

Perl : Standard Application development approach

There are whole lot of options for web Application development using Perl, such as Perl CGI/Fast CGI mod_perl Use of any frameworks like Catalyst/Dancer There's a new object system called Moose I have done programming in basic Perl for around a…
3
votes
1 answer

Perl DBI connection works but not with Catalyst

I am using Perl, and I am able to connect to a local PostgreSQL 9.3 server using this code #!/usr/bin/perl use DBI; use strict; my $dbh = DBI->connect("dbi:Pg:dbname=postgres;host=127.0.0.1;port=5432", "postgres", "postgres", { RaiseError => 1 })…
Kilátó
  • 403
  • 3
  • 10
  • 19