Re: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread thurting
I'm going to have to disagree here. The front page is an atrocity. The download header dominates, the logo is out of control, and it is incredibly hard to scan the page for information. Also, the project is on version 1.5.1 now. You need to update the .jpg because that is where this pivotal

Re: [fw-general] Question about pagination

2008-04-07 Thread Csányi András
On Sun, Apr 06, 2008 at 05:36:32PM +0530, Sudheer wrote: Csányi András wrote: On Sun, Apr 06, 2008 at 11:41:18AM +0200, Csányi András wrote: On Sun, Mar 30, 2008 at 10:28:37PM -0700, thurting wrote: I've set up my model to handle pagination and had a question about how I should

Re: [fw-general] Question about pagination

2008-04-07 Thread Jurriën Stutterheim
Have a look at http://www.zym-project.com/ for my pagination component. You can choose to use that one, or just use it to help shape your own ideas :) On Mar 31, 2008, at 7:28 AM, thurting wrote: I've set up my model to handle pagination and had a question about how I should handle bad

[fw-general] Zend_form Description, how to...

2008-04-07 Thread GeorgeNLog
Hi there! First, congrats for this great piece of software, really great! I'm trying to render this tags (sorry about the , I don't know hot to render here too ;P). Please, look at span tags. I'm using Description element to render this (span tag and tooltipIcon class), but, how can I render

RE: [fw-general] ZF performance advice

2008-04-07 Thread Robert Castley
I too have been investigating and have been using Yahoo!'s Yslow tool. My application also uses the YUI compressor from Yahoo! I also concatenate all my CSS. Initially the application was scoring around F (56). By compressing the JS and concatenating the CSS I can get it to D (69). By adding

[fw-general] Zend_form Description, how to...

2008-04-07 Thread GeorgeNLog
Hi there! Congrats for this great piece of software! I'm trying to understand how Zend_Form works. I've read all docs and some threads in this forum but yet I don't know how can I render this: li label class=required for=nombreNombre:/label input type=text value=Jorge

Re: [fw-general] Question about pagination

2008-04-07 Thread Csányi András
On Mon, Apr 07, 2008 at 10:57:44AM +0200, Csányi András wrote: On Sun, Apr 06, 2008 at 05:36:32PM +0530, Sudheer wrote: Csányi András wrote: On Sun, Apr 06, 2008 at 11:41:18AM +0200, Csányi András wrote: On Sun, Mar 30, 2008 at 10:28:37PM -0700, thurting wrote: I've set up my

Re: [fw-general] Admin Area

2008-04-07 Thread pat
RE: Admin Area In my apps the admin area is created by: 1. All Admin area modules are restricted to admin users 2. All Admin area modules use a the same theme 3. Admin area modules have links to allow navigation When you log in as admin you are taken to the admin landing area, typically

[fw-general] Validation - Best Practices

2008-04-07 Thread SamBroker
Hi there! I have got a User-form with 15 fields in my project. My question is: Where should the validation been done? At the moment I do it in a private method in the Controller class. But even if I Use Zend Validate it is a lot of code for 15 fields ... But I guess the model is the wrong

Re: [fw-general] Validation - Best Practices

2008-04-07 Thread Matthew Weier O'Phinney
-- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote (on Monday, 07 April 2008, 03:55 PM +0200): I have got a User-form with 15 fields in my project. My question is: Where should the validation been done? At the moment I do it in a private method in the Controller class. But even if I Use Zend

Re: [fw-general] ¿Zend_Validate_Alnum vali dation of stressed characters (ó, é, ü...)?

2008-04-07 Thread Agenjo
Finally I've defined a new regex validator. It looks like this: class MyValidator extends Zend_Validate_Abstract { const INVALID_CHARACTERS = 'invalidCharacters'; protected $pattern = /[^a-zA-Z 0-9áÁéÉíÍóÓúÚöÖüÜñÑçÇ]/; protected $_messageTemplates = array(

[fw-general] Zend_Registry and Zend_Session

2008-04-07 Thread xing93111
Can Zend_Registry be used to store Zend_Session? If yes, can Zend_Registry replace Zend_Session? Thanks -- View this message in context: http://www.nabble.com/Zend_Registry-and-Zend_Session-tp16537508p16537508.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Zend_Registry and Zend_Session

