[Jifty-commit] r743 - in jifty/trunk: .

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sun Mar 26 05:47:15 EST 2006


Author: jesse
Date: Sun Mar 26 05:47:14 2006
New Revision: 743

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/doc/talks/yapc.asia.2005.xul

Log:
 r10485 at hualien:  jesse | 2006-03-26 14:09:38 +0900
 * Slides checkpoint


Modified: jifty/trunk/doc/talks/yapc.asia.2005.xul
==============================================================================
--- jifty/trunk/doc/talks/yapc.asia.2005.xul	(original)
+++ jifty/trunk/doc/talks/yapc.asia.2005.xul	Sun Mar 26 05:47:14 2006
@@ -48,12 +48,27 @@
 No!
 ~ 違います!
 ----
+Dear God, 
+WHY?!?!?!
+----
 We built RT
 from scratch
 ----
+RT has lots of 
+infrastructure
+----
 We're building a 
 new application
 ----
+We learned
+our lesson
+----
+This time, we'd
+use a framework
+----
+We looked at
+the options
+----
 We looked at
 Maypole
 ----
@@ -72,6 +87,15 @@
 (We ignored the
 Java stuff)
 ----
+We looked at
+Borges
+----
+We looked at
+CGI::Application
+----
+We looked at
+10+ more
+----
 Everything had
 good ideas
 ----
@@ -93,6 +117,8 @@
 Seaside's
 Page Halos 
 ----
+But...
+----
 Nothing met
 our needs
 ----
@@ -100,7 +126,7 @@
 easy enough
 ----
 Catalyst is 
-too flexible
+too scattered
 ----
 Rails 
 isn't 
@@ -131,12 +157,8 @@
 We added 
 our own magic
 ----
-Jifty::Actions
-----
-Jifty::PageRegions
-----
-Lots of
-cool stuff!
+We have lots 
+of cool stuff!
 ----
 ...but
 ----
