-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME.txt
77 lines (52 loc) · 2.17 KB
/
README.txt
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
ExtZF - Sample project how to integrate ZF, Ext JS 4, Ext.Direct and Doctrine 2
===============================================================================
License: MIT license
Author: Aron Homberg <[email protected]>
Press: There is a news article released in the german PHP-Magazin related to
this sample project code. (Release: 09/2011)
Thirdpary code
==============
Portions of the code contained in the /thirdparty, /library/Doctrine and
/library/Zend may be released under different open source licenses such as
GPLv3, LGPL or Apache License.
About
=====
This sample projects shows how to integrate Zend Framework nicely
with Ext JS 4 and Doctrine 2 via Ext.Direct combined
with a smart Ant-driven build process (This part can be optimized).
What do you need to run this project?
- An installation of Ant, JDK
- An installation of PHP 5.3+
- A running MySQL 5+ daemon
- A running webserver, best-case Apache 2
An Apache 2 orientated vHost configuration for this project is provided below:
Setup
=====
0. Create a vHost in for your webserver system (For Apache 2 see below!)
1. Change the values in /application/config/*.ini according to your system
2. Create a database called "extzf" in your MySQL instance
3. Run "ant init" in the root folder
Nice to know:
x If you've changed some code, run "ant rebuild" or simply "ant" to
generate a new optimized release out of the changed sources
x JavaScript and CSS debug mode can be enabled by loading the page by
appending the URL GET-parameter "?debug=true"
Sample vHost config
===================
Notice: The "release" directory is correct. It will be created by the build process!
Listen localhost:780
<VirtualHost localhost:780>
ServerAdmin webmaster@localhost
DocumentRoot "E:\art-zf\release\public"
<Directory "E:\art-zf\release\public">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog "E:\art-zf\log\apacheerror.log"
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog "E:\art-zf\log\apacheaccess.log" combined
</VirtualHost>