The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2015-06-06

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:06 cpan_mojo Mojo-Reactor-POE-0.009 by DBOOK https://metacpan.org/release/DBOOK/Mojo-Reactor-POE-0.009
00:15 jabberwok OK on the Mojo index: Code is far from beautiful but http://blog.wlindley.com/example/mojo-index.html is generated from https://gist.github.com/lindleyw/dcafb39f7e7cb8a72198
00:17 Grinnz not a bad idea
00:17 jabberwok :)
01:00 sh4|2 joined #mojo
01:32 klapperl joined #mojo
02:25 thowe joined #mojo
02:35 noganex joined #mojo
03:06 frederic_ joined #mojo
03:22 basic6_ joined #mojo
03:30 davido_ joined #mojo
03:49 lluad_ joined #mojo
04:39 bin_005 joined #mojo
05:08 kaare__ joined #mojo
05:19 jasanj joined #mojo
05:23 jasanj joined #mojo
05:30 jasanj http://pastie.org/10226234
05:30 jasanj guys, I want something like this, but I know it's not correct, because the js var not availible in perl template
05:32 jasanj Is there a right way to do this thing ? not render url in html tag
06:00 bin_005 joined #mojo
06:37 amon joined #mojo
07:03 bin_005 joined #mojo
07:25 damaya_ joined #mojo
07:25 damaya__ joined #mojo
07:51 dod joined #mojo
07:56 dod joined #mojo
08:00 batman mst: it's not quite react lite. it's a different thing.
08:00 batman i do consider react to be very bloated, but it's kind of cool that you have react native as well.
08:01 batman it might not be bloated though... just "too much" :P
08:01 batman 500k of js just to get react and react-router is pretty crazy
08:18 Vandal joined #mojo
08:25 woz joined #mojo
08:35 berov joined #mojo
08:40 trone joined #mojo
09:43 dotandimet joined #mojo
09:44 dod joined #mojo
09:46 bin_005 joined #mojo
09:46 ToApolytoXaos joined #mojo
10:20 Adurah joined #mojo
10:57 dotandimet joined #mojo
11:32 dotandimet joined #mojo
11:51 AndrewIsh joined #mojo
12:16 dotandimet joined #mojo
12:38 woz joined #mojo
13:05 aggrolite joined #mojo
13:09 frederic_ joined #mojo
13:14 cpan_mojo Mojolicious-Plugin-JIPConf-0.02 by VLADIMIRZ https://metacpan.org/release/VLADIMIRZ/Mojolicious-Plugin-JIPConf-0.02
13:16 jberger jasanj: you can't know what the js variable will be
13:16 jberger So nothing like that is going to work
13:18 jberger At that point, assuming you have a reasonable url layout, I would probably just use url_for to get the "parent" url and then compose the id part in the js
13:19 jberger Keep what url_for that you can if possible, but it won't be foolproof if you change the url layout
13:20 jberger The other way to do it, if you had to, would be a id -> url api service
13:21 jberger But that's probably overkill in most cases
13:21 dotandimet joined #mojo
13:37 Snelius joined #mojo
13:47 sh4 joined #mojo
13:51 janus joined #mojo
14:27 woz joined #mojo
14:29 dod joined #mojo
14:52 PryMar56 joined #mojo
15:03 berov1 joined #mojo
15:16 lluad_ joined #mojo
16:07 Adura joined #mojo
16:10 ajr_ joined #mojo
16:12 elik joined #mojo
16:22 aggrolite joined #mojo
16:43 guru joined #mojo
16:52 aggrolite joined #mojo
16:52 punter joined #mojo
17:07 zivester joined #mojo
17:38 lluad joined #mojo
17:58 ssm joined #mojo
18:06 aggrolite joined #mojo
18:08 damaya_ joined #mojo
18:08 damaya__ joined #mojo
18:08 damaya_ nn
18:15 phillipadsmith joined #mojo
18:17 ans1 joined #mojo
18:19 chansen joined #mojo
18:37 bin_005 joined #mojo
18:40 * sri keeps forgetting to make a DBD::Pg test case :S
18:55 stephan48 34
19:30 bjakubski joined #mojo
19:48 zivester joined #mojo
19:50 kaare_ joined #mojo
20:15 davido_ joined #mojo
20:29 pete joined #mojo
20:29 pete ISTR Catalyst has a sort of "demo" page
20:29 pete Maybe it's teh default page on install
20:29 pete Does mojolicious have something similar?
20:36 jberger pete: can you elaborate?
20:37 jberger not being familiar with Catalyst's demo page, I'm not sure if we have an equivalent
20:47 pete This is an x y problem really
20:47 pete I am trying to get a PSGI app that produces a pretty HTML page
20:47 pete The least work so far has been mojo's error page
20:47 pete I would like to do better than that somehow
20:48 pink_mist surely getting a PSGI app to produce a pretty HTML page would mostly entail /writing/ the pretty HTML page in pretty much any framework?
20:49 pink_mist you don't really need a framework for this
20:49 pete I am trying to avoid the writing component
20:50 pink_mist so download a HTML page that you think is pretty and display that then?
20:51 Grinnz lol
20:51 Grinnz as far as i know, the most embedded CSS stuff is for the error/not found pages
20:51 pete I could, but then I'd need to setup Plack to serve static files too
20:51 pete I think Plack::App::Proxy is my easiest option here
20:52 sri the pod renderer maybe?
20:52 pete sri: That sounds promising
20:53 sri plugin 'PODRenderer';
20:54 sri we once had a welcome page too, but not anymore http://blog.kraih.com/post/43196937506/a-missing-raptor-and-the-mojolicious-user
20:54 pete sri: That's what I think I was thinking of
20:55 pete Pod renderer sadly has too few colours on it for my needs
20:55 sri in core it's just not_found, exception, and perldoc now
20:57 pete sri++ # excellent answers
20:58 sri oh, you want colors? :) perl -Mojo -E 'a({inline => "% die;"})->start' daemon -m production
21:00 pete I am going to sound excessively difficult ... they need to be HTML or CSS colours
21:00 sri (there is two versions of the not_found and exception pages)
21:00 pete I think I have wasted enough of everyone's time here :-)
21:16 jberger it would appear that my Phantom talk has taken a turn for the Futurama
21:18 jberger pete: another idea would be to use my RevealJS plugin and make a tiny RevealJS talk with it
21:22 jberger pete: http://pastie.org/10227207
21:22 jberger note, not run, just typed straight into pastie, so there might be syntax errors or something
21:25 pete jberger: It's mostly Powerpoint now, probably too much work to put it in to RevealJS
21:26 jberger no, I mean as your mojolicious app with css colors
21:34 dotandimet joined #mojo
21:55 punter joined #mojo
22:36 btyler joined #mojo
23:28 frederic_ joined #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary