Freitag, 15. Juni 2012

Zend Framework Books




Manning.Zend.Framework.in.Action.Dec.2008
------------------------------------
434 Pages
Book Example: Places
This is an excellent book, especially as it covers only Zend Framework 1.5, which is nice when you are starting to learn for the Zend Framework Certification.

Apress - Beginning Zend Framework (2009)
----------------------------------
424 Pages
Artist Video Database
Illustrated ussing sequence diagrams
Download Example Code: www.apress.com
ISBN: 9781430218258
Website: http://www.apress.com/9781430218258
Example Code: http://www.apress.com/downloadable/download/sample/sample_id/354/

Easy PHP Websites with the Zend Framework May 2009
------------------------------------------
342 Pages
Website: http://www.easyphpwebsites.com
Example Code: http://www.wjgilmore.com/books/read/easy_php_websites_with_the_zend_framework/code/
first 5 chapters introduce php, mysql, zf
Then Entry level, Db, Maps
Then Amazon, Facebook, Paypal ..

php_architect's Guide to Programming with Zend Framework
-----------------------------------------------
222 Pages
ZF introduction

Apress - Pro Zend Framework Techniques (09-2009) (ATTiCA) / Ch.7
-------------------------------------------------------
267 Pages
Book Example: CMS
Looks good too, features self referencing menus.

McGraw.Hill.Zend.Framework.A.Beginners.Guide.Jul.2010 / Ch.11
---------------------------------------------------
464 Pages
Book Example: Square
Example Code: http://www.zf-beginners-guide.com
Website: http://www.zf-beginners-guide.com/book.html
Outstanding, includes breadcrumbs navigation

Zend Framework 1.8 Web Application Development September 2009 / Ch.5
-------------------------------------------------------------
376 Pages
Navigation topic spread over ch 5 & others
Book Example: Shop
Example Code: http://www.packtpub.com/files/code/4220_Code.zip

Addison.Wesley.Design.Patterns.Elements.of.Reusable.Object-Oriented.Software.Oct.1994
-------------------------------------------------------------
This makes it easier to understand concepts and patterns behind Zend Framework.

Sonntag, 22. April 2012

Installing a Zend Framework application on 000webhost

All you have to do is rename the /public/ directory to /public_html/ so that you can keep the directory structure.
Then upload the other directories to the root folder on your account.

Zend Framework on 000webhost: library-path in index and bootstrap


// it seems absolute path is needed

// index.php:
ini_set('include_path', ini_get('include_path').':/home/a*******/library/:');

// bootstrap:
// it seems ROOT_DIR or $rootDir = dirname(dirname(__FILE__));
// not recognized
// Use absolute path instead


//            . PATH_SEPARATOR . ROOT_DIR . '/library/'
//            . PATH_SEPARATOR . ROOT_DIR . '/application/models/'
            . PATH_SEPARATOR . '/home/a********/library/'
            . PATH_SEPARATOR . '/home/a ******** /application/models/'

.htaccess for Zend Framework on 000webhost


RewriteEngine On
RewriteBase /

# Don't apply to URLs that go to existing files or folders:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

# redirect everything to index:
RewriteRule .* index.php



# Security: Don't allow browsing of directories (obsolete on 000webhost)
#Options -Indexes