@@ -209,23 +231,6 @@
 ----
 {{#tag|BUZZWORDS}}
 ----
-{{#i|Web 2.0}}
-----
-Sure 
-it is
-----
-What does
-it mean?
-----
-My DOG
-is Web 2.0
-enabled
-----
-Go ahead 
-----
-Prove me 
-wrong
-----
 {{#i|Perl}}
 ----
 (obviously)
@@ -236,10 +241,14 @@
 (Fits together
 top to bottom)
 ----
-{{#i|AJAX}}
+{{#i|Don't}}
+{{#i|Repeat}}
+{{#i|Yourself}}
 ----
-(And it works
-in lynx, too)
+(Say it once)
+----
+Even better:
+(Never say it!)
 ----
 {{#i|Declarative}}
 {{#i|Programming}}
@@ -247,22 +256,44 @@
 (Easy to read
 and write)
 ----
+{{#i|Encapsulated}}
+{{#i|cleverness}}
+----
+(One good place
+for your logic)
+----
+{{#i|Web 2.0}}
+----
+Sure 
+it is
+----
+What does
+it mean?
+----
+My DOG
+is Web 2.0
+enabled
+----
+Go ahead 
+----
+Prove me 
+wrong
+----
 {{#i|Web}}
 {{#i|Services}}
 ----
 (Serve your API
 to the world)
 ----
-{{#i|Encapsulated}}
-{{#i|cleverness}}
+{{#i|AJAX}}
 ----
-(One good place
-for your logic)
+(And it works
+in lynx, too)
 ----
 {{#i|Continuations}}
 ----
 ('gosub' for web 
- applications)
+applications)
 ----
 {{#i|MVC}}
 ----
@@ -270,12 +301,13 @@
 ----
 {{#i|A Pony}}
 ----
-{{img src="pony.png" width="640" height="422"}}
-----
 Rails is
 anti-pony
 ----
-{{#tag|THE NAME}}
+{{img src="pony.png" width="640" height="422"}}
+----
+{{#tag|WHAT'S WITH}}
+{{#tag|THE NAME?}}
 ----
 Jifty
 ----
@@ -284,6 +316,8 @@
 JUST
 ----
 _______
+
+~ If not offensive, please use the Kana for "fucking"
 ----
 DO
 ----
@@ -300,9 +334,28 @@
 hard way
 ----
  {{#tag|R}}equest
+  
+  
+ 
+~
+----
+ {{#tag|R}}equest
+ {{#tag|T}}racker
+  
+  
+~  
+----
+ {{#tag|R}}equest
+ {{#tag|T}}racker
+ {{#tag|F}}AQ
+  
+~
+----
+ {{#tag|R}}equest
  {{#tag|T}}racker
  {{#tag|F}}AQ
  {{#tag|M}}anager
+~
 ----
 So, it's 
 named Jifty!
@@ -463,10 +516,29 @@
 ----
 {{#tag|DISPATCHER}}
 ----
-
+Centralized
+Control Flow
+----
+Not actually
+necessary
+----
+Separates
+flow and
+templates
 ----
 {{#tag|REGIONS}}
 ----
+AJAX 
+page
+updates
+----
+Standardized
+----
+Addressable
+----
+Downlevel
+compatible
+----
   Jifty->web->form->submit(
     label   => 'Create',
     onclick => [
@@ -477,17 +549,28 @@
 ----
 {{#tag|CONTINUATIONS}}
 ----
-
+They're 
+not real
+----
+Jifty level,
+not 
+Perl level
+----
+Save state
+for later
+----
+Back button
+compatible
 ----
 {{#tag|DEVELOPER}}
-{{#tag|MODE}]
+{{#tag|MODE}}
 ----
 Mason reloads 
-changed pages    
+changed templates
 per request
 ----
 Jifty reloads
-changed {{#iu|libraries}}
+changed {{#i|libraries}}
 per request
 ----
 Halos
@@ -508,10 +591,9 @@
 ----
 XXX image goes here
 ----
-
-
-
-Other bits
+{{#tag|Other}}
+{{#tag|Checklist}}
+{{#tag|Features}}
 ----
 Sending 
 Email
@@ -531,16 +613,29 @@
 FastCGI 
 handler
 ----
-Stub generators
+Fast static
+content 
+server
+----
+Online
+developer
+documentation
+----
+Built-in
+database
+administration
 ----
-Test helpers
+Stub 
+generators
+----
+Test 
+helpers
 ----
-
 {{#tag|A TRIVIAL}}
 {{#tag|EXAMPLE}}
 ----
 Real
-Code
+code
 ----
 Live
 demo?
@@ -548,98 +643,93 @@
 I know
 better
 ----
-Application Code
-----
  lib/BlogDemo/Model/Entry.pm
- web/templates/new_article.html
- web/templates/index.html
-
+ lib/BlogDemo/Dispatcher.pm
+ web/templates/new_entry.html
+ Reb/templates/index.html
 ----
-
- {{#iu|lib/BlogDemo/Model/Entry.pm}}
-
+{{#i|./lib/BlogDemo/Model/Entry.pm}}
 ----
- 
  package BlogDemo::Model::Entry::Schema;
  use Jifty::DBI::Schema;
  
- column title => 
-     type is 'text',
-     default is 'Untitled';
- 
+ column title =>
+      type is 'text',
+      default is 'Untitled';
  
- column body => 
-     type is 'text',
-     render_as 'Textarea';
-     
+ column body =>
+      type is 'text',
+      render_as 'Textarea';
+
 ----
  package BlogDemo::Model::Entry;
- use base qw/Jifty::Record/;
- 
- sub since { '0.0.2'}
- 
- 1;
-
+ use base qw/BlogDemo::Record/;
 ----
-
- {{#iu|web/templates/index.html}}
-
+{{#i|./lib/BlogDemo/Dispatcher.pm}}
 ----
- <%init>
- my $entries = 
-   BlogDemo::Model::EntryCollection->new();
- $entries->unlimit();
- </%init>
+ package BlogDemo::Dispatcher;
+ use Jifty::Dispatcher -base;
+ 
+ on '/' => run {
+     my $entries = 
+        BlogDemo::Model::EntryCollection->new();
+     $entries->unlimit();
+ 
+     set entries => $entries;
+ };
 ---- 
- <html><body>
- <h1><% Jifty->config->app('Name')%></h1>
+ on '/new_entry.html' => run {
+     my $create = Jifty->web->new_action(
+         class   => 'CreateEntry',
+         moniker => 'create');
  
+     set create => $create;
+ };
+----
+{{#i|./web/templates/new_entry.html}}
+----
+ <%args>
+ $create
+ </%args>
+ <&|/_elements/wrapper, 
+    title=> 'Create an article' &>
+ <%Jifty->web->form->start%>
+ % foreach my $arg ($create->argument_names) {
+ <%$create->form_field($arg)%>
+ % }
+ <%Jifty->web->form->submit( label => 'Save')%>
+ <%Jifty->web->form->end%>
+ </&>
+ ----
+{{#i|./web/templates/index.html}}
+----
+ <%args>
+ $entries
+ </%args>
+ <&|/_elements/wrapper&>
  % while (my $entry = $entries->next) {
   <h2><%$entry->title%></h2>
   <div class="body">
     <%$entry->body%>
   </div>
  % }
- </body><html>
-
-----
-
-{{#iu|web/templates/new_article.html}}
-
-----
- <%init>
- my $create = Jifty->framework->new_action( 
-        class => 'CreateEntry', 
-        moniker => 'create' );
- </%init>
-----
- <h2>Create an article</h2>
- 
- <%Jifty->framework->form->start%>
- % foreach my $arg ($creator->argument_names) {
- <%$creator->form_field($arg)%>
- % }
- <%Jifty->framework->form->submit( label => 'Save')%>
- <%Jifty->framework->form->end%>
+ </&>
 ----
  jifty schema --setup
  jifty server 
 ----
-THAT'S 
-IT
+ALL DONE
 ----
 No 
 more 
 code
 ----
-It 
-runs
+It runs
 ----
-Ship 
-it
+Ship it
 ----
-{{#tag| JIFTY }}
-{{#tag| SUCKS }}
+{{#tag|JIFTY}}
+{{#tag|SUCKS}}
 ----
 ...for now
 ----
@@ -670,20 +760,26 @@
 that
 too
 ----
+No I18N
+----
+Audrey hsa 
+fixed it 
+on her branch
+----
 {{#tag|THE FUTURE}}
 ----
 Wiki-style
 UI Editor
 ----
 Even
-Less
-Code
+less
+code
 ----
 More
-Docs
+docs
 ----
 Sample
-Apps
+apps
 ----
 "Jifty in a Jiffy"
 movies and


More information about the Jifty-commit mailing list