Changeset 246
- Timestamp:
- 04/16/07 00:16:23 (1 year ago)
- Files:
-
- trunk/extras/talks/osdc-2007/Spork.slides (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/extras/talks/osdc-2007/Spork.slides
r244 r246 198 198 == Kwiki Wiki Creation Instructions 199 199 200 > kwiki -new ~/Sites/my-wiki201 202 > vim ~/Sites/my-wiki/plugins203 > kwiki -update ~/Sites/my-wiki204 205 > kwiki -start ~/Sites/my-wiki200 > kwiki -new my-wiki 201 202 > vim plugins 203 > kwiki -update 204 205 > kwiki -start 206 206 207 207 ---- 208 208 == Kwiki Software Upgrade Instructions 209 209 > svn up 210 210 +== Yay! 211 211 ---- 212 212 == The Great Kwiki Source Code Reorg … … 255 255 256 256 use Kwiki::Boot; 257 Kwiki::Boot-> debug->boot->kwiki->process;257 Kwiki::Boot->boot->kwiki->process; 258 258 259 259 +|index.fcgi| … … 262 262 use CGI::Fast; 263 263 while ( my $cgi = CGI::Fast->new ) { 264 Kwiki::Boot-> debug->boot->kwiki->process;264 Kwiki::Boot->boot->kwiki->process; 265 265 } 266 266 267 ---- 268 == Kwiki Documentation - Doolittle 269 270 * Introducing |Doolittle| 271 * Let the Community Write the Doc 272 * So Ingy can |do little| work 267 273 ---- 268 274 == Kwiki Documentation - Doolittle … … 270 276 * http://doolittle.kwiki.org 271 277 * Kwiki::Doolittle::Formatter 272 ** Kwiki::Formatter:Pod 273 +* |Pull all POD| out of each module 274 +* Symlink into a big Kwiki |database of documentation| 278 ** Kwiki::Formatter::Pod 279 * |Pull all POD| out of each module 280 * Symlink into a big Kwiki |database of documentation| 281 282 ---- 283 == Kwiki Documentation - Doolittle 284 285 * This idea could work for Perl doc itself 286 +* Or even Plagger 275 287 276 288 ---- … … 296 308 +* So if you install Kwiki 2.0, then: 297 309 298 spork -new KwikiAndTheSymlink 310 cd kwiki/trunk/extras/talks/osdc-2007 311 spork -make 312 spork -start 299 313 300 314 ---- 301 315 == Spork::Formatter2 302 316 303 package Spork::Formatter2; 304 use Spoon::Base -Base; 305 use Spork::Parser; 306 use Spork::Emitter::HTML; 307 308 sub text_to_html { 309 my $text = shift; 310 my $ast = Spork::Parser->new->parse($text); 311 return Spork::Emitter::HTML->new->emit($ast); 312 } 313 317 .hilite 318 package Spork::Formatter2; 319 use Spoon::Base -Base; 320 use Spork::Parser; 321 use Spork::Emitter::HTML; 322 323 sub text_to_html { 324 my $text = shift; 325 my $ast = Spork::Parser->new->parse($text); 326 return Spork::Emitter::HTML->new->emit($ast); 327 } 328 329 bbbbbbbbbbbbbbbbb 1 330 r+ 3-4 331 ggggg 8 332 gggg 9 333 + 334 r+ 6-10 335 + 336 g+ 6-10 337 + 338 b+ 6-10 339 .hilite 340 341 ---- 342 * äž 343 +* äº 344 +* è¶ 314 345 ---- 315 346 == Perldoc 2.0 … … 750 781 ggb+ 37-41 751 782 ---- 752 == Kwid for Plain Old Dummies753 .image:dumdum1953.jpg754 755 Pod:756 757 =head2 Cool Stuff758 759 B<This> piece of code for C<Foo::Bar> is I<way cool>.760 761 sub way_cool {762 ...763 }764 765 It is everything you need:766 767 =over768 769 =item *770 771 Fast772 773 =item *774 775 Quick776 777 =item *778 779 Speedy780 781 =back782 783 ----784 == Kwid for Plain Old Dummies785 .image:foo_large.gif786 787 Kwid:788 789 == Cool Stuff790 791 *This* piece of code for `Foo::Bar` is /way cool/.792 793 sub way_cool {794 ...795 }796 797 It is everything you need:798 799 * Fast800 * Quick801 * Speedy802 803 ----804 783 == Perldoc In Action 805 784 806 785 * Module Install Does It All 786 * Perldoc is self hosting 787 * On CPAN Now 807 788 * Perldoc Live Demo 808 789
