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
0
votes
1 answer

HTML::FormHandler persistent form class

I'm using HTML::FormHandler and I'd like to make my form persistent by making it a moose attribute in my controller class. In HTML::FormHandler's Manual Intro documentation, it says this: FormHandler makes heavy use of Moose, so almost all of…
srchulo
  • 5,143
  • 4
  • 43
  • 72
0
votes
1 answer

How to give additional parameters to DBIx search method to Schema class

I added new relationship to my Schema in Catalyst project: __PACKAGE__->has_many( 'messageslog' => "myproject::Schema::Result::MessagesLog", sub { my $args = shift; return { "$args->{foreign_alias}.from" =>…
Alex_Crack
  • 710
  • 1
  • 4
  • 14
0
votes
3 answers

Cannot use DBIx::Class to authentication from Catalyst App

I'm trying to use DBIx::Class for authentication users from Catalyst app. My steps I've done: 1) created SQLite db CREATE TABLE people ( id integer primary key, name text not null, password text not null); 2) created Catalyst model People; 3) set…
edem
  • 3,222
  • 3
  • 19
  • 45
0
votes
2 answers

HTML::FormHandler subclass fields

I'm using HTML::FormHandler, and as to not repeat code I'd like to take advantage of its subclassing features. Currently I have two forms: myapp::Form::Account::Base myapp::Form::Account::Register myapp::Form::Account::Register inherits from…
srchulo
  • 5,143
  • 4
  • 43
  • 72
0
votes
2 answers

Filling Stash from Another Controller's Action

I have an action in one controller that needs some db records stashed to render a table. I have an action in a second controller that fills a very similar table, and so the data in its own stash is the same as I need for the first one. Without…
Ryan
  • 672
  • 1
  • 6
  • 16
0
votes
2 answers

catalyst require lib across whole application

So I have a .lib file with some of my own subroutines in it that I would like to make available to the entire Catalyst app. Right now I require the file in lib/myapp.pm and I have no issues. However, whenever I try to call that subroutine in a…
srchulo
  • 5,143
  • 4
  • 43
  • 72
0
votes
1 answer

After file upload and then submit using catalyst, control going to new page. How to prevent this

I've written 'fileUpload.tt' and 'Site.pm' to upload file (pasted below). Its uploading file to '/tmp' directory but the problem is that, after uploading the file, its going to blank screen with URL (XXX/MySite/uploadFile). I want it to be in the…
0
votes
1 answer

nginx and catalyst configuration

I am having trouble deploying a Catalyst application using nginx and fastcgi. I attempting to do this under ubuntu 12.04. I have successfully configured nginx to serve static content from my app's /root subdirectory. However, when I try to any of…
phonybone
  • 35
  • 1
  • 9
0
votes
1 answer

Why do I get DBIx "No such relationship" error on one of the two clone instances of perl Catalyst?

I replicated a Perl catalyst web application on a new server, making sure catalyst, MySQL, and all required Perl modules have the same versions across both servers. But I keep getting a strange DBIx error message when I try to login on one server. …
prat
  • 607
  • 2
  • 8
  • 22
0
votes
1 answer

Converting SQL query

I have an SQL query which is fetching me the data correcting from sqlplus. When I try to convert the query such that I can implement in the catalyst controller, I am getting an error message saying there is no relation between the tables Feature and…
0
votes
2 answers

Catalyst - Creating DB dump - Getting "No tables found, did you forget to specify db_schema?" on MS SQL Server connection

I'm trying to create a Catalyst project connecting to an existing MS SQL Server database. I got the correct connection string and it's authenticating, but it's not finding any tables. Anyone have an idea of what I might be missing? I substituted…
derekmw
  • 375
  • 1
  • 5
  • 13
0
votes
1 answer

Catalyst DBIx::Class No tables found, did you forget to specify db_schema

In Catalyst development, there are so many modulers. When I run the command as follows, I get the error No tables found, did you forget to specify db_schema script/addressbook_create.pl model AddressDB DBIC::Schema AddressBook::Schema::AddressDB…
Thai Heng
  • 152
  • 1
  • 11
0
votes
1 answer

Call to Subroutine from Catalyst Controller

I am working on catalyst to design a front end for a database. I am new to perl and catalyst. I am stuck with one error in the controller. I want to fetch gene names from one table and pass each gene name to a subroutine gene_name(call a subroutine…
0
votes
2 answers

Streaming video for flash/html5 player using catalyst framework

I'm developing a site with serves several videos online, using the Catalyst (A perl MVC framework) and the JWplayer, and I need a stable way of stream the videos to the client player with the capability of start the video from a random point. I…
h3ct0r
  • 705
  • 1
  • 11
  • 23
0
votes
1 answer

HTML::FormHandler Form really slow

I am using HTML::FormHandler for a web app I'm creating. The forms work fine, the only issue is that just loading the form can cause the page 2-3 seconds to load. I know HTML::FormHandler uses Moose, and this StackOverflow has lead me to believe…
srchulo
  • 5,143
  • 4
  • 43
  • 72
1 2 3
34
35