Re: [fw-general] Database Migrations - Yes, No, Maybe?

2008-11-07 Thread Matthew Ratzloff
This is something that I expect we'll see after Zend_Tool is completed and we approach 2.0, along with generators. Trust me, I want to see those things, too. :-) -Matt On Fri, Nov 7, 2008 at 10:41 AM, Benjamin Eberlei <[EMAIL PROTECTED]>wrote: > does not exist and is not planned from what i can

Re: [fw-general] Zend_Search_Lucene is very sloooooow

2008-11-07 Thread Matthew Ratzloff
Your e-mail prompted me to finally write down my thoughts on the subject: http://www.builtfromsource.com/2008/11/07/zend_search_lucene-not-enterprise-ready/ -Matt On Fri, Nov 7, 2008 at 1:09 AM, Ralf Eggert <[EMAIL PROTECTED]> wrote: > Hi, > > no that is not my opinion, that is the one sentence

Re: [fw-general] ZF Best Practices for someone who has been using Cake

2008-11-06 Thread Matthew Ratzloff
> > An interesting thing to note is that a Row Data Gateway acts very > similarly to the ActiveRecord; the primary difference is that an > ActiveRecord object contains the data access logic, while the Row Data > Gateway leaves that aspect to its parent Table Data Gateway, proxying to > it. When it

[fw-general] Re: [zf-contributors] Zend Framework SVN Commit Proposal

2008-11-04 Thread Matthew Ratzloff
Might want to make the ticket expression /ZF\-\d+/ just to make maintenance of the hook easier. You'll also want to prevent commits to tickets that are closed. The way that I've worked in the past with hooks like these is to use open tickets for common tasks so that all Spanish documentation updat

Re: [fw-general] Framework speed shotout -- question

2008-11-04 Thread Matthew Ratzloff
PROTECTED]> wrote: > > > Matthew Ratzloff wrote: > > > > The database classes, for instance. > > > In the framework/db/ dir I can't see any file with multiple classes. > > > Matthew Ratzloff wrote: > > > > One class per file is not "o

Re: [fw-general] Zend Session and objects

2008-11-03 Thread Matthew Ratzloff
, ie: > > $sessionVars->searchParams = $front->getRequest->getPost(); > > This seems strange since PHP's session handler has always handled arrays in > my experience. Is there something additional I need to do to handle the > standard array type with a Zend Session nam

Re: [fw-general] Framework speed shotout -- question

2008-11-03 Thread Matthew Ratzloff
The database classes, for instance. One class per file is not "over-engineering". -Matt On Mon, Nov 3, 2008 at 2:12 PM, ekerazha <[EMAIL PROTECTED]> wrote: > > > Matthew Ratzloff wrote: > > > > - Multiple classes in a single file. I doubt ZF will ever do

Re: [fw-general] Zend Session and objects

2008-11-03 Thread Matthew Ratzloff
Of course; think about how sessions work and their relationship with in-memory objects. You must serialize all the information necessary to recreate that object in its current state, then handle its corresponding deserialization. http://www.php.net/~helly/php/ext/spl/interfaceSerializable.html htt

Re: [fw-general] Framework speed shotout -- question

