[Jifty-commit] r3084 - in jifty/trunk: .
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Apr 3 04:23:04 EDT 2007
Author: jesse
Date: Tue Apr 3 04:23:03 2007
New Revision: 3084
Modified:
jifty/trunk/ (props changed)
jifty/trunk/doc/talks/present-slides
jifty/trunk/doc/talks/yapc.asia.2007.txt
Log:
r54420 at dhcp207: jesse | 2007-04-03 17:22:40 +0900
* tidy
Modified: jifty/trunk/doc/talks/present-slides
==============================================================================
--- jifty/trunk/doc/talks/present-slides (original)
+++ jifty/trunk/doc/talks/present-slides Tue Apr 3 04:23:03 2007
@@ -38,7 +38,7 @@
$mode = 'perl';
}
if ( $mode eq 'text' and $slide ) {
- $slide = autoformat $slide, { left => 1, right => ($cols), all => 1 };
+ $slide = autoformat $slide, { left => 1, right => ($cols-3), all => 1 };
}
elsif ($mode eq 'perl') {
my $tidycols = $cols - 2; # squeeze for display
Modified: jifty/trunk/doc/talks/yapc.asia.2007.txt
==============================================================================
--- jifty/trunk/doc/talks/yapc.asia.2007.txt (original)
+++ jifty/trunk/doc/talks/yapc.asia.2007.txt Tue Apr 3 04:23:03 2007
@@ -117,6 +117,10 @@
<obra> ...I'm kidding
---
+<obra> we could tie the symbol table
+
+<obra> ...It just doesn't work
+---
#mode perl
use base 'Jifty::DBI::Record';
Jifty::DBI::Record->___from_code();
@@ -281,14 +285,7 @@
---
#mode perl
-score => type is 'int',
- is immutable,
- default is '0',
- render as 'text',
- label is 'Score',
- since is '0.0.7';
-
-# Now this parses like this:
+# Now it parses like this:
type(is('int')),
is('immutable'),
@@ -317,7 +314,8 @@
label is 'Score',
since is '0.0.7';
};
-
+---
+# mode perl
# parses as:
'is'->type('int',
@@ -327,6 +325,12 @@
'is'->label('Score',
'is'->since('0.0.7')))));
---
+Why fight the parser?
+---
+Perl gives us all the rope we need
+---
+UNIVERSAL:: and ::AUTOLOAD
+---
What actually happens at compile time:
- The 'schema' function in our baseclass takes a code block
@@ -343,7 +347,7 @@
Template::Declare
---
!!Template::Declare
-Sample usage
+What it looks like
---
#mode perl
template '/pages/mypage.html' => sub {
@@ -369,7 +373,7 @@
---
This is not 1997
---
-It's 2007.
+It's 2007
---
People use CSS for design now.
---
More information about the Jifty-commit
mailing list