blob: dfe956459596e661acfa2d74ce6d1957a59b8b4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Overview - Zend Framework Manual</title>
</head>
<body>
<table width="100%">
<tr valign="top">
<td width="85%">
<table width="100%">
<tr>
<td width="25%" style="text-align: left;">
<a href="project-structure.html">Recommended Project Structure for Zend Framework MVC Applications</a>
</td>
<td width="50%" style="text-align: center;">
<div class="up"><span class="up"><a href="project-structure.html">Recommended Project Structure for Zend Framework MVC Applications</a></span><br />
<span class="home"><a href="manual.html">Programmer's Reference Guide</a></span></div>
</td>
<td width="25%" style="text-align: right;">
<div class="next" style="text-align: right; float: right;"><a href="project-structure.project.html">Recommended Project Directory Structure</a></div>
</td>
</tr>
</table>
<hr />
<div id="project-structure.overview" class="section"><div class="info"><h1 class="title">Overview</h1></div>
<p class="para">
Many developers seek guidance on the best project structure for a Zend Framework project
in a relatively flexible environment. A "flexible" environment is one in which the
developer can manipulate their file systems and web server configurations as needed to
achieve the most ideal project structure to run and secure their application. The
default project structure will assume that the developer has such flexibility at their
disposal.
</p>
<p class="para">
The following directory structure is designed to be maximally extensible for complex
projects, while providing a simple subset of folder and files for project with simpler
requirements. This structure also works without alteration for both modular and
non-modular Zend Framework applications. The <var class="filename">.htaccess</var> files
require <acronym class="acronym">URL</acronym> rewrite functionality in the web server as described in
the <a href="project-structure.rewrite.html" class="link">Rewrite Configuration Guide</a>, also
included in this appendix.
</p>
<p class="para">
It is not the intention that this project structure will support all possible Zend
Framework project requirements. The default project profile used by
<span class="classname">Zend_Tool</span> reflect this project structure, but applications with
requirements not supported by this structure should use a custom project profile.
</p>
</div>
<hr />
<table width="100%">
<tr>
<td width="25%" style="text-align: left;">
<a href="project-structure.html">Recommended Project Structure for Zend Framework MVC Applications</a>
</td>
<td width="50%" style="text-align: center;">
<div class="up"><span class="up"><a href="project-structure.html">Recommended Project Structure for Zend Framework MVC Applications</a></span><br />
<span class="home"><a href="manual.html">Programmer's Reference Guide</a></span></div>
</td>
<td width="25%" style="text-align: right;">
<div class="next" style="text-align: right; float: right;"><a href="project-structure.project.html">Recommended Project Directory Structure</a></div>
</td>
</tr>
</table>
</td>
<td style="font-size: smaller;" width="15%"> <style type="text/css">
#leftbar {
float: left;
width: 186px;
padding: 5px;
font-size: smaller;
}
ul.toc {
margin: 0px 5px 5px 5px;
padding: 0px;
}
ul.toc li {
font-size: 85%;
margin: 1px 0 1px 1px;
padding: 1px 0 1px 11px;
list-style-type: none;
background-repeat: no-repeat;
background-position: center left;
}
ul.toc li.header {
font-size: 115%;
padding: 5px 0px 5px 11px;
border-bottom: 1px solid #cccccc;
margin-bottom: 5px;
}
ul.toc li.active {
font-weight: bold;
}
ul.toc li a {
text-decoration: none;
}
ul.toc li a:hover {
text-decoration: underline;
}
</style>
<ul class="toc">
<li class="header home"><a href="manual.html">Programmer's Reference Guide</a></li>
<li class="header up"><a href="manual.html">Programmer's Reference Guide</a></li>
<li class="header up"><a href="project-structure.html">Recommended Project Structure for Zend Framework MVC Applications</a></li>
<li class="active"><a href="project-structure.overview.html">Overview</a></li>
<li><a href="project-structure.project.html">Recommended Project Directory Structure</a></li>
<li><a href="project-structure.filesystem.html">Module Structure</a></li>
<li><a href="project-structure.rewrite.html">Rewrite Configuration Guide</a></li>
</ul>
</td>
</tr>
</table>
</body>
</html>
|