<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://limb.nohau.ru/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://limb.nohau.ru/feed.php">
        <title>Фремворк Limb - limb3_2007_3:en:tutorials:basic</title>
        <description></description>
        <link>https://limb.nohau.ru/</link>
        <image rdf:resource="https://limb.nohau.ru/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-11-10T16:34:16+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step1&amp;rev=1289372570&amp;do=diff"/>
                <rdf:li rdf:resource="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step2&amp;rev=1289372570&amp;do=diff"/>
                <rdf:li rdf:resource="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step3&amp;rev=1289372570&amp;do=diff"/>
                <rdf:li rdf:resource="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step4&amp;rev=1289372570&amp;do=diff"/>
                <rdf:li rdf:resource="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step5&amp;rev=1289372570&amp;do=diff"/>
                <rdf:li rdf:resource="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step6&amp;rev=1289372570&amp;do=diff"/>
                <rdf:li rdf:resource="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step7&amp;rev=1289372570&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://limb.nohau.ru/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Фремворк Limb</title>
        <link>https://limb.nohau.ru/</link>
        <url>https://limb.nohau.ru/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step1&amp;rev=1289372570&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-11-10T07:02:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Step1. Creating a skeleton of your application and making it run</title>
        <link>https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step1&amp;rev=1289372570&amp;do=diff</link>
        <description>Step1. Creating a skeleton of your application and making it run

Project file structure

If you installed Limb3 via PEAR channel go to ~pear/limb/web_app and copy the contents of ~pear/limb/web_app/skel folder into your project directory (say /var/dev/crud/). You can also follow the instructions on</description>
    </item>
    <item rdf:about="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step2&amp;rev=1289372570&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-11-10T07:02:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Step2. Displaying newsline using WACT-template</title>
        <link>https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step2&amp;rev=1289372570&amp;do=diff</link>
        <description>Step2. Displaying newsline using WACT-template

Creating database table for news and filling it with data

Create an empty database according to settings in ~crud/settings/db.conf.php file if not yet. Our project requires just a single table «news»</description>
    </item>
    <item rdf:about="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step3&amp;rev=1289372570&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-11-10T07:02:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Step3. Adding forms to allow news creating and editing. Data validation. News removal</title>
        <link>https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step3&amp;rev=1289372570&amp;do=diff</link>
        <description>Step3. Adding forms to allow news creating and editing. Data validation. News removal

Adding news

news/create.html template

Let's add new template create.html into crud/template/news/ folder with the following contents:


&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;Limb3 tutorial&lt;/title&gt;
  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot; &gt;

&lt;h1&gt;Create news&lt;/h1&gt;

&lt;form id='news_form' name='news_form' method='post' runat='server'&gt;

&lt;label for=&quot;titl…</description>
    </item>
    <item rdf:about="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step4&amp;rev=1289372570&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-11-10T07:02:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Step4. Templates optimization. Adding news pagination</title>
        <link>https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step4&amp;rev=1289372570&amp;do=diff</link>
        <description>Step4. Templates optimization. Adding news pagination

Extracting form_fields.html and form_errors.html templates

If you noticed our templates news/create.html and news/edit.html have a lot of duplication. Let's use &lt;core:include&gt; tag to extract some common template code into separate files. &lt;core:include&gt; works almost just like php include() function.</description>
    </item>
    <item rdf:about="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step5&amp;rev=1289372570&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-11-10T07:02:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Step5. Adding more functionality: news detail page, 5 latest news on the main page, sorting etc.</title>
        <link>https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step5&amp;rev=1289372570&amp;do=diff</link>
        <description>Step5. Adding more functionality: news detail page, 5 latest news on the main page, sorting etc.

Sorting news

Let's suppose we need to sort news by «date» field. This can be accomplished in many different ways. One possible way is to set sorting properties by</description>
    </item>
    <item rdf:about="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step6&amp;rev=1289372570&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-11-10T07:02:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Step6. Creating newsline RSS-feed</title>
        <link>https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step6&amp;rev=1289372570&amp;do=diff</link>
        <description>Step6. Creating newsline RSS-feed

RSS - is an essential feature of any frequently updated web project. At this page we will show you how to create RSS feeds with Limb3.

Let's suppose we need to create RSS-feed with the latest news. To do so we'll create</description>
    </item>
    <item rdf:about="https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step7&amp;rev=1289372570&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-11-10T07:02:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Step7. Further readings</title>
        <link>https://limb.nohau.ru/doku.php?id=limb3_2007_3:en:tutorials:basic:step7&amp;rev=1289372570&amp;do=diff</link>
        <description>Step7. Further readings

	*  ACTIVE_RECORD package - CRUD tutorial simply can't give you the full idea of the capabilities of Limb3 ACTIVE_RECORD package. This section is aimed to fill this gap.
	*  WACT package - WACT section should help you understand the principles of how WACT template engine works. This section is essential for anyone who would like to use WACT effectively.</description>
    </item>
</rdf:RDF>
