On Tue, Feb 3, 2009 at 4:59 AM, howard chen <[email protected]> wrote:
> Hello,
>
> I have some questions related to the offical ZFW QuickStart Guide
> (http://framework.zend.com/docs/quickstart)
>
> 1. The tutorial encourage the use of "APPLICATION_ENVIRONMENT", but
> where should I define this variable? in index.php or bootstrap.php?

http://framework.zend.com/docs/quickstart/create-a-bootstrap-file

:-)

> 2. The example app use Zend_Config_Ini to read ini file every request,
> will it be slow in real apps? (since parsing take time)

Yes, but keep in mind that you will only notice it when you get a lot
of traffic. And you can always employ Zend_Cache later on. But I
wouldn't fix this now since I gather it's your first ZF app. Just make
a note (to yourself) and keep it in mind for later.

Cheers,
Till

Reply via email to