2008-11-03 Thread Matthew Ratzloff
> > This would be a simple Zend_Tool provider to create; want to give it a try? > Sure, I'll take a look once Zend_Tool is code complete. -Matt On Mon, Nov 3, 2008 at 11:24 AM, Matthew Weier O'Phinney <[EMAIL PROTECTED]>wrote: > -- Matthew Ratzloff <[EMAIL PRO

Re: [fw-general] Linux Gaming Antispam

2008-11-03 Thread Matthew Ratzloff
I just created a Gmail filter to automatically delete these obnoxious e-mails. -Matt On Mon, Nov 3, 2008 at 10:05 AM, Matthew Weier O'Phinney <[EMAIL PROTECTED]>wrote: > -- Jan Pieper <[EMAIL PROTECTED]> wrote > (on Monday, 03 November 2008, 06:52 PM +0100): > > Someone can tell me why I am alway

Re: [fw-general] Framework speed shotout -- question

2008-11-03 Thread Matthew Ratzloff
I think we need to reign in the personal attacks in this thread. Labels like "'so-called' professionals" and "incompetent" do nothing to further the discussion. Now that Qiang Xue has re-ran the tests against RHEL 5 using Apache 2 and the latest PHP release, it's evident that Yii Framework is quit

Re: [fw-general] Speed up Zend framework

2008-11-03 Thread Matthew Ratzloff
Steve, can you remove the duplicate disclaimer? -Matt On Mon, Nov 3, 2008 at 2:23 AM, O'BRIEN, Steven X < [EMAIL PROTECTED]> wrote: > > Guys, > > Has anyone got some tips on how to speed up Zend Framework applications? > > I have noticed that using Zend framework although speeding up development

Re: [fw-general] Controller Speed

2008-11-03 Thread Matthew Ratzloff
I genuinely can't fathom how a controller could be 3000 lines long without a serious organization problem. Give us some examples of what your URLs look like. -Matt On Mon, Nov 3, 2008 at 6:22 AM, Christopher Östlund < [EMAIL PROTECTED]> wrote: > Don't put businesses logic into the controllers. C

Re: [fw-general] Zend_Paginator: $paginator->setView($view) has no effect

2008-11-03 Thread Matthew Ratzloff
> > What does $paginator->setView($view) do vs $this->view->paginator > = $paginator; ? They serve two different purposes. You do not need to call setView() if you use the ViewRenderer, but you always need to assign the paginator to the view. -Matt On Sun, Nov 2, 2008 at 9:19 PM, frank.quosdor

Re: [fw-general] Cookie Managemnt

2008-11-02 Thread Matthew Ratzloff
eive the datas from the cookie. > > Thanks in advance for your help > > Regards > > David > > PS : php -v = PHP 5.2.6 (cli) (built: May 8 2008 10:25:11) > Copyright (c) 1997-2008 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies > > &

Re: [fw-general] Cookie Managemnt

2008-11-01 Thread Matthew Ratzloff
The case can be made for a Zend_Cookie or something similar when it comes to mobile development, but other than that, use setcookie(). -Matt On Sat, Nov 1, 2008 at 10:28 AM, Ben Scholzen 'DASPRiD' <[EMAIL PROTECTED]>wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Zend Framework enco

Re: [fw-general] Looking for a complete Complete Zend_Paginator example

2008-10-28 Thread Matthew Ratzloff
This is a known issue when using Oracle. It will be fixed for 1.7. http://framework.zend.com/issues/browse/ZF-4613 For the time being, however, you have a couple options. You can subclass the DbSelect adapter and capitalize the column identifier in ROW_COUNT_COLUMN (i.e., "ZEND_PAGINATOR_ROW_CO

Re: [fw-general] error in JQuery datepicker?

2008-10-26 Thread Matthew Ratzloff
about decorators again. The tricky part is, that with > jquery (and dojo?), these classes will have to check if a jquery decorator > is present and preserve that. After I arranged this, I still got the error > of argument 4 not being an array. The solution to that is in my mail posted &

Re: [fw-general] Does the Zend_pdf component require some extra installation ?

2008-10-26 Thread Matthew Ratzloff
Hi Eric, According to the manual, "Zend_Pdf module is a PDF (Portable Document Format) manipulation engine written entirely in PHP 5." The key word here being "entirely". That said, if you want to use Flate compression, it currently requires ext/zlib. However, compression is not required to use

Re: [fw-general] Zend_Scheduler Component

2008-10-24 Thread Matthew Ratzloff
Hi Christian, Wow, it's already been two years since I last worked on that. To be honest, I haven't thought about it in a long time. IIRC, all the scheduling rule logic is finished, and it's got unit tests... maybe I'll finally just finish it one weekend. -Matt On Fri, Oct 24, 2008 at 5:17 AM,

Re: [fw-general] Looking for a complete Complete Zend_Paginator example

2008-10-24 Thread Matthew Ratzloff
nd_Loader::loadClass('Zend_Paginator'); >$objPaginator = Zend_Paginator::factory($select); > > ========== > > Please correct me where I am wrong. > > Thanks > Ashish Sharma > > > > Matthew Ra

Re: [fw-general] error in JQuery datepicker?

2008-10-23 Thread Matthew Ratzloff
> > It would have been nice if this element would have been completely > compatible with all the tricks I play. > What tricks are those? -Matt On Thu, Oct 23, 2008 at 2:57 PM, Bart McLeod <[EMAIL PROTECTED]> wrote: > Hi Benjamin, > > Yes and no. I know where to look to find out what is happenin

Re: [fw-general] Looking for a complete Complete Zend_Paginator example

2008-10-23 Thread Matthew Ratzloff
print_r() will not work. You should not fetch the rows. You should pass the Select object directly to the Paginator's factory() method. It only selects the rows necessary. -Matt On Thu, Oct 23, 2008 at 6:31 AM, ashish.sharma < [EMAIL PROTECTED]> wrote: > > Nothing seems to be working. > > Used

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread Matthew Ratzloff
Of course, production environments use outdated PHP and Apache releases because Linux package maintainers upgrade infrequently. These are the versions that are most often found in the wild, not the latest releases. It's perfectly fine to benchmark with these older versions--but they should be the

Re: [fw-general] Framework speed shotout -- question

2008-10-19 Thread Matthew Ratzloff
His reply may be frank, but it's true. No one runs PHP on Windows Vista in any real world environment, so benchmarking in that environment is pointless. You can go one of three routes: - Debian Etch with default PHP and Apache packages - RHEL 5 or CentOS 5 with default PHP and Apache packages - S

Re: [fw-general] Database profiles for reading/writing with Zend_Db

2008-10-16 Thread Matthew Ratzloff
Specifically, you'll want to do something more like this for a My_Db_Table_Abstract class: public function insert(array $data) { if (self::$_writeAdapter === null) { throw new My_Db_Table_Exception('No write adapter specified'); } $currentAdapter = $this->getAdapter(); $wri

Re: [fw-general] How do I factor out tasks common to every action controller?

2008-10-15 Thread Matthew Ratzloff
Out of curiosity, why the resistence to subclassing the action controller? -Matt On 10/15/08, Steven Szymczak <[EMAIL PROTECTED]> wrote: > Every one of my action controllers has an init() function that pulls a > config object from the registry and uses it to set some paths used > throughout the s

Re: [fw-general] Zend Framework 1.7 Preview Release is now available!

2008-10-14 Thread Matthew Ratzloff
The documentation in general just needs to be organized better. Initially it was fine, but with 63 components it has become unwieldy, to say the least. I really like how Prototype does its documentation: http://www.prototypejs.org/api Then divide the component list into two divs, Standard Li

Re: [fw-general] Search Lucene Index Generation

2008-10-05 Thread Matthew Ratzloff
Offline process. If it's a small index you can rebuild it with a cron job. -Matt On Sat, Oct 4, 2008 at 10:42 PM, Matthew Ishii <[EMAIL PROTECTED]>wrote: > Hello, > > I have successfully created a search form and it works very well, > however its a bit slow. > > I believe part of the problem is

Re: [fw-general] Change delimiter for Zend Router

2008-10-05 Thread Matthew Ratzloff
http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Controller/Router/Route.php Check the properties. You can easily extend this class to use your own delimiter. -Matt On Sun, Oct 5, 2008 at 5:00 AM, DarKA <[EMAIL PROTECTED]> wrote: > > Hello, > I would like to change the delimi

Re: [fw-general] Looking for a complete Complete Zend_Paginator example

2008-10-01 Thread Matthew Ratzloff
')->where('empl_no = ?', 31713); > > > $this->view->result = $this->db->fetchAll($sql); > > $paginator = Zend_Paginator::factory($this->view->result); > > $paginator->setCurrentPageNumber(15); > > $

Re: [fw-general] Looking for a complete Complete Zend_Paginator example

2008-09-30 Thread Matthew Ratzloff
Use a Zend_Db_Select object for your query and pass the instance to factory(). If that doesn't suit your needs for some reason, you can easily write your own adapter by implementing Zend_Paginator_Adapter_Interface or extending Zend_Paginator_Adapter_DbSelect. Hope that helps, -Matt On Tue, Sep

Re: [fw-general] Session ID Protection

2008-09-30 Thread Matthew Ratzloff
To be fair, that actually just wraps http://us.php.net/session_regenerate_id . -Matt On Tue, Sep 30, 2008 at 4:03 AM, Robert Castley <[EMAIL PROTECTED]>wrote: > Don't you just love ZF, they think of everything :-) > > Thanks! > > -Original Message- > From: keith Pope [mailto:[EMAIL PROTE

Re: [fw-general] Looking for a complete Complete Zend_Paginator example

2008-09-29 Thread Matthew Ratzloff
http://framework.zend.com/manual/en/zend.paginator.html -Matt On Mon, Sep 29, 2008 at 1:53 PM, 411161 <[EMAIL PROTECTED]> wrote: > > I have it working, but I am not sure how to create links for next, last, > first, previous, numbers, etc.. I am also not sure how to handle links in > my > control

Re: [fw-general] View Helpers Repository

2008-09-26 Thread Matthew Ratzloff
some personal view helpers, but rather I am trying to create > a repository so that all ZF developers can share View Helpers as a resource. > > I'm just about to take the site down though seeing as this idea isn't of > interest to anyone. > > Thanks! > Eddie >

Re: [fw-general] View Helpers Repository

2008-09-25 Thread Matthew Ratzloff
Regarding your plural ("s") helper... person => people -Matt On Thu, Sep 25, 2008 at 10:53 AM, Edward Haber <[EMAIL PROTECTED]> wrote: > I'm just in the first steps of putting together a ViewHelpers repository > because there is such a serious need for a resources repository for ZF. I > would we

Re: [fw-general] basic question re Zend_Paginator

2008-09-24 Thread Matthew Ratzloff
Fourth parameter in the PaginationControl view helper. Several people have asked about this, and it will be documented properly when I get some free time and energy. -Matt On Wed, Sep 24, 2008 at 12:03 PM, David Mintz <[EMAIL PROTECTED]> wrote: > > How do you recommend going about getting GET p

Re: [fw-general] Smarty Poll Question

2008-09-24 Thread Matthew Ratzloff
Giant things are tens of thousands of users? :-) We use Smarty for a variety of sites that generate a lot of traffic (television networks, telecoms). With proper caching, it does fine. But developer sanity suffers (for both front end and back end developers). We have a lot of experience with Sm

