Another method I use:
I extend the Zend_Controller_Action and put an Intermediate class there,
as you can see from this sample controller.
The inter class contains a toView method, I can then simply assign any
values.
I control all elements in my translation files so product can change
any
Matthew Weier O'Phinney wrote:
I throw a Zend_View object in the registry, and then access this from my
controllers and plugins. The benefit of doing this is that the
controllers can set values in the view that are unused in their
individual view, but used later in the sitewide template.
Then, I
-- frederic wolf <[EMAIL PROTECTED]> wrote
(on Sunday, 25 March 2007, 11:31 PM +0200):
> Matthew Weier O'Phinney a écrit :
> > -- Ralph Schindler <[EMAIL PROTECTED]> wrote
> > (on Sunday, 25 March 2007, 09:37 AM -0500):
> >
> > > I am curious how everyone implements common headers and footers
>
Thanks Bill
I am using PEAR structures - so I throw the results straight into that,
and hence keeping the column order is important to save on overhead of
code used in Structures, I am now ordering in this now.
Cheers
Ian
Bill Karwin wrote:
Currently Zend_Db_Select sorts columns by the cor
Feature request logged:
http://framework.zend.com/issues/browse/ZF-1135
Regards,
Bill Karwin
> -Original Message-
> From: Bill Karwin [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 25, 2007 2:29 PM
> To: Zend Framework
> Subject: RE: [fw-general] DB Select
>
> Currently Zend_Db_Select s
Matthew Weier O'Phinney a écrit :
-- Ralph Schindler <[EMAIL PROTECTED]> wrote
(on Sunday, 25 March 2007, 09:37 AM -0500):
I am curious how everyone implements common headers and footers
within a given application. As I see it there are two methods:
a) include the header and footer in ea
Currently Zend_Db_Select sorts columns by the correlation name as it
builds the query. I can log a feature request to preserve the column
order, and we'll try fixing it at some later time.
But I need to give the disclaimer that I would not choose to prioritize
this change very high, relative to o
I implemented both magic and non-magic methods (the former simply calls
the latter). I knew that there was demand for the magic methods. But
it's totally optional, and in most cases it is merely a matter of
preference.
Here are some considerations for using the magic vs. non-magic methods:
- So
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
José de Menezes Soares Neto wrote:
> Ok, thanks very much for both of you!
> Its like Alan said, I need this.
>
> You know some tutorial to do it in the best way? Cause I was thinking...
> If I create some new functions for the application, re-arrang
-- Ralph Schindler <[EMAIL PROTECTED]> wrote
(on Sunday, 25 March 2007, 09:37 AM -0500):
> I am curious how everyone implements common headers and footers
> within a given application. As I see it there are two methods:
>
> a) include the header and footer in each view script via the
> $this-
Chris,
I was clearly not arguing in favor of ignorance, or that it's a valid method
of security. Please re-read my messages.
-Matt
- Original Message -
From: "Chris Shiflett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Zend Framework General"
Sent: Sunday, March 25, 2007 7:31
Ok, thanks very much for both of you!
Its like Alan said, I need this.
You know some tutorial to do it in the best way? Cause I was thinking... If I
create some new functions for the application, re-arrange things will be bad :(
Best regardos!
- Original Message -
From: Alan Wagsta
Hi,
Take a look at Zend_Auth (lets users login/logout) and Zend_ACL (restricts
what users can get access to). These 2 combined should do what you need.
Thanks,
Alan.
On 25/03/07, José de Menezes Soares Neto <[EMAIL PROTECTED]> wrote:
Hi again friends,
I would like to start an application
Hi
I want to select the following in the following column order:
$select = $db->select()
->from(array('a' => $config->$table), array('a.code',
'b.company', 'a.sale_date'))
->joinLeft(array('b' => $config->db_tbl_finances_debtors),
'a.debtor_id = b.debtor_id', ar
Hi
We're using some different "views" to get a useful layout for each purpose.
We start using:
- portal-layout.php
- clean-layout.php
The first one has the header, footer, top menu, the main content and
optionally the left and right menus.
The clean layout only has the header and footer.
So, i
Hi again friends,
I would like to start an application if protected parts.
Some users can do some functions and others don´t.
With ZF, this is more easier? where I can found about this?
Um forte abraço,
José de Menezes
Hello all,
I am porting our company's framework to the Zend Framework, and I was
looking into Zend Session, while I noticed that it would be very usefull
to have some sort of ::setFrom() method.
Take the following scenario:
---
$permissionNamespace = new
Zend_Session_Namespace($config->name
I am trying to wrap my head around the new relationship function in
Db_Table. They are a welcome addition.
My question is what is better. Calling the relation normally or by using
the magic functions. I feel there is more overhead in the magic
function, as they need to determine what rules to appl
Ralph Schindler wrote:
Hey group,
I am curious how everyone implements common headers and footers within
a given application. As I see it there are two methods:
a) include the header and footer in each view script via the
$this->render(..) routine.
I simply within the main site view call
Chris Shiflett wrote:
The idea that ignorance promotes security is fundamentally flawed.
Pádraic clearly understands the risks associated with this perspective.
In addition, this approach works against the HTTP spec, eroding the
important distinction between GET and POST requests.
Thats a bi
Hey group,
I am curious how everyone implements common headers and footers
within a given application. As I see it there are two methods:
a) include the header and footer in each view script via the
$this->render(..) routine.
b) use Zend_Controller Plugins to write to the view a standard
Matthew Ratzloff wrote:
> Well, my point was that because any of those can be manipulated
> (POST, GET, COOKIE, etc.), selecting from a specific source can
> lead to a false sense of added security.
The idea that ignorance promotes security is fundamentally flawed.
Pádraic clearly understands the
Inspired by Alexander Netkachev's unit testing article:
http://www.alexatnet.com/blog/2/2007/03/20/automatic-testing-of-mvc-
applications-created-with-zend-framework
I've been trying out some methods of testing actions/views and
finding myself unable to get Alex's method to work I tried anot
23 matches
Mail list logo