2008-04-07 Thread Matthew Weier O'Phinney
-- xing93111 [EMAIL PROTECTED] wrote (on Monday, 07 April 2008, 08:32 AM -0700): Can Zend_Registry be used to store Zend_Session? Yes, but it doesn't make much sense to do so, as Zend_Session is a singleton. If yes, can Zend_Registry replace Zend_Session? No. Zend_Registry is a static

[fw-general] Zend_Registry question

2008-04-07 Thread xing93111
Since Zend_Registry can store any objects, can multiple different sessions share the same object through Zend_Registry? -- View this message in context: http://www.nabble.com/Zend_Registry-question-tp16537537p16537537.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Zend_Registry and Zend_Session

2008-04-07 Thread Bill
Thanks James. Bill On Mon, Apr 7, 2008 at 10:01 AM, James Dempster [EMAIL PROTECTED] wrote: Zend_Registry can store any objects. It's just a place to store object refrences. Zend_Session on the other hand stores values, or serialized objects that can be used to save objects and values

[fw-general] About the Response object

2008-04-07 Thread Pat Veach
Re: Response object Reading the documentation about the response object, I am a bit confused. Do the references to headers correspond to elements in the head section of the html document or do they refer to http response headers? Likewise, does the body section of the response object

Re: [fw-general] About the Response object

2008-04-07 Thread Matthew Weier O'Phinney
-- Pat Veach [EMAIL PROTECTED] wrote (on Monday, 07 April 2008, 11:47 AM -0500): Re: Response object Reading the documentation about the response object, I am a bit confused. Do the references to headers correspond to elements in the head section of the html document or do they refer to

RE: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread Wil Sinclair
I gotta say- it's awesome that we have a forum where we can agree, disagree, and generally figure out every way we can make the project better. OK, here's my take on the front page: '1.5' will represent all the 1.5 releases; in my experience this is common for less detailed pages. It really is

Re: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread Karl Katzke
Wil, I'm not a big fan of the new site's homepage either. Let me try and explain why, from both a design perspective and a usability perspective. On the front page, everything is cartoony and oversized. The icons are big, the fonts are far too big, the ZF logo (which is normally rather slick) is

Re: [fw-general] ZF - APC tuning

2008-04-07 Thread Aldemar Bernal
Well, after a weekend of testing I found that: - fastcgi (using zend core fastcgi and other fastcgi) didn't give me better results than using the mod_php, I couldn't test using IIS since I don't have it =P - apc and xcache with fastcgi gave always trouble when benchmarking using ab from apache

RE: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread Wil Sinclair
OK, I'm the one to blame for the 3 color-coded sections. J And most of those dorky taglines. Of course, I make absolutely no claims of non-dorkiness. :D I don't see 'Make the Choice' as challenging, but do you have a suggestion? BTW, this box is supposed to be for decision makers. The center one

Re: [fw-general] ZF - APC tuning

2008-04-07 Thread Teemu Välimäki
On Monday 07 April 2008 21:02:53 Aldemar Bernal wrote: Still sucks, doesn't it :P Yes. I found, that in my VPS APC nor xcache do not help much. I'm yet to test APC fully, but I'm not hoping much. Few months ago I stumbled on a fellow who had tested creating one HUGE bootstrap with all the

Re: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread till
On Mon, Apr 7, 2008 at 8:58 PM, Wil Sinclair [EMAIL PROTECTED] wrote: OK, I'm the one to blame for the 3 color-coded sections. J And most of those dorky taglines. Of course, I make absolutely no claims of non-dorkiness. :D I think colorcodes are a very useful tool. They are pretty subtle and

Re: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread Alan Wagstaff
Since we are on the subject of the new site (which I love by the way) and the 3 blocks, I have a problem that I've been meaning to mention for a while now. When the page is loading, the Make the Choice, Get Started and Give Back headers appear fine:

RE: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread Wil Sinclair
That's a known ie7 issue that we hope to have solved later this week. Thanks for reporting it, tho! ,Wil From: Alan Wagstaff [mailto:[EMAIL PROTECTED] Sent: Monday, April 07, 2008 12:20 PM To: fw-general@lists.zend.com Subject: Re: [fw-general] And a big thanks to Varien for the new site

[fw-general] Zend_Db_Select bug

