25 Nov
Posted by Ganesh H S , Bangalore, India as zend framework
In the previous post about setting project environment setting http://ganeshhs.com/php/php-configuring-project-environment-using-ini-file , zend config plays a vital role in initializing the environment variables and by default, configuration data made available through Zend_Config are read-only.
Lets write the ini configuration file application/config.ini
[staging]
db.adapter = PDO_MYSQL
db.config.host = localhost
db.config.username = mysql_user
db.config.password […]
25 Nov
Posted by Ganesh H S , Bangalore, India as zend framework
Zend loader is much similar to require_once, best usage is if we have to load a file based on the variable value.
<?php
require_once “Zend/Loader.php”;
Zend_Loader::loadClass(’Zend_Session’);
Zend_Session::start();
?>
The above example, illustrates loading the zend session class and starting the session.
Here i am not going to discuss complete usage of zend loader, i will be explaining zend framework concepts to quick […]
22 Nov
Posted by Ganesh H S , Bangalore, India as zend framework
In this zend framework tutorial, we will learn how to create the file/directory layout when developing any project using zend framework.
application - business logic files, no access for website users
library […]
22 Nov
Posted by Ganesh H S , Bangalore, India as zend framework
To completely understand the bootstrap files, you need to read all the tutorials of zend framework. I will cover all this topics in upcoming tutorials.
Lets start writing the bootstrap file public/index.php -
<?php
/**
* Bootstrap file for zend framework
*
* Set the environment settings of zend framework
*
* PHP versions 5.1.4+
*
*
* @category zend framework tutorials
* @author Ganesh H S […]
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jul | ||||||
| 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 |