If you want to use ZF components without committing yourself to full-blown MVC (ie., with mod_rewrite routing requests to index.php), then just do what you usually do, make sure ZF is in your include path, and load the ZF classes as needed. (Same as you would something like PEAR, perhaps even easier).
However -- forgive me for psychologizing, but it sounds like you're a little intimidated about jumping in. Don't be. Go for it.
On Tue, May 13, 2008 at 4:13 AM, Rishi Daryanani <
rishijd@...> wrote:
Thanks so much for your replies Ben and Keith! In that
case, could someone guide me how to use ZF as a
component library as opposed to something the website
completely depends on? For example
- Since my .htaccess file is as follows,
RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
..and the index.php file includes a "bootstrap.php"
file which is in the "application" folder, which
includes the Zend library. For the code of
bootstrap.php, please see see:
http://framework.zend.com/wiki/display/ZFDEV/Official+ZF+QuickStart
(the code is near the beginning of this tutorial)
<snip/>
--
David Mintz
http://davidmintz.org/The subtle source is clear and bright
The tributary streams flow through the darkness