2008-04-07 Thread Sergei Izvorean
When I'm trying to select 'COUNT(*)' I get this error: *Notice*: Object of class Zend_Db_Expr could not be converted to int in /*Zend/Db/Table/Select.php* on line *125 *To reproduce: $accountTable = new Account(); $accountTable-select()-from(array('a' = $accountTable-info('name')),

[fw-general] Our new Zend Framework Architect

2008-04-07 Thread Wil Sinclair
Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/ Yikes! I knew there was something I forgot to do on Friday. Without further ado, it's my immense pleasure to announce that Matthew has been promoted to Software Architect at

Re: [fw-general] Our new Zend Framework Architect

2008-04-07 Thread Andries Seutens
Matthew, Congratz, this is very much deserved, and seems like a perfect fit! Keep up the good work! Best, Andriesss Wil Sinclair schreef: Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/ Yikes! I knew there was something

[fw-general] Zend_Translate doesn't cache when addTranslation is called

2008-04-07 Thread Rob L
I wrote a custom adapter and am trying to load 13 different languages from files. I can't simply read the entire directory because I am using non-standard locale names and need full control. So in my bootstrap I call the Zend_Translate constructor for my first language and then call

Re: [fw-general] utf 8 problem

2008-04-07 Thread Roberto Bouza
Check the settings on the IDE you are using to edit your files. If you are using PDT from Eclipse you need to tell Eclipse that all your code files are UTF-8 if not you'll get that kind of errors. When I say all the code files I mean all, config files, php, phtml, etc, etc etc. Hope

Re: [fw-general] Our new Zend Framework Architect

2008-04-07 Thread Rob Allen
On 7 Apr 2008, at 21:35, Wil Sinclair wrote: Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/ Yikes! I knew there was something I forgot to do on Friday. Without further ado, it's my immense pleasure to announce that Matthew

Re: [fw-general] Our new Zend Framework Architect

2008-04-07 Thread Darby Felton
Hear, hear; congratulations, Matthew! :) Best regards, Darby Wil Sinclair wrote: Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/ Yikes! I knew there was something I forgot to do on Friday. Without further ado, it's my

RE: [fw-general] Our new Zend Framework Architect

2008-04-07 Thread Ryan Brooks
Can I have his old job? ;) I kid. Seriously though, I for one am please that Matthew is moving up! Way to climb the corporate ladder. Course, you know Matthew that now we'll all be expecting bigger and better things! -Ryan -Original Message- From: Wil Sinclair [mailto:[EMAIL PROTECTED]

RE: [fw-general] Zend_Db_Select bug

2008-04-07 Thread Eric Marden
Why aren't you aliasing Count(*) to a col. Name? Also, if you're using mysql - you may want to take a look at this: http://www.mysqlperformanceblog.com/2007/04/10/count-vs-countcol/ Discusses Count(*) vs Count(col-name), and some caveats and performance issues. -- Eric Marden

RE: [fw-general] ZF and AJAX toolkit

2008-04-07 Thread Wil Sinclair
We are working hard to get to a point where we can announce to the community; for now you can assume that it's 'unknown'. Honestly, we've been gathering some really useful feedback from the speculation- maybe we'll be able to capture it somewhere on the wiki or in the issue tracker. Please keep

Re: [fw-general] Our new Zend Framework Architect

2008-04-07 Thread Bradley Holt
Congrats Matthew! On Mon, Apr 7, 2008 at 4:35 PM, Wil Sinclair [EMAIL PROTECTED] wrote: Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/ Yikes! I knew there was something I forgot to do on Friday. Without further ado,

Re: [fw-general] Our new Zend Framework Architect

2008-04-07 Thread Karl Katzke
Congratulations, Matthew! The promotion is well deserved -- when someone asks me who a PHP genius/guru/person-whose-code-to-read is, I always mention your name. -Karl On Mon, Apr 7, 2008 at 3:35 PM, Wil Sinclair [EMAIL PROTECTED] wrote: Matthew Weier O'Phinney Software Architect |

Re: [fw-general] ZF and AJAX toolkit

2008-04-07 Thread reto
Ok I see! Thanks for clarification :) Sincerely, Reto Kaiser On Mon, Apr 7, 2008 at 11:06 PM, Wil Sinclair [EMAIL PROTECTED] wrote: We are working hard to get to a point where we can announce to the community; for now you can assume that it's 'unknown'. Honestly, we've been gathering some