Re: [fw-general] Use Zend without MVC

2008-09-23 Thread Matthew Ratzloff
for Smarty, I occasionally have to interact with it as part of my job and I am not terribly fond of it. -Matt On Tue, Sep 23, 2008 at 11:32 AM, Alomon <[EMAIL PROTECTED]> wrote: > > > Matthew Ratzloff wrote: > > > > You should listen to your boss. :-) > > > &g

Re: [fw-general] How to use sections with Zend_Config and PHP Arrays

2008-09-23 Thread Matthew Ratzloff
I don't know, but the easiest way to find out is create an example INI, then output the array that is generated from it for the format. -Matt On Fri, Sep 19, 2008 at 2:01 PM, Ralf Eggert <[EMAIL PROTECTED]> wrote: > Hi, > > I know that both Zend_Config_Ini and Zend_Config_Xml support sections > a

Re: [fw-general] Zend_Pagination + Smarty

2008-09-23 Thread Matthew Ratzloff
Hi José, http://framework.zend.com/wiki/pages/viewpage.action?pageId=43560&focusedCommentId=6324388#comment-6324388 This might be a good addition to the documentation... Hope that helped, -Matt On Tue, Sep 23, 2008 at 9:10 AM, José de Menezes Soares Neto < [EMAIL PROTECTED]> wrote: > Hi frien

