Home | Forum | Unread | Sign in | Sign in
Wirebird
Forum

discussion > gamehawk > main

Developer discussion of the Gamehawk release of Wirebird. Here be Perl, SQL, REST, HTML, CSS, JavaScript, and other technical terms.
Subscribe | Unread | Recent | Group options | Topic options | Post
KarenCravens
Karen Cravens

Sat

Jun 30
2007

03:17



Wikify

Gamehawk 29 Jun

Today was the Wirebird Hackathon, but it didn't actually last all that
long: my mother came by for her serger and we ended up driving all over
town getting errands run.

I did get the big change to the pagebuilder
done that I wanted to. In the past, it's set everything as a parameter
in an HTML::Template. That works fine for HTML, RSS, and Atom (since
those are all templated), but I'm reluctant to build JSON in a
template, so I was pulling all the param info back out and JSONizing
it.

Now, I'm feeding all the param info into a gigantic hash, and only
at display time is it either packed into a template or JSON (or Perl,
via Data::Dumper, but that's really just for debug). Chiefly, that
affects the JSON, but it also helps when I decide midstream to change
the template I was using. Or if I decide to actually build the RSS/Atom
instead of templating it.

Still a lot of cleanup I need to do to
publish it.
Subject (required)




 
Refresh