@jason
What would be the difference between
function testAction() {
[...]
}
and
function testAction() {
[...]
$this->render('test');
}
what do I really skip by doing so, and why isn't that done by default ?
--
View this message in context:
http://zend-framework-community.634137.n4.
On 30/09/2010 2:01 PM, debussy007 wrote:
Thanks Hector,
I need high performance for a specific page, which need includes in /index,
/includes and /includes/agenda
What about improving performance for that specific page by adding entries in
setScriptPath ?
$this->view->setScriptPath(
ar
Thanks Hector,
I need high performance for a specific page, which need includes in /index,
/includes and /includes/agenda
What about improving performance for that specific page by adding entries in
setScriptPath ?
$this->view->setScriptPath(
array (
"./application/module
View scripts are not handled by the autoloader. Take a look at your view's
script paths, which is a LIFO stack:
var_dump($view->getScriptPaths());
Since there is no prefixing for view scripts, the view object has to search
each of the directories (starting with the last one) for the matching view
Hi,
I profiled my application, and noticed with the help of xdebug and webgrind
that my includes are very slow.
Like for example ~450 ms was needed for an include of a .phtml file !
I wonder if I am doing something wrong with include paths, if I'm not wrong,
ZF uses it to find the files.
This i
That works well for me. Thanks, Hector.
Daniel
The separate installer script is a good idea, but I'd stick with a single
ini configuration file. The installer script doesn't need to bootstrap
everything like your application does. You can pick and choose what to
bootstrap:
$application = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH .
I have build an installer for my web application and I have a problem when
the bootstrap process initializes all the resources defined in the
application.ini file. Because a database haven't been created yet some of
the resources that need to use it fail to initialize.
I created two application's
-- Wil Moore III wrote
(on Wednesday, 29 September 2010, 01:48 PM -0700):
> I just ran:
>
> phpunit Zend/Paginator
>
> and a ton of tests are skipped. I assume I am to ignore that and focus only
> on the exceptions for this milestone? Especially given that this component
> will be completely re-
You might also consider utilizing a flag such as "enabled".
`enabled` TINYINT(1) NOT NULL DEFAULT 1
This way, you are not deleting, but rather updating (0|1).
-
--
Wil Moore III
Why is Bottom-posting better than Top-posting:
http://www.caliburn.nl/topposting.html
--
View this message in
10 matches
Mail list logo