Re: [fw-general] Zend_Translate doesn't cache when addTranslation is called

2008-04-07 Thread Thomas Weidner
Rob, just use directory or file search. Calling multiple times addTranslation is really depreciated. See into the manual for details. Related to you request. It is called but not at the place you expected it. The data is written in the cache. But when you add a new translation to the adapter

Re: [fw-general] Our new Zend Framework Architect

2008-04-07 Thread Michael B Allen
On Mon, Apr 7, 2008 at 5:05 PM, Bradley Holt [EMAIL PROTECTED] wrote: Congrats Matthew! Ditto. -- Michael B Allen PHP Active Directory SPNEGO SSO http://www.ioplex.com/

Re: [fw-general] ZF and AJAX toolkit

2008-04-07 Thread Karl Katzke
Exactly like Zend_Form -- It may be useful, and you may have to extend it or go outside of it. I'm fine with that, I just want to get there sooner as opposed to later, since I have some applications right now that could use it... and I'm frankly too lazy to write my own and see it obliterated by

[fw-general] Orlando-area announcement...

2008-04-07 Thread David Rogers
Hey, all. If any of you ZF guys are in the Orlando area, a new PHP user group is gearing up there - OrlandoPHP.org - and the inaugural meeting is Tues, April 22nd, 2008. You can get more info on the site, of course. I mention it here per Wil's suggestion as the first meeting will be an

Re: [fw-general] Our new Zend Framework Architect

2008-04-07 Thread Roberto Bouza
Congratulations Matthew!!! On Apr 7, 2008, at 5:32 PM, Michael B Allen wrote: On Mon, Apr 7, 2008 at 5:05 PM, Bradley Holt [EMAIL PROTECTED] wrote: Congrats Matthew! Ditto. -- Michael B Allen PHP Active Directory SPNEGO SSO http://www.ioplex.com/

Re: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread Dylan Arnold
By the way. Shouldn't it be Simplicity, Meets power? Rather than Simplicity, Meet power. I'm not an english geek but I don't really understand that.. On Tue, Apr 8, 2008 at 7:36 AM, Wil Sinclair [EMAIL PROTECTED] wrote: That's a known ie7 issue that we hope to have solved later this week.

RE: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread Wil Sinclair
Actually, it's the imperative form of the verb 'meet'. Something like 'Hey you Simplicity, meet my friend Power'. If you dropped the comma you could use the regular present tense of 'meet'- 'meets'- and the tagline would also make sense. But that's not what we settled on. J ,Wil From:

[fw-general] NEW PROPOSAL PROCESS!!!

2008-04-07 Thread Wil Sinclair
I think I already announced on the general list that the new proposal draft is available for community review and comment, but- to be quite honest- we haven't seen as many comments as we'd like. Please add your comments to this document:

Re: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread Werner
One of the things that interest me most is the header image generation script for the new design accessible at http://framework.zend.com/header-image... Any change we can have the privilege to look at the the source of that little gem? :) Good Job, Varien Wil Sinclair wrote: . .

Re: [fw-general] Our new Zend Framework Architect

2008-04-07 Thread Robin Skoglund
On Mon, Apr 7, 2008 at 10:35 PM, Wil Sinclair [EMAIL PROTECTED] wrote: Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/ Yeah, I noticed this too :) Congratulations! It's a delight to see architects heavily involved in

Re: [fw-general] And a big thanks to Varien for the new site design!

2008-04-07 Thread Dylan Arnold
Ahh that makes sense. Cheers. On Tue, Apr 8, 2008 at 9:58 AM, Wil Sinclair [EMAIL PROTECTED] wrote: Actually, it's the imperative form of the verb 'meet'. Something like 'Hey you Simplicity, meet my friend Power'. If you dropped the comma you could use the regular present tense of 'meet'-

[fw-general] Zend_OpenId_Consumer only authenticates when $dumbMode=true

2008-04-07 Thread nathanpbell
I've been trying the example in the documentation for Zend_OpenId_Consumer. Upon entering my OpenIds from Vidoop and Yahoo, The ZF OpenID consumer would always return false on login() (indicating a failure); I traced the code and discovered that the problem was occurring in