November -- doing stuff in Perl 6 in the time before Christmas. <november-wiki.org> <github.com/viklund/november> <irclog.perlgeek.de/november-wiki> <nopaste.snit.ch>
Set by moderator on 14 December 2008.
10:56 masak joined
masak I might get some November tuits today. 11:17
14:22 ihrd joined
ihrd hi there! 14:22
masak ihrd: hello!
merry chrstmas!
ihrd merry Christmas to you :) 14:23
masak is finishing the skin CleanAndSoft for p5w
ihrd I updated grant propose a little
masak looks
ihrd look like whiteboard can`t escape, so I use 'x' instead of '*' 14:24
masak aye
ihrd thank you very mach for help with bio 14:25
masak np
I think 10$/h is reasonable too. 14:26
we should finalize that section.
then I think the application can be sent.
ihrd I fell that too bullets should be clear
A port of HTML::Template from Perl 5 \t\tA simple templating engine.
masak oh, and I'll remove the 'hooking into popular Javascript/Ajax frameworks' wording
better to overdeliver than to overpromise. 14:27
ihrd because HTML::Template is simple template too
Yes!
masak if perl6.ru a blog or a webzine? 14:29
ihrd So, I mean simple and perlish templates, like search.cpan.org/~sri/Mojo-0.9/lib/M...emplate.pm
zarah ihrd's link is also tinyurl.com/9slsph
ihrd perl6.ru is a blog
masak I'll write that.
re: "HTML::Template"/"simple templating engine": will we do both HTML::Template and another templating engine? 14:30
ihrd (webzine? hm new word for my, but I can`t find it in dic :( )
masak in that case, maybe we should write that.
ihrd: 'webzine' is a combination of the words 'web' and 'magazine', that is a magazine on the web. 14:31
I kinda liked that Genshi thing. I might try and port that.
ihrd Yes, I do not like HTML::Template, I want something clear and soft :)
masak ihrd: me too.
ihrd O, Genish with tree-logic 14:32
masak I think it might be a good idea to port successful frameworks to Perl 6.
genshi.edgewall.org/wiki/GenshiTutorial
zarah masak's link is also tinyurl.com/3caopv
masak and not only from Perl 5, but from other languages.
ihrd I like to implement simple text templates
masak ...as long as they have ideas worth copying :)
ihrd: do you have an example? 14:33
ihrd I read that after you mail
I was posted link above
masak because I think the example under 'Basic Template Rendering' is very nice.
ihrd I have some exp with very similar template system 14:34
masak oh, good
ihrd we wright one in my company
masak Genshi seems very well liked in the Python world. 14:35
ihrd with tree-like logic
when you manipulate with nodes
but it is hard to understand for html/css coder
masak maybe. 14:36
ihrd and this is bad side
masak it need not be our default alternative.
ihrd like with XSLT too
be default Web.pm should use simplest one 14:37
masak aye.
I think of it as a ladder.
on the first rung, a very simple text templating solution.
on the second rung, something like a Genshi port.
ihrd but we still have two alternatives:
fist -- perlish template, when you can put perl6 expressions inside of it 14:38
masak ooh -- I like that
ihrd second -- template with very-very simple ststements, like TT, and without any ability to change content at all 14:39
masak that we more or less have already. 14:40
ihrd first is flexable, but provide way to code all-in-one style
masak aye.
ihrd that is bad for big applications 14:41
masak indeed.
ihrd when you coder start to call something from templates
that can make you crazy :)
masak aye, that sounds like the wrong direction. 14:42
ihrd but mb that is not so bad for Web.pm :)
I mean -- perlish template
not that style
masak I suggest we provide two or three standard solutions, or increasing power and complexity.
maybe pure HTML with Perl 6 blocks is the lowest. 14:43
OTOH, maybe that won't be needed, and a HTML::Template-like solution is preferable.
(I say "HTML::Template-like" because I basically don't like the way the templates look in HTML::Template.) 14:44
ihrd HTML::Template good only for people who just know it
masak yes. I think we can do better.
at least syntax-wise.
ihrd oh yes, I relly dislike <THAT_STYLE too 14:45
masak in an XML-aware world, it's really bad to have syntax like that.
just think, our template files in November would have been valid XML if not for the template tags!
ihrd we can make simple template sistem when you can turn perl6 expresion
so, be default you can use it 14:46
but if you app grow you can turn off that
masak ihrd: yes. exactly.
ihrd and use strict, simple templete statements only
good, I like that way
masak anyway, I like that we're already in the concrete planning stages. I think this will be a good project, grant or no grant.
ihrd yes 14:48
I init git rep for Maya
masak maybe one could surround the Perl 6 code with <?perl ... ?>-type processing instructions.
ihrd: you did, or you will?
ihrd we can do that for Web.pm right now
masak ihrd: yes, good idea. 14:49
ihrd I did
masak ihrd++
my plan for today is to finalize the CleanAndSoft skin for p5w, and look at porting it to p6w.
it's a lot of repetitive work :/
ihrd I was starting too make templete more DRY, so mb not so :) 14:50
masak ihrd: so basically, what we want is not "A port of HTML::Template", but something nicer. :)
ihrd: yes, DRY is what's needed in p5w now too. 14:51
ihrd I think we should provide HTML::Template too
but I do not like idea to use it be default
masak very well.
ihrd and look forward to create better one
masak I'll write that. 14:52
time to eat here. 14:53
ihrd Do you creating Web.pm rep on github or you
masak I'll be back in an hour or so.
ihrd like to my do that?
o, ok
bb
masak ihrd: let's wait a bit before creating the Web.pm repo. 14:54
ihrd because I go to sleep ~hour
masak see you later
ihrd okay
masak is back 16:04
ihrd masak: look like I found rakudobug 16:15
rakudo: my %h; %h<one><two> = 1; 16:16
p6eval rakudo 34381: OUTPUT«Method 'postcircumfix:{ }' not found for invocant of class 'Failure'␤current instr.: 'postcircumfix:{ }' pc 1792 (src/classes/Associative.pir:77)␤»
ihrd I trying to found words for rakudobug subject now
'can`t vivify two or more dimensional hashes'
but that is looks bad 16:17
mb you know how to say that better?
masak 'Rakudo doesn't understand autovivification of multiple hash indices' 16:18
ihrd thank you! 16:19
masak np
I'll go offline a bit again, so I can take the computer closer to where the family is.
will try to find time to come online later today, hopefully with some November commits.
16:59 ihrd left 17:43 masak joined 22:43 masak joined