Logo - Rent A Flat Brought to you by
PHP NetBeans Dev Team!

About the Project

Welcome to Rent-a-Flat.

This is sample project created to demonstrate Zend Framework 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.


How To Make This Work

  1. Import database. You can find SQL dump in /database folder in project sources.
  2. Set database name and access in /application/config/application.ini. You need to change following directives:

    resources.db.params.username = "root"
    resources.db.params.password = "root"
    resources.db.params.dbname = "rentaflat"

  3. Get Zend Framework. You need to download Zend Framework from zend download page. Version 1.10.8 was used to develop this sample.
  4. Copy Zend Framework files to /library/Zend folder in project sources. So the folder will look like this:

    /library
      └── Zend
        ├── Acl
        ├── Acl.php
        ├── Amf
        ├── Application
        ├── Application.php
        ├── Auth
        ├── Auth.php
        ├── Barcode
        ├── Barcode.php
        ├── Cache
        ├── Cache.php
        ├── Captcha
        ├── CodeGenerator
        ├── Config
        ├── Config.php
        ├── Console
        ├── Controller
        ├── Crypt
        ├── Crypt.php
        ├── Currency
        ├── Currency.php
        ├── Datev
        ├── Date.php
        ├── Db
        ├── Db.php
        ├── Debug.php
        ├── Dojo
        ├── Dojo.php
        ├── Dom
        ├── Exception.php
        ├── Feed
        ├── Feed.php
        ├── File
        ├── Filter
        ├── Filter.php
        ├── Form
        ├── Form.php
        ├── Gdata
        ├── Gdata.php
        ├── Http
        ├── InfoCard
        ├── InfoCard.php
        ├── Json
        ├── Json.php
        ├── Layout
        ├── Layout.php
        ├── Ldap
        ├── Ldap.php
        ├── Loader
        ├── Loader.php
        ├── Locale
        ├── Locale.php
        ├── Log
        ├── Log.php
        ├── Mail
        ├── Mail.php
        ├── Markup
        ├── Markup.php
        ├── Measure
        ├── Memory
        ├── Memory.php
        ├── Mime
        ├── Mime.php
        ├── Navigation
        ├── Navigation.php
        ├── Oauth
        ├── Oauth.php
        ├── OpenId
        ├── OpenId.php
        ├── Paginator
        ├── Paginator.php
        ├── Pdf
        ├── Pdf.php
        ├── ProgressBar
        ├── ProgressBar.php
        ├── Queue
        ├── Queue.php
        ├── Reflection
        ├── Registry.php
        ├── Rest
        ├── Search
        ├── Serializer
        ├── Serializer.php
        ├── Server
        ├── Service
        ├── Session
        ├── Session.php
        ├── Soap
        ├── Tag
        ├── Test
        ├── Text
        ├── TimeSync
        ├── TimeSync.php
        ├── Tool
        ├── Translate
        ├── Translate.php
        ├── Uri
        ├── Uri.php
        ├── Validate
        ├── Validate.php
        ├── Version.php
        ├── View
        ├── View.php
        ├── Wildfire
        └── XmlRpc


  5. Configure your apache path as following:

    DocumentRoot "/path/to/project/public"
    <Directory />
       Options FollowSymLinks
       AllowOverride All
       Order deny,allow
       Allow from all
    </Directory>

    <Directory "/path/to/project/public/">
       Options Indexes FollowSymLinks MultiViews
       AllowOverride All
    </Directory>

  6. Now you should be able to access sample page on your localhost
  7. Have fun! Don't forget to try all NetBeans features for Zend Framework and many other great things NetBeans can do!.
  8. Finally, I'd like to ask you to help us make NetBeans better because better NetBeans makes your life easier! :)


Zend Framework support in NetBeans IDE

If you want to use implemented Zend support than you need to download zend framework, provide NetBeans with a path to it and you need to provide path to PHP interpreter if necessary.

Check out information on this blog .


Wish you best luck!
Regards,


Filip Zamboj (fzamboj [at] netbeans [dot] org)