[SQL-CVS] SOWeb default.css,1.1,1.2 index.html,1.4,1.5 index.txt,1.3,1.4
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: <ian...@us...> - 2003-07-05 04:39:10
|
Update of /cvsroot/sqlobject/SOWeb In directory sc8-pr-cvs1:/tmp/cvs-serv22271 Modified Files: default.css index.html index.txt Log Message: Update for 0.4 Index: default.css =================================================================== RCS file: /cvsroot/sqlobject/SOWeb/default.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** default.css 27 Feb 2003 09:06:11 -0000 1.1 --- default.css 5 Jul 2003 04:39:06 -0000 1.2 *************** *** 108,121 **** font-family: Helvetica, Arial, sans-serif; border: thin solid black; - background-color: #cccccc; -moz-border-radius: 8px; padding: 4px; } h1.title { text-align: center; background-color: #444499; color: #eeeeee; ! border: medium solid black; -moz-border-radius: 20px; } --- 108,137 ---- font-family: Helvetica, Arial, sans-serif; border: thin solid black; -moz-border-radius: 8px; padding: 4px; } + h1 { + background-color: #444499; + border: medium solid black; + color: #ffffff; + } + + h2 { + background-color: #666666; + color: #ffffff; + border: medium solid black; + } + + h3, h4, h5, h6 { + background-color: #cccccc; + color: #000000; + } + h1.title { text-align: center; background-color: #444499; color: #eeeeee; ! border: thick solid black; -moz-border-radius: 20px; } *************** *** 236,237 **** --- 252,274 ---- ul.auto-toc { list-style-type: none } + + // Highlighting: + + .function {color: #000077; font-weight: bold} + .keyword {color: #004444;} + .comment {color: #770000; font-style: italic} + .normal {color: #000000;} + .string {color: #006600;} + .symbol {color: #000000;} + + .htmltag {color: #000077;} + .htmlsymbol {color: #000000;} + .htmlnormal {color: #000000;} + .htmlcomment {color: #770000; font-style: italic} + .htmlstring {color: #006600;} + .htmlattr {color: #000000;} + + .stmlfunction {color: #000077; font-weight: bold} + .stmlattr {color: #000000;} + .stmlstring {color: #006600;} + .stmlexpr {color: #004444;} \ No newline at end of file Index: index.html =================================================================== RCS file: /cvsroot/sqlobject/SOWeb/index.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.html 8 Apr 2003 04:05:04 -0000 1.4 --- index.html 5 Jul 2003 04:39:06 -0000 1.5 *************** *** 51,59 **** class Person(SQLObject): ! _columns = [Col('firstName'), ! Col('middleInitial', default=None), ! Col('lastName')] </pre> ! <p>Here's the (MySQL) CREATE statement for that class:</p> <pre class="literal-block"> CREATE TABLE person ( --- 51,59 ---- class Person(SQLObject): ! firstName = StringCol(length=100) ! middleInitial = StringCol(length=1, default=None) ! lastName = StringCol(length=100) </pre> ! <p>Here's the (MySQL) <tt class="literal"><span class="pre">CREATE</span></tt> statement for that class:</p> <pre class="literal-block"> CREATE TABLE person ( *************** *** 61,69 **** first_name VARCHAR(100) NOT NULL, middle_initial CHAR(1), ! last_name VARCHAR(150) NOT NULL ); </pre> ! <p>Postgres works too with a slightly different CREATE statement and ! connection object, but it's otherwise identical.</p> <p>Here's how you'd use the object:</p> <pre class="literal-block"> --- 61,71 ---- first_name VARCHAR(100) NOT NULL, middle_initial CHAR(1), ! last_name VARCHAR(100) NOT NULL ); </pre> ! <p>SQLObject supports most database schemas that you already have, and ! can also issue the <tt class="literal"><span class="pre">CREATE</span></tt> statement for you. Postgres and SQLite are ! also supported, and SQLObject provides an abstraction layer that helps ! make your application much more portable between these databases.</p> <p>Here's how you'd use the object:</p> <pre class="literal-block"> *************** *** 85,90 **** <div class="section" id="community"> <h1><a class="toc-backref" href="#id10" name="community">Community</a></h1> ! <p>Well, it's just starting, but I'd recommend <a class="reference" href="http://lists.sourceforge.net/lists/listinfo/sqlobject-discuss">joining the mailing ! list</a> or visiting the <a class="reference" href="http://sourceforge.net/mailarchive/forum.php?forum=sqlobject-discuss">sqlobject-discuss archives</a>.</p> <p>If you are tracking changes, keeping up with CVS is helpful. To access CVS:</p> --- 87,91 ---- <div class="section" id="community"> <h1><a class="toc-backref" href="#id10" name="community">Community</a></h1> ! <p><a class="reference" href="http://lists.sourceforge.net/lists/listinfo/sqlobject-discuss">Join the mailing list</a> or visit the <a class="reference" href="http://sourceforge.net/mailarchive/forum.php?forum=sqlobject-discuss">sqlobject-discuss archives</a>.</p> <p>If you are tracking changes, keeping up with CVS is helpful. To access CVS:</p> *************** *** 102,116 **** patches. For simple bug fixes it's just as easy for me to get a line number and the fixed line -- submitting patches is more overhead than ! it's worth for small changes.</p> </div> <div class="section" id="download"> <h1><a class="toc-backref" href="#id12" name="download">Download</a></h1> ! <p><a class="reference" href="http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.3.tar.gz?download">SQLObject-0.3.tar.gz</a></p> ! <p><a class="reference" href="http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.3-1.noarch.rpm?download">SQLObject-0.3-1.noarch.rpm</a></p> ! <p><a class="reference" href="http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.3.win32.exe?download">SQLObject-0.3.win32.exe</a></p> </div> <div class="section" id="documentation"> <h1><a class="toc-backref" href="#id13" name="documentation">Documentation</a></h1> ! <p><a class="reference" href="docs/News.html">New in 0.3</a></p> <p><a class="reference" href="docs/SQLObject.html">SQLObject documentation</a></p> <p><a class="reference" href="docs/SQLBuilder.html">SQLBuilder documentation</a></p> --- 103,118 ---- patches. For simple bug fixes it's just as easy for me to get a line number and the fixed line -- submitting patches is more overhead than ! it's worth for small changes. But again, bug reports should go to the ! bug tracker, so that I don't lose anything.</p> </div> <div class="section" id="download"> <h1><a class="toc-backref" href="#id12" name="download">Download</a></h1> ! <p><a class="reference" href="http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.4.tar.gz?download">SQLObject-0.4.tar.gz</a></p> ! <p><a class="reference" href="http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.4-1.noarch.rpm?download">SQLObject-0.4-1.noarch.rpm</a></p> ! <p><a class="reference" href="http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.4.win32.exe?download">SQLObject-0.4.win32.exe</a></p> </div> <div class="section" id="documentation"> <h1><a class="toc-backref" href="#id13" name="documentation">Documentation</a></h1> ! <p><a class="reference" href="docs/News.html">New in 0.4</a></p> <p><a class="reference" href="docs/SQLObject.html">SQLObject documentation</a></p> <p><a class="reference" href="docs/SQLBuilder.html">SQLBuilder documentation</a></p> Index: index.txt =================================================================== RCS file: /cvsroot/sqlobject/SOWeb/index.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.txt 8 Apr 2003 04:05:04 -0000 1.3 --- index.txt 5 Jul 2003 04:39:06 -0000 1.4 *************** *** 38,46 **** class Person(SQLObject): ! _columns = [Col('firstName'), ! Col('middleInitial', default=None), ! Col('lastName')] ! Here's the (MySQL) CREATE statement for that class:: CREATE TABLE person ( --- 38,46 ---- class Person(SQLObject): ! firstName = StringCol(length=100) ! middleInitial = StringCol(length=1, default=None) ! lastName = StringCol(length=100) ! Here's the (MySQL) ``CREATE`` statement for that class:: CREATE TABLE person ( *************** *** 48,56 **** first_name VARCHAR(100) NOT NULL, middle_initial CHAR(1), ! last_name VARCHAR(150) NOT NULL ); ! Postgres works too with a slightly different CREATE statement and ! connection object, but it's otherwise identical. Here's how you'd use the object:: --- 48,58 ---- first_name VARCHAR(100) NOT NULL, middle_initial CHAR(1), ! last_name VARCHAR(100) NOT NULL ); ! SQLObject supports most database schemas that you already have, and ! can also issue the ``CREATE`` statement for you. Postgres and SQLite are ! also supported, and SQLObject provides an abstraction layer that helps ! make your application much more portable between these databases. Here's how you'd use the object:: *************** *** 73,78 **** ========= ! Well, it's just starting, but I'd recommend `joining the mailing ! list`__ or visiting the `sqlobject-discuss archives`_. .. __: http://lists.sourceforge.net/lists/listinfo/sqlobject-discuss --- 75,79 ---- ========= ! `Join the mailing list`__ or visit the `sqlobject-discuss archives`_. .. __: http://lists.sourceforge.net/lists/listinfo/sqlobject-discuss *************** *** 100,104 **** patches. For simple bug fixes it's just as easy for me to get a line number and the fixed line -- submitting patches is more overhead than ! it's worth for small changes. .. _SourceForge bug tracker: http://sourceforge.net/tracker/?atid=540672&group_id=74338&func=browse --- 101,106 ---- patches. For simple bug fixes it's just as easy for me to get a line number and the fixed line -- submitting patches is more overhead than ! it's worth for small changes. But again, bug reports should go to the ! bug tracker, so that I don't lose anything. .. _SourceForge bug tracker: http://sourceforge.net/tracker/?atid=540672&group_id=74338&func=browse *************** *** 107,126 **** ======== ! SQLObject-0.3.tar.gz__ ! __ http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.3.tar.gz?download ! SQLObject-0.3-1.noarch.rpm__ ! __ http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.3-1.noarch.rpm?download ! SQLObject-0.3.win32.exe__ ! __ http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.3.win32.exe?download Documentation ============= ! `New in 0.3`__ __ docs/News.html --- 109,128 ---- ======== ! SQLObject-0.4.tar.gz__ ! __ http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.4.tar.gz?download ! SQLObject-0.4-1.noarch.rpm__ ! __ http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.4-1.noarch.rpm?download ! SQLObject-0.4.win32.exe__ ! __ http://prdownloads.sourceforge.net/sqlobject/SQLObject-0.4.win32.exe?download Documentation ============= ! `New in 0.4`__ __ docs/News.html |