Re: [fw-general] Use Zend without MVC

2008-09-22 Thread Matthew Ratzloff
> > in fact, I do not personnaly think a Framework is useful, but my boss does > :D > You should listen to your boss. :-) -Matt On Mon, Sep 22, 2008 at 5:57 AM, Alomon <[EMAIL PROTECTED]> wrote: > > Hello, > > I will probably have to make a little PHP application and use a Framework, > but I r

Re: [fw-general] Soundex

2008-09-22 Thread Matthew Ratzloff
No. It would be nice to have a locale-aware version, however. I assume that's what you're getting at? -Matt On Mon, Sep 22, 2008 at 6:52 PM, José de Menezes Soares Neto < [EMAIL PROTECTED]> wrote: > I know that. > > But ZF have anything to help like this? > > 2008/9/22 Bill Karwin <[EMAIL PROTE

Re: [fw-general] Re: Serious logging - syslog and / or alternatives

2008-09-22 Thread Matthew Ratzloff
for syslog() and openlog() > return values from my Zend_Log_Writer_Syslog proposal? Or just leave > them as they are? Can someone test behaviour on Windows 2003 R2? Are > PHP's syslog functions aware of failing syslog calls on those systems? > > Kind regards, > Thomas Ge

Re: [fw-general] Re: Serious logging - syslog and / or alternatives

2008-09-22 Thread Matthew Ratzloff
Manually change the permissions for syslog on your local machine, make the test fail, change the permissions to be correct and make sure the test succeeds. Maybe log something then strpos the contents of tail. That's all you can really do. -Matt On Sat, Sep 20, 2008 at 2:48 AM, Thomas Gelf <[EMA

Re: [fw-general] Zend Grid Proposal??

2008-09-22 Thread Matthew Ratzloff
I imagine that a data grid component should work similarly to Zend_Paginator--that is, various data source adapters. -Matt On Sun, Sep 21, 2008 at 5:09 AM, Nino Martincevic <[EMAIL PROTECTED]> wrote: > Why you all bind the grid to data from a database only? > Bind it to...well...data. > > > Kamil

Re: [fw-general] Any way of accessing DB Table metadata from a Zend_Paginator object?

2008-09-19 Thread Matthew Ratzloff
Nick, Thanks for writing that up. We'll look at a way to accommodate this in a future release in a way that makes sense for the component as a whole. -Matt On Thu, Sep 18, 2008 at 4:09 PM, Nick Thornley <[EMAIL PROTECTED]> wrote: > Okay, well I'll try and explain firstly what I'm trying to achie

Re: [fw-general] Any way of accessing DB Table metadata from a Zend_Paginator object?

2008-09-18 Thread Matthew Ratzloff
What sort of solution would you like to see? -Matt On Thu, Sep 18, 2008 at 9:20 AM, Nick Thornley <[EMAIL PROTECTED]> wrote: > Thanks for that, it's an interesting idea, though I'm not sure personally, > it feels a little odd deciding those sort of display settings within the > model. > > Frustra

Re: [fw-general] 2 paginator in same view

2008-09-18 Thread Matthew Ratzloff
Well, this is embarrassing. It's a bug that I apparently introduced in 1.6.1. Please file a ticket and I'll try to fix it within 12 hours. In the meantime, you can resolve this by naming your paginator object something besides $paginator; $paginator1 will work. -Matt On Thu, Sep 18, 2008 at 12:

Re: [fw-general] programmers fyi

2008-09-16 Thread Matthew Ratzloff
OK, I can see how this would be a problem if you logged user agents in the database, someone sent an SQL injection attempt, and you didn't use prepared statements or escape those values. But... uh... how is PHP "injection" supposed to do anything? Is someone eval-ing the user agent or what? Mayb

[fw-general] Re: [fw-announce] Zend Framework 1.6.1 is now available!

2008-09-16 Thread Matthew Ratzloff
A number of minor Zend_Paginator fixes have been made in this release, so it's recommended that users of that component upgrade. ZF-3804 Don't assume a fetch mode in the DbSelect adapter ZF-3822 Paginator Control Example error ZF-4037 Default scrolling style not honored ZF-4151 Iterator with zero i

Re: [fw-general] Passing an array from PHP to Javascript

2008-09-16 Thread Matthew Ratzloff
> > Thanks for the tips. But i CAN'T apply any of them now. The design has > been approved There are several things wrong with this statement... In any event, if you want to share data between PHP and JavaScript, look at Zend_Json and JSON in general. -Matt On Tue, Sep 16, 2008 at 8:16 AM, de

[fw-general] Benchmarks

2008-09-12 Thread Matthew Ratzloff
In case anyone is curious, Rasmus Lerdorf posted some benchmarks of the different frameworks. Solar and Zend Framework come out ahead. http://talks.php.net/show/drupal08/24 -Matt

Re: [fw-general] [Paginator] several paginators per page + other issues

2008-09-12 Thread Matthew Ratzloff
Hi Olivier, I can confirm what Bruno and Simon have already said. You may have multiple pagination controls per page. Note that the $this referenced in the view partial is not the Zend_View instance, but a separate object containing values for previous, next, etc. Thus you would not be able to a

Re: [fw-general] ZF support in NetBeans. . .

2008-09-06 Thread Matthew Ratzloff
Interesting. I voted, despite the fact that their issue tracking software is awful. FYI, you have to click the "Vote for this issue" link, then manually change 0 to 1 in the middle of the list, then hit Submit. -Matt On Sat, Sep 6, 2008 at 10:38 AM, Wil Sinclair <[EMAIL PROTECTED]> wrote: > Hey

Re: [fw-general] Suggested code in documentation for Zend_Paginator partials - id to class.

2008-09-01 Thread Matthew Ratzloff
Ah, I just realized that my statement could be misinterpreted. I meant that you raised a valid point. -Matt On Mon, Sep 1, 2008 at 9:17 AM, Matthew Ratzloff <[EMAIL PROTECTED]>wrote: > That's completely valid. I've filed an issue for it. > -Matt > > On Mon, Sep

Re: [fw-general] Suggested code in documentation for Zend_Paginator partials - id to class.

2008-09-01 Thread Matthew Ratzloff
That's completely valid. I've filed an issue for it. -Matt On Mon, Sep 1, 2008 at 7:50 AM, SiCo007 <[EMAIL PROTECTED]> wrote: > > I would like to suggest that in the documentation the code for the > suggested > paginaton techniques is changed slightly to make the id attribute in id="paginationC

Re: [fw-general] Zend_Paginator

2008-09-01 Thread Matthew Ratzloff
Hi Simon, I agree with the last suggestion. However, with the first one, if you had default values set and then overrode them with specific values in the function call, there would be no way to get back to the default values unless you manually passed them in. Or am I interpreting what you said

Re: [fw-general] Zend_Paginator iterator how to handle 0 pages.

2008-09-01 Thread Matthew Ratzloff
Hi, I've created an issue for this: http://framework.zend.com/issues/browse/ZF-4151 This is a bug in the code. For now, unfortunately, checking the count prior to entering the loop is the only solution. Thanks, -Matt On Sun, Aug 31, 2008 at 11:06 AM, Codiac <[EMAIL PROTECTED]> wrote: > >

Re: [fw-general] Hey, what happened to Zend_Http_Server?

2008-08-26 Thread Matthew Ratzloff
All good points. Thanks for the responses, guys. -Matt On Mon, Aug 25, 2008 at 6:01 PM, Matthew Weier O'Phinney <[EMAIL PROTECTED]>wrote: > -- Matthew Ratzloff <[EMAIL PROTECTED]> wrote > (on Monday, 25 August 2008, 03:54 PM -0700): > > It's still in incuba

[fw-general] Hey, what happened to Zend_Http_Server?

2008-08-25 Thread Matthew Ratzloff
It's still in incubator after a couple of years. What happened? No unit tests, it looks like. This could be a useful tool for quickly getting set up for Zend Framework development--it'd be nice to see it finished. http://framework.zend.com/svn/framework/standard/incubator/tools/http_server/

Re: [fw-general] How to put to work 3rd party libs in Zend Frmework? like dompdf?

2008-08-22 Thread Matthew Ratzloff
Hi Juan, DOMPDF defines an autoload method, but uses __autoload() instead of spl_autoload_register(). You should file a bug with the maker of this software to correct this issue. In the meantime, you need to add this to your code: require_once 'dompdf_config.inc.php'; spl_autoload_regist

Re: [fw-general] Zend_Json::decode in Controller causing Blank Screen of Death

2008-08-15 Thread Matthew Ratzloff
This doesn't help you solve this problem, but just wanted to tell you that in PHP 5 all objects are passed by reference, so the ampersand in the round_datetime function is redundant. -Matt On Fri, Aug 15, 2008 at 1:13 PM, Jake McGraw <[EMAIL PROTECTED]> wrote: > Everyone, sorry to bother you with

Re: [fw-general] Zend_Json::decode in Controller causing Blank Screen of Death

2008-08-15 Thread Matthew Ratzloff
Do you have ext/json installed? This is (I hope) unlikely, but if you somehow have Xdebug installed on this production server, Zend_Json can trigger xdebug.max_nesting_level in certain situations. You would probably see an error in this case, but I'm including this just to be on the safe side. -Ma

Re: [fw-general] Bug or feature in Zend_Translate 1.5.3/1.6RC1

2008-08-05 Thread Matthew Ratzloff
Hi Thomas, Is it possible to change the error message to reflect this, or create a new exception that tests for this particular case? The current error message doesn't really point to this being the cause of the error. -Matt On Mon, Aug 4, 2008 at 11:13 PM, Thomas Weidner <[EMAIL PROTECTED]>wrote

Re: [fw-general] OT: Good Docbook Editor

2008-08-04 Thread Matthew Ratzloff
;>perfectly valid, well formatted in respect to whitespace, and met >>>the DocBook specs. I find it surprising that it's quicker for you >>>to copy-and-paste from Microsoft Word than it is to just use a >>>structured content editing tool like XXE from the beg

Re: [fw-general] OT: Good Docbook Editor

2008-07-31 Thread Matthew Ratzloff
Microsoft Word, and then translated into DocBook by hand. This is the quickest way for me that I've found. The first part I worry about the content. Only then do I worry about the semantics and formatting. I tried using XMLmind's editor once for client documentation at work. I dumped it. The X

Re: [fw-general] paginator

2008-07-28 Thread Matthew Ratzloff
Hi Samuel, Could you explain what the use case for this is? Also, does Carlton Gibson's solution work for you? -Matt On Sun, Jul 27, 2008 at 5:36 PM, samuel verdier <[EMAIL PROTECTED]>wrote: > Hi, > > i am french... so my language is not good... > > I would like to receive an object and not a a

Re: [fw-general] Zend_Pdf .. problems extending the class

2008-07-20 Thread Matthew Ratzloff
Martijn, Be sure to file issues for the enhancements you'd like to add, along with any code that could speed them along. Also, I'd file it as a bug that you can't extend these classes. In my opinion no property should ever be marked private in Zend Framework except in very specific cases (Zend_V

Re: [fw-general] some simple questions

2008-07-15 Thread Matthew Ratzloff
I haven't read the book, but several of the reviews on Amazon [1] mention errors in the code examples. I would trust your instincts when you run across something in the book that doesn't seem right. -Matt [1] http://www.amazon.com/review/product/0973862157/ref=cm_cr_dp_all_helpful?_encoding=UTF8

Re: [fw-general] Re: Creating some crappy view helper

2008-07-10 Thread Matthew Ratzloff
Probably don't want to call it Zend_View_Helper_LoadMap. Sanchez_View_Helper_LoadMap or whatever would be better. Just to remember to add your helper directory in the bootstrap. -Matt On Thu, Jul 10, 2008 at 8:13 PM, Christian Sanchez <[EMAIL PROTECTED]> wrote: > Sorry guys, find the fix on the

Re: [fw-general] Zend_Registry::setFromArray()

2008-07-10 Thread Matthew Ratzloff
> > Actually I was using the approach you mentioned above, until I realized > that it requires more memory, since an entire instance of Zend_Config is > stored into Zend_Registry. So I decided to store only config's _DATA_ > into Zend_Registry to save the mem. > Are you writing code for the Atari

Re: [fw-general] What is planned for 1.6?

2008-07-09 Thread Matthew Ratzloff
Especially since the proposal isn't even close to complete! :-D -Matt On Wed, Jul 9, 2008 at 4:34 AM, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote: > -- Tobias Gies <[EMAIL PROTECTED]> wrote > (on Wednesday, 09 July 2008, 12:45 PM +0200): > > You might also want to write about the "naming c

Re: [fw-general] Re: Arguments for the Zend Framework

2008-07-08 Thread Matthew Ratzloff
Only you are going to know specifically why Zend Framework is superior to your custom framework. I suggest starting with several specific instances where it is better and extrapolating arguments from those. But in general: + Zend Framework is fully unit tested + You get a ton of stuff for free

Re: [fw-general] Zend_Service_Amazon_S3 in laboratory

2008-06-26 Thread Matthew Ratzloff
Hi Justin, You should set some constants in the test configuration file for users to add their AWS access key and secret key, as well as to enable or disable the tests (see the configuration file for examples). If you're setting something up and destroying it every time, you will want to use setU

[fw-general] Fwd: Zend framework help

2008-06-17 Thread Matthew Ratzloff
I think this was supposed to go to the mailing list. -Matt -- Forwarded message -- From: "Raveen V.R" <[EMAIL PROTECTED]> Date: Tue, 17 Jun 2008 15:24:37 +0530 Subject: Zend framework help To: Matthew Ratzloff <[EMAIL PROTECTED]> Hi I'm a php progr

Re: [fw-general] My thoughts on PHP

2008-06-12 Thread Matthew Ratzloff
I wrote a blog reply: http://www.builtfromsource.com/2008/06/12/the-future-of-php/ Warning: it's a bit down on PHP. But it's positive about Zend Framework, so that's something. :-) -Matt On Thu, Jun 12, 2008 at 12:26 AM, Jurriën Stutterheim < [EMAIL PROTECTED]> wrote: > Hi all, > > > A few we

Re: [fw-general] Zend_Paginator ready for community review

2008-06-10 Thread Matthew Ratzloff
Hi Simon, Thanks for the feedback. I've changed the behavior to be more sane--if you go beyond the last page it now just sends you to the last page. In the same vein, entering a number less than 1 (if your routing rules allow it) will now send you to the first page instead. -Matt On Tue, Jun 10

[fw-general] Zend_Paginator ready for community review

2008-06-10 Thread Matthew Ratzloff
Hi everyone, I'm happy to announce that Zend_Paginator is ready for community review. The code's all written and there's even an online demo. http://framework.zend.com/wiki/pages/viewpage.action?pageId=43560 Please take a look and let us know what you think. If all goes as planned, we're ho

Re: [fw-general] customize Zend_Validate

2008-06-06 Thread Matthew Ratzloff
To answer your question, however: http://framework.zend.com/manual/en/zend.validate.writing_validators.html -Matt On Fri, Jun 6, 2008 at 9:39 AM, Pádraic Brady <[EMAIL PROTECTED]> wrote: > I suggest looking up Zend_Validate_Regex where you can set a specific > regular expression. Looks like just

[fw-general] Vacation auto-responders and you

2008-05-30 Thread Matthew Ratzloff
Hi everyone, As we in the northern hemisphere enter into the summer and being to take vacations, please be courteous to your fellow mailing list members and remember to exclude all Zend Framework mailing lists from your vacation auto-responder, or temporarily unsubscribe. It's very annoying to rec

Re: [fw-general] New proposal process has now been fully rolled out!

2008-05-24 Thread Matthew Ratzloff
OK, the magic eight-ball is pretty funny. :-D -Matt On Fri, May 23, 2008 at 10:51 PM, Wil Sinclair <[EMAIL PROTECTED]> wrote: > As many of you are aware, we've been working on revamping the proposal > process to clarify the proposal author's and the Zend team's > responsibilities, provide some t

Re: [fw-general] Establishing naming conventions for Zend Framework 2.0

2008-05-24 Thread Matthew Ratzloff
Hi everyone, It's good to see this issue get so much traction. I think this community, by virtue of having some of the best PHP developers around, has an opportunity to lead the PHP community by example. Naming conventions are just one part of that. I'm going to do an audit of every class this w

Re: [fw-general] Establishing naming conventions for Zend Framework 2.0

2008-05-21 Thread Matthew Ratzloff
Really, your arguments come down to this: Advantages 1. Consistent naming is less confusing so you don't have to go to the API Disadvantages 1. Breaks backwards-compatibility (the degree to which is undetermined at present) A migration tool is only useful if the community wants it, and it's not a

Re: [fw-general] Zend Framework and Dojo

2008-05-21 Thread Matthew Ratzloff
Interesting, but not altogether surprising, given some statements last year by Andi and others. Will Dojo be announcing this as well? -Matt On Wed, May 21, 2008 at 9:01 AM, Martin Hujer <[EMAIL PROTECTED]> wrote: > > I'm really looking forward to :) > > > http://andigutmans.blogspot.com/2008/05/

Re: [fw-general] leaving Zend

2008-05-21 Thread Matthew Ratzloff
Darby, Congratulations on your new job! You've been a huge influence on the framework and you will definitely be missed. Best of luck, -Matt On Wed, May 21, 2008 at 7:10 AM, Darby Felton <[EMAIL PROTECTED]> wrote: > Hi all, > > My last day at Zend will be this Friday, May 23. It's been an inde

Re: [fw-general] Establishing naming conventions for Zend Framework 2.0

2008-05-21 Thread Matthew Ratzloff
On Wed, May 21, 2008 at 7:36 AM, Kevin Hallmark <[EMAIL PROTECTED]> wrote: > > How big are your applications..? The one I'm working on right now has 30 > different controllers, 25 models and 100 view scripts. That's more than an > hour… without considering any sort of software quality assurance p

[fw-general] Establishing naming conventions for Zend Framework 2.0

2008-05-19 Thread Matthew Ratzloff
This seems like a perennial issue for me, but I'm bringing it up again because I think it's worthwhile. Since the beginning of this project, there hasn't really been much in the way of direction given on naming standards for classes in Zend Framework. This lack of consistency is what has yielded t

Re: [fw-general] Best practice in class-zend coding?

2008-05-19 Thread Matthew Ratzloff
This. -Matt On Mon, May 19, 2008 at 12:37 PM, Ralph Schindler <[EMAIL PROTECTED]> wrote: > Actually, in the case you bring up, I think it depends on the goals of the > object which influence its api. When you talk about having getters and > setters, you are typically modifying the STATE of an o

Re: [fw-general] Zend_Paginator... when?

2008-05-16 Thread Matthew Ratzloff
Hi David, Jurriën and I currently hope to have Zend_Paginate ready for Zend Framework 1.6. -Matt On Fri, May 16, 2008 at 12:55 PM, David Mintz <[EMAIL PROTECTED]> wrote: > Off the record, approximately when is Zend_Paginator expected to make its > debut? > > -- > David Mintz > http://davidmintz.

Re: [fw-general] Zend Loader performance

2008-05-11 Thread Matthew Ratzloff
Although I was (like you) under the impression that opcode caches couldn't cache autoloaded classes, I'm more inclined to trust Matthew and Ralph than a blog post from last December that doesn't have the test suite available for download. Five months is a long time in Zend Framework time; since th

Re: [fw-general] Subdomains and Zend Framework

2008-05-10 Thread Matthew Ratzloff
, Martel. -Matt On Fri, May 9, 2008 11:43 am, Michał Minicki wrote: > Matthew Ratzloff wrote: > >> Or have one installation, rewrite all URLs to index.php, and extend your >> own router and route (I believe) from Zend_Controller_Router_Rewrite and >> Zend_Controller_Rout

Re: [fw-general] Subdomains and Zend Framework

2008-05-09 Thread Matthew Ratzloff
Or have one installation, rewrite all URLs to index.php, and extend your own router and route (I believe) from Zend_Controller_Router_Rewrite and Zend_Controller_Router_Route. That would be the cleanest way. -Matt On Fri, May 9, 2008 2:16 am, Cristian Bichis wrote: > Try to symlink each folder p

Re: [fw-general] Web services & licensing issue

2008-05-09 Thread Matthew Ratzloff
I agree; a link in the code is a good compromise. Beyond that, this is a training issue if this is truly relevant to your company, Federico. Otherwise, you can create a deployment script that removes these components. -Matt On Fri, May 9, 2008 8:23 am, Matthew Weier O'Phinney wrote: > Let's be

Re: [fw-general] ZF, Smarty, VDaemon

2008-05-07 Thread Matthew Ratzloff
Hi Robert, I'm not sure how this relates to Zend Framework; it seems more appropriate for the VDaemon forum. Maybe I'm missing something? My thoughts: I've never been a fan of Smarty (especially after working with it regularly...) and Zend_Form is awesome. Does that help? ;-) -Matt On Wed, M

Re: [fw-general] zend + iphone subdomain

2008-05-03 Thread Matthew Ratzloff
http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.contextswitch -Matt On Sat, May 3, 2008 1:30 pm, draketherake wrote: > I want to have a regular version of my website and an iphone version at a > subdomain of iphone.domain.com. However, I don't

Re: [fw-general] Zend_Threading is ready for review

2008-04-26 Thread Matthew Ratzloff
Ben has renamed the proposal Zend_Console_Process in response to community feedback. http://framework.zend.com/wiki/display/ZFPROP/Zend_Console_Process+-+Ben+Scholzen -Matt On Sat, April 26, 2008 2:30 pm, Marcus Bointon wrote: > It is - I've been using it for years in some daemons, and it works

[fw-general] Can someone at Zend please fix the JIRA configuration?

2008-04-23 Thread Matthew Ratzloff
I've raised this issue before, but I still run into it. Whenever I create a new ticket in JIRA (literally every time), the "success" page I get sent to is this: -- HTTP Status 404 - No view for result [error] exists for action [ViewIssue] type Status report message No view for resul

Re: [fw-general] Handling SOAP requests with ZFW?

2008-04-21 Thread Matthew Ratzloff
I'd suggest Zend_Soap, but it seems like it will never leave the incubator. http://framework.zend.com/svn/framework/trunk/incubator/library/Zend/Soap/ Needs more testing, apparently. We recently did a big SOAP single sign-on project here for one of our clients, and we ended up just using thi

Re: [fw-general] Zend_Loader and addPrefix()

2008-04-18 Thread Matthew Ratzloff
Why don't you put it under the library directory? library/ Ns/ Zend/ Problem solved... -Matt On Fri, April 18, 2008 4:35 am, Giorgio Sironi wrote: > Hello everyone, I am subclassing Zend_Loader to allow my module > classes to reside in a subdirectory of application/modules/module_name >

<    1   2   3   4   >