123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- Return-Path: <fw-general-return-20540-david=example.org@lists.zend.com>
- X-Original-To: david@example.org
- Delivered-To: david@example.org
- Received: by mail.palepurple.co.uk (Postfix, from userid 1007)
- id A41BE894CF8; Tue, 5 Aug 2008 19:46:09 +0100 (BST)
- Received: from localhost (localhost [127.0.0.1])
- by mail.palepurple.co.uk (Postfix) with ESMTP id 6786E894CF9
- for <david@example.org>; Tue, 5 Aug 2008 19:46:09 +0100 (BST)
- X-Virus-Scanned: by Amavis+SpamAssassin+ClamAV and more at palepurple.co.uk
- X-Spam-Score: -2.478
- X-Spam-Level:
- X-Spam-Status: No, score=-2.478 tagged_above=-99 required=5 tests=[AWL=0.545,
- BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1,
- SPF_HELO_NEUTRAL=0.576, SPF_PASS=-0.001]
- Received: from mail.palepurple.co.uk ([127.0.0.50])
- by localhost (oak.palepurple.co.uk [127.0.0.50]) (amavisd-new, port 10024)
- with ESMTP id F7C1kX6O4LsN for <david@example.org>;
- Tue, 5 Aug 2008 19:46:01 +0100 (BST)
- Received: from www.zend.com (lists.zend.com [67.15.86.102])
- by mail.palepurple.co.uk (Postfix) with SMTP id 83287894CF8
- for <david@example.org>; Tue, 5 Aug 2008 19:46:01 +0100 (BST)
- Received: (qmail 28760 invoked by uid 505); 5 Aug 2008 18:45:46 -0000
- Mailing-List: contact fw-general-help@lists.zend.com; run by ezmlm
- Precedence: bulk
- List-Post: <mailto:fw-general@lists.zend.com>
- List-Help: <mailto:fw-general-help@lists.zend.com>
- List-Unsubscribe: <mailto:fw-general-unsubscribe@lists.zend.com>
- List-Subscribe: <mailto:fw-general-subscribe@lists.zend.com>
- Delivered-To: mailing list fw-general@lists.zend.com
- Received: (qmail 28753 invoked from network); 5 Aug 2008 18:45:46 -0000
- DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
- s=s1024; d=yahoo.com;
- h=Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID;
- b=RX7cjkrkpdsfHOXg2TRzzF2P5UXe0S5UVRucVl9FdqyE070/mV2za8ehvsGVRTh11tjkhkzh9QJoijpzHTTyu8F4HUHHoql4wUS6zJJC/PgdcCpBVXf0Im4RkyXqhIOAndNk1d9tCPmUnKDjC6SvO6i0Xd5+CqFH9f+eaKzUFAI=;
- X-Mailer: YahooMailRC/1042.48 YahooMailWebService/0.7.218
- Date: Tue, 5 Aug 2008 11:45:44 -0700 (PDT)
- From: =?iso-8859-1?Q?P=E1draic_Brady?= <some.one@yahoo.com>
- To: Some one Else <someone.else@gmail.com>
- Cc: Zend Framework General <overthere@example.org>
- MIME-Version: 1.0
- Content-Type: multipart/alternative; boundary="0-283769398-1217961944=:498"
- Message-ID: <944272.498.qm@web55003.mail.re4.yahoo.com>
- X-pstn-neptune: 0/0/0.00/0
- X-pstn-levels: (S:99.90000/99.90000 CV:99.0000 P:95.9108 M:97.0282 C:98.6951 )
- X-pstn-settings: 1 (0.1500:0.1500) cv gt3 gt2 gt1 p m c
- X-pstn-addresses: from <some.one@yahoo.com> [638/31]
- Subject: Re: [fw-general] Zend_Paginate how to integrate?
- Content-Length: 4072
- Lines: 60
-
- --0-283769398-1217961944=:498
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: quoted-printable
-
- I do pretty much what Giorgio suggests and tie it into the Model as much as=
- possible - fits into the concept of doing as little as possible in your co=
- ntrollers by pushing reusable code into Model (or other) objects if appropr=
- iate.=0A=0A P=E1draic Brady=0A=0Ahttp://blog.astrumfutura.com=0Ahttp://www.=
- patternsforphp.com=0AOpenID Europe Foundation=0A=0A=0A=0A=0A----- Original =
- Message ----=0AFrom: Giorgio Sironi <whatever@example.org>=0ATo=
- : Axel W=FCstemann <awu@xxxqbus.de>=0ACc: fw-general@xxlists.zend.com=0ASent: Tu=
- esday, August 5, 2008 7:20:48 PM=0ASubject: Re: [fw-general] Zend_Paginate =
- how to integrate?=0A=0A2008/8/5 Axel W=FCstemann <awuxxxx@qbus.de>:=0A> Yes, it=
- seems to me a good idea to let reside the paginator in the model.=0A> What=
- happens in the controller? How the view comes into play?=0A=0AThe controll=
- er simply calls the method prepareArticles with the right=0Apage (a param o=
- f request) and pass the paginator to the view, so the=0Aview script can use=
- it for helpers like PaginationControl. Note that=0Abecause the paginator g=
- oes into the view, it return only=0Amultidimensional array and not objects.=
- =0A=0A-- =0AGiorgio Sironi=0APiccolo Principe & Ossigeno Scripter=0Ahttp://=
- www.sourceforge.net/projects/ossigeno=0A
- --0-283769398-1217961944=:498
- Content-Type: text/html; charset=iso-8859-1
- Content-Transfer-Encoding: quoted-printable
-
- <html><head><style type=3D"text/css"><!-- DIV {margin:0px;} --></style></he=
- ad><body><div style=3D"font-family:Courier New,courier,monaco,monospace,san=
- s-serif;font-size:10pt"><font style=3D"font-family: times new roman,new yor=
- k,times,serif;" size=3D"3">I do pretty much what Giorgio suggests and tie i=
- t into the Model as much as possible - fits into the concept of doing as li=
- ttle as possible in your controllers by pushing reusable code into Model (o=
- r other) objects if appropriate.</font><br><div> </div><span style=3D"=
- color: rgb(0, 0, 191);"><font style=3D"font-family: times new roman,new yor=
- k,times,serif;" size=3D"3"><span style=3D"font-weight: bold;">P=E1draic Bra=
- dy<br><br></span></font><span style=3D"font-style: italic;"><font style=3D"=
- font-family: times new roman,new york,times,serif;" size=3D"3"><a rel=3D"no=
- follow" target=3D"_blank" href=3D"http://blog.astrumfutura.com">http://blog=
- .astrumfutura.com</a><br><a rel=3D"nofollow" target=3D"_blank"
- href=3D"http://www.patternsforphp.com">http://www.patternsforphp.com</a><b=
- r><a rel=3D"nofollow" target=3D"_blank" href=3D"http://www.openideurope.eu/=
- ">OpenID Europe Foundation</a><br></font></span></span><div><br></div><div =
- style=3D"font-family: Courier New,courier,monaco,monospace,sans-serif; font=
- -size: 10pt;"><br><div style=3D"font-family: arial,helvetica,sans-serif; fo=
- nt-size: 10pt;">----- Original Message ----<br>From: Giorgio Sironi <pic=
- coloprincipeazzurroxxxxx@gxxxmail.com><br>To: Axel W=FCstemann <awuxx@qbus.de&g=
- t;<br>Cc: fw-general@xxxlists.zend.com<br>Sent: Tuesday, August 5, 2008 7:20:4=
- 8 PM<br>Subject: Re: [fw-general] Zend_Paginate how to integrate?<br><br>=
- =0A2008/8/5 Axel W=FCstemann <<a ymailto=3D"mailto:awuxxx@xxxqbus.de" href=3D"=
- mailto:awuxx@xxqbus.de">xxawu@qxxxbus.de</a>>:<br>> Yes, it seems to me a good=
- idea to let reside the paginator in the model.<br>> What happens in the=
- controller? How the view comes into play?<br><br>The controller simply cal=
- ls the method prepareArticles with the right<br>page (a param of request) a=
- nd pass the paginator to the view, so the<br>view script can use it for hel=
- pers like PaginationControl. Note that<br>because the paginator goes into t=
- he view, it return only<br>multidimensional array and not objects.<br><br>-=
- - <br>Giorgio Sironi<br>Piccolo Principe & Ossigeno Scripter<br><a href=
- =3D"http://www.sourceforge.net/projects/ossigeno" target=3D"_blank">http://=
- www.sourceforge.net/projects/ossigeno</a><br></div></div></div></body></htm=
- l>
- --0-283769398-1217961944=:498--
|