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

Catalyst Request Upload - Truncating Files

I am using Catalyst Request Upload to upload files with the Jumploader applet on the front end. Everything is fine for files under 10k or so. But if files are larger, I only get the last uploaded "chunk". Using Data::Dumper I can see the "10k bits"…
CodeWriter
  • 337
  • 2
  • 7
2
votes
1 answer

Are there good resources for porting mod_perl to Catalyst & is it worth it?

We have a big e-learning mod_perl web app, which use AxKit, XML, XLST and javascript primarily running on a unix server. What I've came to notice is that the codes are rather messy, and there has been a few generations of developers coming in and…
melaos
  • 8,386
  • 4
  • 56
  • 93
2
votes
1 answer

Perl/Catalyst $c->uri_for() issue in Windows IIS10/FastCGI

I have a Perl/Catalyst WebAapp running on Windows IIS with FastCGI. I am trying to move the application from Windows 2012R2/IIS8.5 to 2019/IIS10 Old: Windows 2012R2/IIS 8.5(Perl:5.20.2(x64)/Catalyst: 5.90091) New: Windows 2019/IIS…
2
votes
0 answers

Catalyst-Plugin-Authentication how do I check a history of encrypted passwords

we are using Catalyst-Plugin-Authentication for storing hashed passwords and it's working great. Now we have a requirement to keep an X number of hashed password history and check new password against this list. I'm looking to find a way to loop…
karmarro
  • 29
  • 2
2
votes
0 answers

HTML filter on Template Toolkit. perl

Can someone tell me why in others code I saw expression like: [% variable | html | html %]. What is the reason to use two html filters? For example in perl catalyst controller: sub index :Path Args(0) { my($self, $c) = @_; …
user508828
  • 41
  • 2
2
votes
1 answer

Adding CatalystX::I18N::Maketext to my DBIC schema

sorry, I thought I had got there after my last post, however I only got as far as accessing from a separate PL file. I'm now trying to ensure I can load the lexicon with the schema load and not everytime I call a method in my result / resultset…
Chris
  • 83
  • 4
2
votes
2 answers

What factors do influence the Catalyst app restart mechanism?

I have a Perl Catalyst application which is launched normally using the -r parameter. I have noticed 2 types of behaviour: 1) the application restarts normally on every "dummy change" of the code (by "dummy change" I mean adding a space or…
ArtM
  • 41
  • 2
2
votes
1 answer

Multidimensional and associative array (hash) via POST in Perl/Catalyst

In PHP, I would do this to get 'points' as an multidimensional array. Or if I wanted…
nsbm
  • 5,842
  • 6
  • 30
  • 45
2
votes
1 answer

Serving ionic vue build through perl server is not working

I have a perl application and want to change parts of it to an ionic app. I'm building my ionic vue app with ionic build and redirect in a perl controller to the index.html file in the generated dist directory. There is no error or anything, but the…
lando
  • 335
  • 1
  • 16
2
votes
1 answer

DBIx::Class undefined value exception when trying to use ->create()

I'm trying to create a new row using DBIx::Class from within Catalyst, with the following code: $c->model('Session')->resultset('UserPreference')->create( { appname => 'rss_reader', username =>…
rndapology
  • 142
  • 6
2
votes
3 answers

How to easily create tables in the template toolkit View in perl/Catalyst

I am developing an App using Perl's Catalyst framework. In trying to keep presentation logic out of my models I am looking for a way in the VIEW (template toolkit) to generate an HTML table from a given data structure. I currently use…
2
votes
1 answer

Catalyst: Passing query param to a "forward" call

I have a Catalyst Controller that responds to arguments in the usual way (/endpoint/foo/bar), but also takes a query parameter for a security token. How can I set the value of the parameter before I initiate a forward call to this Controller? It…
user1235777
  • 609
  • 7
  • 24
2
votes
1 answer

Fresh start, from Flex 3 to Catalyst

Things have changed way too much in the bussines logic for our Flex 3 customer extranet application, so I have received the permision to make a fresh start... with low date pressure (I know, you envy me...). Instead choosing the obvious Flex 4 path,…
Nacho B
  • 1,573
  • 1
  • 12
  • 16
2
votes
0 answers

Catalyst::Plugin::I18N doesn't work properly with HTML::FormFu

I'm setup a new project with Catalyst with the Plugin Catalyst::Plugin::I18N and creating forms with HTML::FormFu my problem is that localization with the HTML::FormFu config files doesn't work. I create my language files like written here:…
Biber89
  • 21
  • 1
2
votes
4 answers

Utils in Catalyst (Perl)

Where should I place functions like, for example, sum_it_all() in Catalyst project? It's not a model, that's nothing about data, it's not a controller because it doesn't ask the web-request. It's just a simple function and I want it to be accessible…
Emb
  • 23
  • 2