[Jifty-commit] r1817 - jifty/trunk/lib/Jifty/Manual
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Aug 15 12:13:45 EDT 2006
Author: audreyt
Date: Tue Aug 15 12:13:44 2006
New Revision: 1817
Modified:
jifty/trunk/lib/Jifty/Manual/Tutorial.pod
Log:
* Tutorial patch from rindolf++
Modified: jifty/trunk/lib/Jifty/Manual/Tutorial.pod
==============================================================================
--- jifty/trunk/lib/Jifty/Manual/Tutorial.pod (original)
+++ jifty/trunk/lib/Jifty/Manual/Tutorial.pod Tue Aug 15 12:13:44 2006
@@ -191,14 +191,15 @@
You should see something like this:
- package MyWeblog::Model::Post::Schema;
+ use strict;
+ use warnings;
+
+ package MyWeblog::Model::Post;
use Jifty::DBI::Schema;
- # Your column definitions go here. See Jifty::DBI::Schema for
- # documentation about how to write column definitions.
+ use MyWeblog::Record schema {
- package MyWeblog::Model::Post;
- use base qw/MyWeblog::Record/;
+ };
# Your model-specific methods go here.
@@ -211,8 +212,7 @@
Position your cursor right after:
- # Your column definitions go here. See L<Jifty::DBI::Schema> for
- # documentation about how to write column definitions.
+ use MyWeblog::Record schema {
Add the lines:
@@ -288,7 +288,7 @@
=head4 The quick and dirty way
-Open a new file called F<index.html> in the F<web/templates> directory
+Open a new file called F<index.html> in the F<share/web/templates> directory
in your text editor. (Your webserver will
treat the URL C</index.html> as the I<default> page for your site). Make it
look like this:
More information about the Jifty-commit
mailing list