ZF components are dependent on each other, Some have more dependencies then
others. There is a section in the manual that describes those dependencies
on a component bases.
On Wed, Jun 3, 2009 at 9:49 AM, Mary Nicole Hicks <
webmas...@marynicolehicks.com> wrote:
>
> I like Zf, but I would like to
I like Zf, but I would like to use only some parts of it. I would like to use
ZF without having Zend_Registry, Zend_Locale and Zend_Config included into
PHP (eg through require_once). Can someone explain to me why ZF is so
reliant on Zend_Registry, Zend_Locale and Zend_Config?
I have been followi
You need to 'find' the page within your navigation container first and
add the pages to that instead of the parent container.
Try using
$parisPage = $navigation->findOneBy('controller','paris');
$parisPage->addPage($myNewPage);
On 03/06/2009, at 3:39 PM, Jonathan Maron wrote:
How is it possi
How is it possible to add new navigation pages at a SPECIFIC position
in Zend_Navigation_Container?
For example, in my bootstrap, I define:
/contact/france/paris/ (/module/controller/action)
In Contact_FranceController::parisAction() I need to get names of
workers from a database and add them to
Hello,
We are trying to change the order in which view scripts are searched in the
filesystem and experiencing some difficulties. We generally want to keep all
our View scripts under the same directory like:
APPLICATION_PATH . '/design/views/modulename/views/scripts/'
and if it is not there, d
ignace wrote:
>
> Why can't i have a Bootstrap in my default module? The code says:
>
> if ($module === $default) {
> continue;
> }
>
Hi,
I think that's because your default module actually 'is' your application.
You may use your application Bootstrap instead.
--
View this message in
On Tue, Jun 2, 2009 at 3:09 PM, Jurian Sluiman
wrote:
> Op Tuesday 02 June 2009 21:05:58 schreef Matthew Weier O'Phinney:
> > -- David Mintz wrote
> >
> > (on Tuesday, 02 June 2009, 02:31 PM -0400):
> > > On Tue, Jun 2, 2009 at 12:15 PM, Matthew Weier O'Phinney
> > > wrote:
> > > In case you hav
Why can't i have a Bootstrap in my default module? The code says:
if ($module === $default) {
continue;
}
--
View this message in context:
http://www.nabble.com/Zend_Application_Module_Bootstrap---bootstrapping-the-default-module-tp23838994p23838994.html
Sent from the Zend Framework mailing
Op Tuesday 02 June 2009 21:05:58 schreef Matthew Weier O'Phinney:
> -- David Mintz wrote
>
> (on Tuesday, 02 June 2009, 02:31 PM -0400):
> > On Tue, Jun 2, 2009 at 12:15 PM, Matthew Weier O'Phinney
> > wrote:
> > In case you haven't had a chance to explore ZF 1.8 yet, Ralph
> > Schindler and
Been using zf since 1.7.2 and recently tried the later 1.8.2. It throws
an error using the following code:
require_once 'Zend/Loader/Autoloader.php';
$loader = Zend_Loader_Autoloader::getInstance();
$service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME;
try
{
-- David Mintz wrote
(on Tuesday, 02 June 2009, 02:31 PM -0400):
> On Tue, Jun 2, 2009 at 12:15 PM, Matthew Weier O'Phinney
> wrote:
> In case you haven't had a chance to explore ZF 1.8 yet, Ralph Schindler
> and I will be doing a webinar tomorrow:
>
>http://short.ie/zf18webinar
-- Jurian Sluiman wrote
(on Tuesday, 02 June 2009, 08:23 PM +0200):
> Op Tuesday 02 June 2009 18:15:22 schreef Matthew Weier O'Phinney:
> > In case you haven't had a chance to explore ZF 1.8 yet, Ralph Schindler
> > and I will be doing a webinar tomorrow:
> >
> > http://short.ie/zf18webinar
> >
>
On Tue, Jun 2, 2009 at 12:15 PM, Matthew Weier O'Phinney
wrote:
> Hey, all --
>
> In case you haven't had a chance to explore ZF 1.8 yet, Ralph Schindler
> and I will be doing a webinar tomorrow:
>
>http://short.ie/zf18webinar
>
>
A quick dumb question about this: where they ask you to check
Op Tuesday 02 June 2009 18:15:22 schreef Matthew Weier O'Phinney:
> Hey, all --
>
> In case you haven't had a chance to explore ZF 1.8 yet, Ralph Schindler
> and I will be doing a webinar tomorrow:
>
> http://short.ie/zf18webinar
>
> Please come join us!
Hi Matthew,
It looks pretty good, reall
Hi,
Quite new to Zend and I cannot get a Hello World script to work. As far as
I can tell I have set up the directory structure correctly and I am
including the Library folder correctly. When trying to access the test site
I get an exception:
Fatal error: Uncaught exception 'Zend_Controller_Di
Rob Allen-3 wrote:
>
>
> You can create an _initConfig() method in your Bootstrap class that
> looks like this:
>
> protected function _initConfig()
> {
> $config = new Zend_Config($this->getOptions());
> Zend_Registry::set('config', $config);
> }
>
>
> Re
Hey, all --
In case you haven't had a chance to explore ZF 1.8 yet, Ralph Schindler
and I will be doing a webinar tomorrow:
http://short.ie/zf18webinar
Please come join us!
--
Matthew Weier O'Phinney
Project Lead| matt...@zend.com
Zend Framework | http://framework.zend
I have managed to get my modules working. I had a variety of problems, the
biggest was I had no error controller (I was using 1.7PR) so every exception
I had was a controller error that did not say which controller it was
looking for :(
monk.e.boy
--
View this message in context:
http://www.nab
Sure, well-written & optimised compiled code is going to be faster than
well-written & optimised interpreted code in theory, but for a trivial
application like this the difference should be almost unnoticeable running
over a local network. For CPU-limited apps, this would be a real issue - I
susp
Well, which do you think is going to be faster? Compiled C++ or interpreted
PHP (querying MySQL)?
http://en.wikipedia.org/wiki/Compiled_language
http://en.wikipedia.org/wiki/Interpreted_language
-Matt
On Tue, Jun 2, 2009 at 5:26 AM, iceangel89 wrote:
>
> i know this maybe a wrong forum to pos
Do you have an opcode cache in place? It dramatically increases performance.
Since this is Windows, try the free version of Zend Server. My Windows setup
with Zend Optimizer+ is much faster than my Ubuntu setup (on the same
machine) with APC and FastCGI. It will probably be even faster if you use
I
how do u do auditing for DB modifications? like in a DB table with alot of
fields i want to know how changed which fields when and from what value to
what value.
i guess to do this i need to know if the field has been updated but how do i
do this efficiently? or how is auditing (audit trails) do
-- iceangel89 wrote
(on Tuesday, 02 June 2009, 05:18 AM -0700):
>
> sometimes when exception happen, i would like more info ... like when DB
> queries fail ... the stack trace don't seem to helpful to me. i think the
> full SQL that failed shld be outputted ... don't u think?
No, actually. Exce
First you can profile everything using the DB profiler. Second you can look
in the stack trace for the parameters if you have:
request->getParams()) ?>
in your error view script you will see the Query that failed.
On Tue, Jun 2, 2009 at 3:18 PM, iceangel89 wrote:
>
> sometimes when exception h
i know this maybe a wrong forum to post this but i like to know what PHP/ZF
developers think abt this
i just develop a web app that was supposed to be a replacement for a
school's inventory management system which was originally developed in MS
Access. i was quite embarassing actually ... after
sometimes when exception happen, i would like more info ... like when DB
queries fail ... the stack trace don't seem to helpful to me. i think the
full SQL that failed shld be outputted ... don't u think?
--
View this message in context:
http://www.nabble.com/DB-Exceptions---shld-include-whole-
Is there a possibility to have multiple menus constructed via
application.ini?
Now I do:
resources.view[] =
resources.navigation.pages.indexFoo.label = "Foo"
resources.navigation.pages.indexFoo.controller = "index"
resources.navigation.pages.indexFoo.action = "foo"
resources.navigation.pages.i
So, I finally figured out and fixed the problem.
The secret is to ensure that the default module, controller and action
names are the same in the routes definition AND in the navigation
definition.
Please see my corrected routes.xml:
http://pastie.org/497666
And my corrected navigation.xml
htt
2009/6/2 Martin Martinov :
> 2009/6/2 Jonathan Maron :
>> You can search through the ZF library with the following. It will show
>> you all classes that include "setCache":
>>
>> find -name "*.php" | xargs grep -H "function setCache(" 2> /dev/null
>>
>> The result is as follows:
>>
>> ./Zend/Pagina
2009/6/2 monk.e.boy :
>
> How do I set the path to a module?
>
> I my application.ini I have:
>
> bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
> bootstrap.class = "Bootstrap"
>
> ; module bootstrapping
> resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
> resources.
How do I set the path to a module?
I my application.ini I have:
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
; module bootstrapping
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
resources.modules.projects = ""
The error I
Try the Zend Framework In Action book (http://www.manning.com/allen/). It's
not perfect, but it's a good introduction to ZF and will give you a good
feel for it. It's available as an eBook and on paper. Obviously the ZF
docs will also help ...
For PHP programming, PHP In Action is one of the b
2009/6/2 Jonathan Maron :
> You can search through the ZF library with the following. It will show
> you all classes that include "setCache":
>
> find -name "*.php" | xargs grep -H "function setCache(" 2> /dev/null
>
> The result is as follows:
>
> ./Zend/Paginator.php: public static function se
33 matches
Mail list logo