About the Project
Welcome to Rent-a-Flat.
This is sample project created to demonstrate
Zend Framework (version 1) support in NetBeans IDE. Don't worry to dig into code to
see how it works and how you can make your development easier with Zend and NetBeans!
Let us know what you think on our mailing list
users@php.netbeans.org
Let us know if you find any mistake or place for improvement.
Zend Framework (version 1) support in NetBeans IDE
If you want to use Zend framework in NetBeans than you need to
download
Zend framework (version 1), put it on your PHP
include_path and tell it to NetBeans (
Tools > Options > PHP).
How To Make This Work
- Add new VirtualHost to your Apache web server
(rentaflat must added to your hosts file):
# Be sure to only have this line once in your configuration
NameVirtualHost 127.0.0.1:8080
# This is the configuration for your project
Listen 127.0.0.1:8080
<VirtualHost *:80>
ServerName rentaflat
DocumentRoot "/path/to/RentAFlat-Zend/public"
<Directory "/path/to/RentAFlat-Zend/public">
AllowOverride All
Allow from all
</Directory>
SetEnv APPLICATION_ENV "development"
ErrorLog ${APACHE_LOG_DIR}/rentaflat-error.log
CustomLog ${APACHE_LOG_DIR}/rentaflat-access.log combined
</VirtualHost>
- Import database. You can find SQL dump in /database folder in project sources.
- Set database name and access in /application/config/application.ini. You need to change following
directives:
resources.db.params.username = "rentaflat"
resources.db.params.password = "rentaflat"
resources.db.params.dbname = "rentaflat"
- Now you should be able to access sample page on your localhost http://rentaflat/
- Have fun! Don't forget to try all NetBeans features for Zend Framework (version 1)
here
or
here
or
watch our screencast
and
many other great things NetBeans can do!
- Finally, we would like to ask you
to help us
make NetBeans better because better NetBeans makes your life easier! :)
Wish you best luck!