Questions tagged [poet]

for questions about Poet, a web framework for Mason

Poet is a web framework designed especially for developers.

It uses PSGI/Plack for server integration and it is designed to take maximum advantage of Mason's routing, templating, and content generation features.

Some useful references can be found at their official website: Mason+Poet: home.

6 questions
9
votes
3 answers

Authentication and/or HTTPS with Plack/PSGI/Poet application

I need to build a simple web-application. I decided to do it with Poet (Mason2), which uses Plack. The application should be allowed to use only by authenticated users, so I need build some login/password functionality. There already is a Plack…
kobame
  • 5,766
  • 3
  • 31
  • 62
6
votes
1 answer

Global Variable mason2 in POET

I'm new to Mason2/POET and I have been using this guide http://search.cpan.org/~jswartz/Poet/lib/Poet/Manual/Tutorial.pod to create my first website. Now I would like to create a new global variable (example: $User) but then I have no idea or what…
blues
  • 167
  • 1
  • 7
3
votes
1 answer

How do I get my Poet web site running under Apache2?

If I currently have a Poet web site running under the standalone plackup server (via run.pl), how do I configure Apache2 to host this Poet web site? Searches for "+apache2 +poet" retrieve plenty of results about poets using Apache2 (to publish their…
ManicDee
  • 732
  • 6
  • 16
1
vote
2 answers

PoET engine error when setting up Docker Sawtooth Network Environment

I'm trying to set up the Docker Sawtooth Network Environment using PoET Simulator (CFT) following these steps: https://sawtooth.hyperledger.org/docs/core/releases/latest/app_developers_guide/docker_test_network.html. The intkey set transaction works…
guieec
  • 21
  • 4
1
vote
1 answer

Specify route rules, and route to different components

I know how to to specify routes for page components using Mason::Plugin::RouterSimple, for example given a url of: /archives/2015/07 I can create a component archives.mc as this: <%class> route…
fthiella
  • 48,073
  • 15
  • 90
  • 106
0
votes
1 answer

Express : Custom node_module on Heroku

I'm using the Poet module in an Express app. Poet don't support Expresss 4 yet, but a patch exist, a change in the module code. I applied that patch, and my app is working locally. But Heroku load the original version of the package, without patch.…
Ruff9
  • 1,163
  • 15
  • 34