<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect1 id="learning.quickstart.create-project">
    <title>Create Your Project</title>

    <para>
        In order to create your project, you must first download and extract Zend Framework.
    </para>

    <sect2 id="learning.quickstart.create-project.install-zf">
        <title>Install Zend Framework</title>

        <para>
            The easiest way to get Zend Framework along with a complete <acronym>PHP</acronym> stack
            is by installing <ulink url="http://www.zend.com/en/products/server-ce/downloads">Zend
                Server</ulink>. Zend Server has native installers for Mac OSX, Windows, Fedora Core,
            and Ubuntu, as well as a universal installation package compatible with most Linux
            distributions.
        </para>

        <para>
            After you have installed Zend Server, the Framework files may be found
            under <filename>/usr/local/zend/share/ZendFramework</filename> on Mac OSX and Linux,
            and <filename>C:\Program Files\Zend\ZendServer\share\ZendFramework</filename> on
            Windows. The <constant>include_path</constant> will already be configured to include
            Zend Framework.
        </para>

        <para>
            Alternately, you can <ulink url="http://framework.zend.com/download/latest">Download the
            latest version of Zend Framework</ulink> and extract the contents; make a note of where
            you have done so.
        </para>

        <para>
            Optionally, you can add the path to the <filename>library/</filename> subdirectory of
            the archive to your <filename>php.ini</filename>'s <constant>include_path</constant>
            setting.
        </para>

        <para>
            That's it! Zend Framework is now installed and ready to use.
        </para>
    </sect2>

    <sect2 id="learning.quickstart.create-project.create-project">
        <title>Create Your Project</title>

        <note>
            <title>zf Command Line Tool</title>

            <para>
                In your Zend Framework installation is a <filename>bin/</filename> subdirectory,
                containing the scripts <filename>zf.sh</filename> and <filename>zf.bat</filename>
                for Unix-based and Windows-based users, respectively. Make a note of the absolute
                path to this script.
            </para>

            <para>
                Wherever you see references to the command <command>zf</command>, please substitute
                the absolute path to the script. On Unix-like systems, you may want to use your
                shell's alias functionality: <command>alias
                    zf.sh=path/to/ZendFramework/bin/zf.sh</command>.
            </para>

            <para>
                If you have problems setting up the <command>zf</command> command-line tool, please
                refer to <link linkend="zend.tool.framework.clitool.setup-general">the
                    manual</link>.
            </para>
        </note>

        <para>
            Open a terminal (in Windows, <command>Start -> Run</command>, and then use
            <command>cmd</command>). Navigate to a directory where you would like to start a
            project. Then, use the path to the appropriate script, and execute one of the following:
        </para>

        <programlisting language="shell"><![CDATA[
% zf create project quickstart
]]></programlisting>

        <para>
            Running this command will create your basic site structure, including your initial
            controllers and views. The tree looks like the following:
        </para>

        <programlisting language="text"><![CDATA[
quickstart<commit_msg>ZF-8010: fixed link to Zend_Tool docs<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect1 id="learning.quickstart.create-project">
    <title>Create Your Project</title>

    <para>
        In order to create your project, you must first download and extract Zend Framework.
    </para>

    <sect2 id="learning.quickstart.create-project.install-zf">
        <title>Install Zend Framework</title>

        <para>
            The easiest way to get Zend Framework along with a complete <acronym>PHP</acronym> stack
            is by installing <ulink url="http://www.zend.com/en/products/server-ce/downloads">Zend
                Server</ulink>. Zend Server has native installers for Mac OSX, Windows, Fedora Core,
            and Ubuntu, as well as a universal installation package compatible with most Linux
            distributions.
        </para>

        <para>
            After you have installed Zend Server, the Framework files may be found
            under <filename>/usr/local/zend/share/ZendFramework</filename> on Mac OSX and Linux,
            and <filename>C:\Program Files\Zend\ZendServer\share\ZendFramework</filename> on
            Windows. The <constant>include_path</constant> will already be configured to include
            Zend Framework.
        </para>

        <para>
            Alternately, you can <ulink url="http://framework.zend.com/download/latest">Download the
            latest version of Zend Framework</ulink> and extract the contents; make a note of where
            you have done so.
        </para>

        <para>
            Optionally, you can add the path to the <filename>library/</filename> subdirectory of
            the archive to your <filename>php.ini</filename>'s <constant>include_path</constant>
            setting.
        </para>

        <para>
            That's it! Zend Framework is now installed and ready to use.
        </para>
    </sect2>

    <sect2 id="learning.quickstart.create-project.create-project">
        <title>Create Your Project</title>

        <note>
            <title>zf Command Line Tool</title>

            <para>
                In your Zend Framework installation is a <filename>bin/</filename> subdirectory,
                containing the scripts <filename>zf.sh</filename> and <filename>zf.bat</filename>
                for Unix-based and Windows-based users, respectively. Make a note of the absolute
                path to this script.
            </para>

            <para>
                Wherever you see references to the command <command>zf</command>, please substitute
                the absolute path to the script. On Unix-like systems, you may want to use your
                shell's alias functionality: <command>alias
                    zf.sh=path/to/ZendFramework/bin/zf.sh</command>.
            </para>

            <para>
                If you have problems setting up the <command>zf</command> command-line tool, please
                refer to <link linkend="zend.tool.framework.clitool">the
                    manual</link>.
            </para>
        </note>

        <para>
            Open a terminal (in Windows, <command>Start -> Run</command>, and then use
            <command>cmd</command>). Navigate to a directory where you would like to start a
            project. Then, use the path to the appropriate script, and execute one of the following:
        </para>

        <programlisting language="shell"><![CDATA[
% zf create project quickstart
]]></programlisting>

        <para>
            Running this command will create your basic site structure, including your initial
            controllers and views. The tree looks like the following:
        </para>

        <programlisting language="text"><![CDATA[
quickstart
{'fraction_non_alphanumeric': 0.09355179704016914, 'fraction_numerical': 0.0023784355179704017, 'mean_word_length': 2.1393612608875987, 'pattern_counts': {'":': 0, '<': 161, '<?xml version=': 2, '>': 161, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5628058', 'n_tokens_mistral': 1991, 'n_tokens_neox': 1874, 'n_words': 682}