Re: [fw-general] Zend_Locale: how to stop it load xml file on every request?

2007-04-16 Thread Gavin Vess
Hi Joe, Typical ZF applications probably will only load a few of the locale data files in Zend/Locale/Data. The i18n components in the ZF support serialization, which could be combined with Zend_Cache. Also see the section "Performance optimization when using a default locale": http://framewo

Re: [fw-general] Re: [PHP-DEV] ZF 0.8.0 Unit Tests behaving different on PHP 5.2.1 and PHP 5.2.2-dev

2007-04-16 Thread Gavin Vess
As always, we welcome everyone to create issues in our issue tracker that document an issue. Currently, we are focused on achieving ZF 1.0. Thus, we prefer to focus on issues affecting the latest SVN version of the ZF and a version of PHP supported by the ZF (currently stable releases of PHP

Re: [fw-general] ACL for modules

2007-04-16 Thread Gavin Vess
Hi Teemu, The ZFDemo tutorial has an example of using an ACL at a module level. Section 8 of the tutorial introduces an ACL applied by a module to its controllers and actions: http://framework.zend.com/fisheye/browse/Zend_Framework_Laboratory/zfdemo/section8_acl Section 17 of the tutorial add

Re: [fw-general] Doesn't php 5.2.0 support PDO for MySQL ?

2007-04-04 Thread Gavin Vess
Hi Jason, Yes, there is a ZF mysqli adapter deep in the SVN tree: http://framework.zend.com/fisheye/browse/Zend_Framework/trunk/library/Zend/Db/Statement/Mysqli Cheers, Gavin Jason Qi wrote: BTW, is there any option for ZFW if there is no PDO support? Thanks. Jason. *//*

Re: [fw-general] Doesn't php 5.2.0 support PDO for MySQL ?

2007-04-04 Thread Gavin Vess
Hi Jason, There are some non-trivial bugs with 5.2.0. My personal recommendation would be to use a different version of PHP. http://framework.zend.com/wiki/x/zSM - requirements http://framework.zend.com/wiki/x/rw0 - web hosts http://bugs.php.net/search.php?search_for=&boolean=1&limit=10&orde

Re: [fw-general] zend_session question

2007-04-03 Thread Gavin Vess
Hi Tomek, I proposed adding an option to disable the check for save_path previously. I attached the test patch to the issue below. If you set save_path to anything writable the exception will not occur. Setting a save_path has no effect, if you are not using the default files-based save ha

Re: [fw-general] search friendly

2007-04-03 Thread Gavin Vess
Matthew Weier O'Phinney wrote: The problem for this last url is the form submission, cause it constructs search?test and not search/test Maybe using a javascript... does anybody knows where I can found about it? There are plenty of tutorials on javascript out there -- google is your f

Re: [fw-general] Re: Forwarding - Redirecting

2007-04-03 Thread Gavin Vess
Hi Stephan, I have not seen any specific problems mentioned with the functionality of _forward() and _redirect(). However, I have seen open source applications that ambiguously used the word "forward" to perform HTTP redirection. Words used ambiguously can be confusing. Maybe the names are

Re: [fw-general] Re: Forwarding - Redirecting

2007-04-02 Thread Gavin Vess
Hi Joshua, Despite the notices at the top of the Wikipedia entry, I think you will find what you are looking for here: http://en.wikipedia.org/wiki/Post/Redirect/Get http://www.theserverside.com/tt/articles/article.tss?l=RedirectAfterPost Yes, _forward() is simply a technique for internal

Re: [fw-general] Zend_Date::getDate() don't return a clone in the DATE_MEDIUM format

2007-03-30 Thread Gavin Vess
Hi Julien, What is the output when you run the script below? Cheers, Gavin get(Zend_Date::ISO_8601), "\n"; echo $today->get(Zend_Date::YEAR), "\n"; $nextDay = $today->getDate(); $nextDay -> addDay(1); echo $nextDay->get(Zend_Date::ISO_8601), "\n"; echo $nextDay->get(Zend_Date::YEAR), "\n"; ?

Re: [fw-general] Zend_Session - feature request or help

2007-03-26 Thread Gavin Vess
ome mailing list for Zend_Session). Andries Seutens wrote: ps: i can take a shot at it if you like. shouldn't be too hard. Best, Andriesss Andries Seutens schreef: Yep, key value paris it is. Best, Andriesss Gavin Vess schreef: Just to confirm .. $privileges is an array? So you are

Re: [fw-general] Zend_Session - feature request or help

2007-03-26 Thread Gavin Vess
Just to confirm .. $privileges is an array? So you are asking for a convenience function to merge an existing array of key => value pairs with a session namespace? Cheers, Gavin Andries Seutens wrote: Hello all, I am porting our company's framework to the Zend Framework, and I was looking

Re: [fw-general] Registry over setParam

2007-03-23 Thread Gavin Vess
Hi Ian, If your application has only one view object, then using the registry is ok, but all controllers will write to the same view object, possibly polluting it or causing name clashes. If your application never uses more than a single controller, then pollution and name collision won't oc

Re: [fw-general] Session

2007-03-23 Thread Gavin Vess
Use: $siteNamespace = new Zend_Session_Namespace($site_name); .. in each location where you need access to the session namespace $site_name. This will work as desired, without resorting to using a registry. Cheers, Gavin Ian Warner wrote: Hi In my bootstrap I have the following code: //

[fw-general] JIRA Issue Tracker Linking - "is related to"

2007-03-22 Thread Gavin Vess
Greetings, I added a new issue linking relationship to our issue tracker called "is related to". Previously, only "duplicate" and "depends on" were supported. However, sometimes issues are related, similar, or variants worthy of their own issue. Rather than create numerous additional relat

Re: [fw-general] Registry object

2007-03-21 Thread Gavin Vess
Yes. See http://framework.zend.com/wiki/x/clc Cheers, Gavin depace wrote: ok guys i have one question... please let me know if its possible or not... (in ZF 0.9 beta) I want to initialize object in one controller and want to use it in another ... is it possible??/ AbcController: $obj_abc

Re: [fw-general] Where's the YAML parser?

2007-03-20 Thread Gavin Vess
Hi Paddy, Excellent! If PHP and ZF both include support for JSON ... all the more reason to support a YAML parser (i.e. superset with some nice "extras"). Cheers, Gavin [EMAIL PROTECTED] wrote: --> YAML is light on the ground in PHP. Outside the Spyc library which is bundled with Symfony a

Re: [fw-general] Where's the YAML parser?

2007-03-20 Thread Gavin Vess
Perhaps Bruno has something? This topic was discussed last Summer (see topic thread appended below). http://www.yaml.org/refcard.html - YAML reference card http://en.wikipedia.org/wiki/YAML - YAML intro http://whytheluckystiff.net/syck/ - PHP extension homepage http://sources.gentoo.org/viewc

Re: [fw-general] zend_date

2007-03-16 Thread Gavin Vess
Hi Paullo, Try: 'php')); // changed 66 to 06, and no repetition of date tokens $date_input = new Zend_Date('06/03/2007','d/m/y'); $month = $date_input->get(Zend_Date::MONTH); $day = $date_input->get(Zend_Date::DAY); $year = $date_input->get(Zend_Date::YEAR_8601); echo $month.'-'.$day.'

Re: [fw-general] Thank you

2007-03-14 Thread Gavin Vess
Hi Alan, I am grateful to hear that the Zend Framework community is putting "fun" into the lives of PHP developers :) As we approach 1.0, we need to hear more from developers like you, to make sure our APIs work well for the most common needs and uses. So please stay in touch and share any c

Re: [fw-general] Zend_View Best-Practice Composite-View

2007-03-14 Thread Gavin Vess
Nesting of views is supported, but controllers can not currently be nested. Controllers can be chained using Zend_Controller_Action::_forward(). Unlike some other MVC patterns, views also do not "contain" sub-controllers. If you seek only nesting of views, see the recently added support for

Re: [fw-general] Allowing return strings to be translated

2007-03-13 Thread Gavin Vess
Bill Karwin wrote: Based on the exception type and the values it returns from methods, an application programmer should be able to write his own message. The phrase translation mechanism Thomas mentioned offers an intriguing approach avoiding much of the if ... then .. else associated with sw

Re: [fw-general] ZendFW chat

2007-03-09 Thread Gavin Vess
Hi Patrick, Yes, thanks to the efforts of Richard :) http://framework.zend.com/wiki/display/ZFDEV/Wildfire+Jabber+Server Cheers, Gavin Patrick Veach wrote: Did we ever set up a ZendFW chatroom? I know there was talk, but I don't know what was decided. thanks. pat

Re: [fw-general] Zend_Session::destroy() - Cannot modify header information

2007-03-08 Thread Gavin Vess
Jim, I have done exactly the same thing you described below, by adding debugging code, forgetting to find/remove all of it, and then running into "headers already sent" issues. On the proposal page below, in a comment, I proposed a variation that solves this type of problem, and even allows

Re: [fw-general] Zend_Session::destroy() - Cannot modify header information

2007-03-08 Thread Gavin Vess
Hi Jim, Ok, in your case the "headers already sent" message seems unrelated to Zend_Session. Since _redirect() adds a "Location" HTTP header to the response object, and, by default, sends the HTTP headers in the response object before exit()'ing, why use "some sort of echo" before calling $

Re: [fw-general] Zend.php proposal

2007-03-07 Thread Gavin Vess
Matthew, Heh, I expected some feedback on this. Point taken and accepted :) There has been some inconsistency in the ZF for balance points between simplicity and complexity of component APIs. Often, comparing two extreme alternatives helps rule out alternatives, hopefully leaving a plausibl

Re: [fw-general] Zend.php proposal

2007-03-07 Thread Gavin Vess
The result looks good, although calling instance methods statically seems more like a bug than a feature to me ;) All issues raised are addressed, except "Zend::registry()" vs. "Zend_Registry::getInstance()". What if "Zend_Registry::getRegistry()" was an alias of "Zend_Registry::getInstance(

Re: [fw-general] Zend_Session::destroy() - Cannot modify header information

2007-03-07 Thread Gavin Vess
There are several possible reasons for this, including both Zend_Session related and non-ZF related. Which version of the ZF are you using? Which method/function call is the immediate cause of the "Cannot modify" message? Cheers, Gavin Jim Scherer wrote: Hi, I've been getting the 'Cannot mo

Re: [fw-general] Zend_Session::destroy() - Cannot modify header information

2007-03-07 Thread Gavin Vess
Hi Regis, Invoking "Zend_Session::destroy(true)" also requests removal of the user agent's PHP session cookie. In HTTP, the instructions for modifying (e.g. expiring) cookies go into HTTP headers. Thus, "Zend_Session::destroy(true)" must either be called before PHP has sent HTTP headers, or o

Re: [fw-general] Zend.php proposal

2007-03-07 Thread Gavin Vess
I didn't find any reasons given for changing the existing registry API in Zend.php to the one in the proposal. Does anyone else want or need a static setter/getter for Zend_Registry? Static methods can not have the same names as public methods. The "$this" variable is not set when invoking a s

Re: [fw-general] Zend.php proposal

2007-03-07 Thread Gavin Vess
What if we included the subclass "in the box"? Both the old and the new are designed to work smoothly with subclasses. Cheers, Gavin Stanislav Malyshev wrote: Regarding static accessors for the "special" instance stored in a static variable, they can easily be added using a subclass of Zend_R

Re: [fw-general] Zend.php proposal

2007-03-07 Thread Gavin Vess
> $registry = Zend_Registry::getInstance(); > $registry['key'] = 'value'; The current Zend.php class supports this now, so only the names of the class and methods have changed in C/E. Regarding static accessors for the "special" instance stored in a static variable, they can easily be added u

Re: [fw-general] Hosting ??

2007-03-05 Thread Gavin Vess
Hi guys, Would you help all of us by adding this information to our list of compatible hosting providers? http://framework.zend.com/wiki/display/ZFUSER/Zend+Framework+Web+Hosts Thanks! Gavin Alexander Netkachev wrote: Olivier Revollat wrote: > I try to find a web hosting service wh

Re: [fw-general] Internationalization and the Zend Framework

2007-03-01 Thread Gavin Vess
Perhaps some will find it valuable to elaborate a little more about the issues of serving different content at the same URL based on the value of the HTTP "accept-language" request header. How many crawlers crawl the same URLs multiple times, once for every language they want to "find" at the

Re: [fw-general] Request for feedback: moving Zend.php to Zend/Zend.php

2007-02-28 Thread Gavin Vess
Matthew Ratzloff wrote: The existing one [Zend_Registry] works perfectly well. It uses __set() and __get(), and implements ArrayObject. Thank you :) .. there was an amazing amount of debate over this for months, before the current solution became accepted. I vastly prefer the new Zend_Registr

Re: [fw-general] Internationalization and the Zend Framework

2007-02-27 Thread Gavin Vess
When serving any logical page using the same URL, but with dynamically chosen language content on the page, I would carefully test the results against the search engines you care about, before using that approach. Sometimes practical matters interfere with academics. Now that conventional mod

Re: [fw-general] Request for feedback: moving Zend.php to Zend/Zend.php

2007-02-27 Thread Gavin Vess
Even if not everyone wants the features below, certainly many developers will implement similar capabilities, if not found in the ZF. My intention behind http://framework.zend.com/wiki/x/j1 is merely to find a mutually-agreeable way to support the possibility of adding *utility-like* features

Re: [fw-general] Zend_Locale

2007-02-27 Thread Gavin Vess
Hi Ian, I added examples and docs for this to the Subversion copy of the manual to synchronize with the latest code in SVN. Unfortunately, we are not yet done with some changes to the manual, and the wiki version of the core manual is currently offline. I generated a static HTML set, and th

Re: [fw-general] Request for feedback: moving Zend.php to Zend/Zend.php

2007-02-26 Thread Gavin Vess
I agree completely with Ralf, Simon, Matt R, and others regarding eliminating the current Zend.php class and splitting it up to achieve the flexibility and clarity the ZF has become famous for. In fact, I was pushing for something similar to this in an uncommitted version pre-0.7. Bill and I b

Re: [fw-general] making Zend::loadClass() interface aware

2007-02-21 Thread Gavin Vess
+1 for the tweak to loadClass in ZF-937 The original issues with loadInterface() were related to confusion caused by having two nearly identical functions, and no strong use cases to continue having both parallel methods. Cheers, Gavin Matthew Weier O'Phinney wrote: I proposed the following

Re: [fw-general] Zend Framework 0.8 code freeze

2007-02-16 Thread Gavin Vess
The community server's hard disk appears to be dying a slow death, and I lost several hours of work today, but I have reconstructed a patch for ZF-908 (also fixes a couple other minor bugs) that I hope to get included with ZF 0.8. I'm committing very soon .. Cheers, Gavin P.S. I expect we w

Re: [fw-general] Zend_Session: how to pass session identifier by URL?

2007-02-15 Thread Gavin Vess
Hi Tony, See the following settings: session.use_cookies session.use_only_cookies documented here: http://php.net/session Please make sure to read *all* of the security warnings and risks documented above. Cheers, Gavin Tony Harrison wrote: Hello, I need to pass the session identifier by U

Re: [fw-general] Community chat

2007-02-15 Thread Gavin Vess
We had a server hiccup, and the ZF community jabber chat server is currently offline. http://framework.zend.com/wiki/display/ZFDEV/Wildfire+Jabber+Server Works with GAIM, and other jabber chat clients. Cheers, Gavin flipkick wrote: jabber would be very cool. but i would recommend ejabberd ht

Re: [fw-general] Zend_Config

2007-02-09 Thread Gavin Vess
> [development] should be: [development : all] Then we have: $config = new Zend_Config_Ini('config.ini', 'development'); print_r($config->asArray()); Array ( [global] => Array ( [current] => Array ( [portal] => Beta )

Re: [fw-general] Programmer's Reference Guide: Alternative Formats?

2007-02-08 Thread Gavin Vess
The change to use xinclude in the incubator manual.xml requires changes to the wikification. Andries is working on this. Cheers, Gavin Matthew Weier O'Phinney wrote: -- Gavin Vess <[EMAIL PROTECTED]> wrote (on Thursday, 08 February 2007, 10:39 AM -0800): The manual is up

Re: [fw-general] Programmer's Reference Guide: Alternative Formats?

2007-02-08 Thread Gavin Vess
The manual is updated quite frequently. I use the online wiki copy, which is updated hourly from the XML docbook sources: Core Library http://framework.zend.com/wiki/display/ZFDOCDEV/Home Incubator Library http://framework.zend.com/wiki/display/ZFDOC/Home Click the "Browse Space" link in the u

[fw-general] Windows Users and ZF Unit Tests Causing PHP to Crash

2007-02-05 Thread Gavin Vess
I recently discovered one of the bugs in PHP resulting in a segmentation fault (PHP crashing) was triggered sometimes by one of our unit tests: http://bugs.php.net/bug.php?id=39751 - PHP bug http://framework.zend.com/fisheye/changelog/Zend_Framework/?cs=3230 - workaround http://framework.zend.c

Re: [fw-general] PEAR Channel Distro

2007-02-02 Thread Gavin Vess
I see much value in each of the following scenarios, which combined form what I expect to cover the majority of use cases: 1) PEAR "component" distributing entire ZF (for developers interested primarily in the latest official release of the incubator, docs, and tests, with an easy mechanism to

Re: [fw-general] Authentication in Mail Class

2007-02-01 Thread Gavin Vess
avin Nico Edtinger wrote: Maybe we could create a seperate class for auth methods so we can use them with POP3 and IMAP too. nico [01.02.2007 23:10] Gavin Vess wrote: Moving discussion to fw-formats list ... Hi Justin, Would you like to sign our CLA and create an issue in our issue tracke

Re: [fw-general] Authentication in Mail Class

2007-02-01 Thread Gavin Vess
Moving discussion to fw-formats list ... Hi Justin, Would you like to sign our CLA and create an issue in our issue tracker with this patch? http://framework.zend.com/wiki/display/ZFPROP/Contributor+License+Agreement http://framework.zend.com/issues/secure/Dashboard.jspa Thanks! Gavin Justi

Re: [fw-general] PEAR Channel Distro

2007-02-01 Thread Gavin Vess
Updated: http://framework.zend.com/wiki/x/MUs Cheers, Gavin Michael Caplan wrote: Hi Andriesss, Thanks for pointing this out. Gavin, I don't follow the logic of the FAQ answer. Being a newbie, perhaps I am overlooking something here, but I don't understand your comment that "The Zend Fra

Re: [fw-general] http://framework.zend.com/wiki/dosearchsite.action

2007-02-01 Thread Gavin Vess
@lists.zend.com/ Cheers, Gavin Gavin Vess wrote: I propose removing the wiki space: http://framework.zend.com/wiki/display/ZFMLGEN/ It only contains fw-general mail list posts, but we have numerous other mail lists for the ZF. Other websites, such as Nabble, contain archives for all the other mail

[fw-general] http://framework.zend.com/wiki/dosearchsite.action

2007-02-01 Thread Gavin Vess
I propose removing the wiki space: http://framework.zend.com/wiki/display/ZFMLGEN/ It only contains fw-general mail list posts, but we have numerous other mail lists for the ZF. Other websites, such as Nabble, contain archives for all the other mail lists. How many will want to search only h

Re: [fw-general] PEAR Channel Distro

2007-01-31 Thread Gavin Vess
I think it would be great if a community member stepped forward and contributed some code for use on our Community Development server to automate this :) It is on the "todo" list here: http://framework.zend.com/wiki/display/ZFDEV/Sandbox I can easily see how convenient a "pear update" would be

Re: [fw-general] Zend_Search_...?

2007-01-26 Thread Gavin Vess
Speaking purely from my personal thoughts ... I have used numerous search engines over the past 12 years, some costing six figures for a license. There are some reasonable alternatives, but only for rare situations, IMHO: o commercial - those needing one of the premium commercial search engin

Re: [fw-general] quoteIdentifier not used in Zend_Db_Adapter_Abstract

2007-01-25 Thread Gavin Vess
Hi Nathan, You might also find this background information helpful: http://framework.zend.com/wiki/x/RB8 Cheers, Gavin Nathan Bell wrote: Is there a reason that the function 'quoteIdentifier' is not used in the class Zend_Db_Adapter_Abstract? Shouldn't at least the methods 'insert' and 'upda

Re: [fw-general] Zend Session issues

2007-01-24 Thread Gavin Vess
Moving discussion to fw-auth. Hi Depace, Is there a specific section, paragraph, or example that is confusing? For each risk relating to session hijacking and session fixation, a suggestion has been included in the manual to minimize the risk. I've scanned through docs, and added additional

Re: [fw-general] Poll: Merge Zend_Session_Core into Zend_Session?

2007-01-24 Thread Gavin Vess
Moving discussion to fw-auth. I now believe the "Zend_Session" component name is not an accurate description of the purpose and functionality intended and offered through its public API. I think some of the objections and confusion arises from the name choices (real culprit). Perhaps Zend_Se

Re: [fw-general] Zend_Measure constants wrong?

2007-01-22 Thread Gavin Vess
Moving discussion to [EMAIL PROTECTED] One of the goals we've publicly stated involves supporting tools, and features like auto-completion. Most tools provide "smoother" support for the use of constants as arguments than strings as arguments. The original expectation was that Zend_Measure cl

[fw-general] Preparing for 0.7

2007-01-11 Thread Gavin Vess
Greetings! As ZF 0.7 is rapidly approaching, many changes have been made to the i18n components in the incubator. I am spamming fw-general, since many outside of the i18n mail list might be interested to see these new components. However, for detailed discussions, let us return to using [EM

Re: [fw-general] Coding Standard Discussion Thread - Docblock Standardization

2007-01-03 Thread Gavin Vess
Any ideas on alternative ways to accomplish the visual separation of parameter descriptions without using a hyphen? Cheers, Gavin Matthew Weier O'Phinney wrote: -- Gavin Vess <[EMAIL PROTECTED]> wrote (on Tuesday, 02 January 2007, 02:18 PM -0800): These suggestions look good to

Re: [fw-general] [ANNOUNCEMENT] PhpWishList becomes public

2007-01-02 Thread Gavin Vess
http://sourceforge.net/search/index.php?all_words=zend+framework Lars Strojny wrote: So I'm correctly informed that PhpWishList is the first Open Source project based on Zend Framework?

Re: [fw-general] Coding Standard Discussion Thread - Docblock Standardization

2007-01-02 Thread Gavin Vess
These suggestions look good to me, and seem to summarize standards used by the better commented classes already in the framework. Regarding method comments, I like Thomas' approach using the word OPTIONAL for optional parameters, and then adding the default value thusly: * @param bool $pa

Re: [fw-general] [ANNOUNCEMENT] PhpWishList becomes public

2007-01-02 Thread Gavin Vess
Thanks Lars for a very nice new year's gift to our community :) I couldn't resist .. http://framework.zend.com/wiki/x/Njc Hopefully, we can get a nice list started, so that more PHP developers can find these. Cheers, Gavin Lars Strojny wrote: Hi dear ZF contributors, I'm happy to announce

Re: [fw-general] apache bombs out on PDO::prepare()

2006-12-29 Thread Gavin Vess
Hi Brad, I suggest writing an extremely short PHP script that uses PDO directly, and prepares and retrieves a row of data. If the problem persists, then I would suspect something might be wrong with the installation of PHP or related libraries. Also, I would suggest checking the list of recen

Re: [fw-general] Zend Framework Contributor License Agreements (CLA) Status

2006-12-28 Thread Gavin Vess
Hi Ralf, Yes, the signed copy can be faxed to us, but please also send an email with the information requested, since we frequently have trouble reading hand-written, faxed CLAs: http://framework.zend.com/wiki/x/xgE We do not currently have a form suitable for someone who is not "full ag

Re: [fw-general] Problem with Zend_DB an PDO

2006-12-28 Thread Gavin Vess
Bill, I think Aycko was speaking about a different problem than you described. Aycko> The fieldname is ':field:name' without table prefix. In fact what Aycko described is possible, but not with Zend_Db, for the reasons I gave earlier. I also believe the framework should not impose conventions

Re: [fw-general] Problem with Zend_DB an PDO

2006-12-28 Thread Gavin Vess
Hi Aycko, > Is gives any solution to use field names like this with Zend_DB? This general problem is recognized, and a solution has been proposed: http://framework.zend.com/wiki/x/RB8 See the section titled "Mapping Identifiers between DB and PHP". Cheers, Gavin Aycko Maerzke wrote: Hello t

Re: [fw-general] I18N Newsletter No. 10

2006-12-27 Thread Gavin Vess
Greetings! The i18n team has made amazing progress. I'm glad that we've completed the tasks and components in the 0.6 release as planned, so that I can spend more time with the i18n team preparing for the 0.7 release. After reviewing the Zend_Translate proposal with the devteam, we agreed t

[fw-general] Zend Framework Contributor License Agreements (CLA) Status

2006-12-26 Thread Gavin Vess
Greetings, I believe we have processed all outstanding Contributor License Agreements emailed, mailed, or faxed to Zend. If you have not received confirmation that your CLA has been processed and linked to your JIRA account, please tell me. If you have submitted a CLA, but can not create is

[fw-general] Merry Christmas, Happy Hanukkah, may your holidays be filled with peace and joy!

2006-12-25 Thread Gavin Vess
As a token of the Zend's gratitude for meritorious contributions to the Zend Framework, Zend wishes to initially give away a copy of Zend Studio to each of the 10 contributors below: * Andries Seutens * Davey Shafik * Fabien Marty * Michael Minicki * Ralf Eggert * Ralph Schindler * Richard Thom

[fw-general] Zend_Session - Ready for Testing!

2006-12-21 Thread Gavin Vess
Greetings, and Merry Christmas! Ralph and I have been working hard to bring you Zend_Session. To test drive this cool component, please see the instructions for using the ZF incubator: http://framework.zend.com/wiki/display/ZFDEV/Subversion+Standards Briefly: 1) Always run "svn update" first,

Re: [fw-general] Zend_Registry needs its set() and has() methods back

2006-12-20 Thread Gavin Vess
Thanks Matthew for raising this issue. I've made a couple changes, and improved the documentation: http://framework.zend.com/wiki/x/Wy8 http://framework.zend.com/wiki/pages/pageinfo.action?pageId=12124 I believe the new code examples show how to pass around a registry object explicitly, and t

Re: [fw-general] Registry object

2006-12-18 Thread Gavin Vess
Try "$registry = Zend::registry();" Moving discussion to [EMAIL PROTECTED] Fábio T. da Costa wrote: Zend_Registry :: getInstance() not work in 0.6. The tutorial " AJAX Chat Tutorial" not work: http://devzone.zend.com/node/view/id/1387 Bill Karwin wrote: Yann Nave wrote: I would like

Re: [fw-general] Re: Do we really need Zend::exception()?

2006-12-18 Thread Gavin Vess
:) .. this is almost exactly what I suggested to Bill last week for exactly the same reasons (see the API: http://www.php.net/exceptions ). To see the problem in detail, please consider the attached scripts and their output. Due to the time pressure of the 0.6 release, and the likely time re

Re: [fw-general] Who's working on what list

2006-12-07 Thread Gavin Vess
Yup :) Chris Hartjes wrote: Since I'm working on Zend_Service_Audioscrobbler in the incubator, does that mean I'm part of the Zend_Service_* team?

[fw-general] Re: [fw-i18n] Re: [fw-general] Zend_Filter :alpha

2006-11-17 Thread Gavin Vess
Yes, and Alexander noted that it has some problems under Windoze. Until PHP 6, we seem to have a shortage of good options. --Gavin Thomas Weidner wrote: Also relevant to an implementation of Zend_Filter::getAlpha(): http://framework.zend.com/issues/browse/ZF-550 1.) Not all languages seemed

Re: [fw-general] Zend_Filter :alpha

2006-11-17 Thread Gavin Vess
Also relevant to an implementation of Zend_Filter::getAlpha(): http://framework.zend.com/issues/browse/ZF-550 -- Cheers, Gavin Which ZF List? = Everything, except the topics below: fw-general@lists.zend.com Authorization, Authentication, ACL, Access Control, Session Management

Re: [fw-general] Coding Standard: Magic Methods __get()/__set()/__isset()/__unset() protected or public?

2006-11-16 Thread Gavin Vess
Speaking from my experience, I naturally prefer code that prevents problems, and I prefer code with more checks instead of fewer checks, because I've seen so much "abusive" PHP code with inadequate error checking that required fixing later ;) For even the extreme PHP web applications supportin

[fw-general] Coding Standard: Magic Methods __get()/__set()/__isset()/__unset() protected or public?

2006-11-16 Thread Gavin Vess
It seems today is a day for coding standards ;) At the moment, I do not have a justification for making these __get()/__set()/__isset()/__unset() magic methods public. However, I can think of several reasons they should not be public, as nicely presented by Ralph. Can anyone think of a reas

[fw-general] Coding Standard: Strict Comparisons

2006-11-16 Thread Gavin Vess
One other suggestion for a coding standard, which was vetted and affirmed by Jayson a long time ago, relates to the use of strict comparisons. I will attempt to summarize past discussions: When strict comparisons provide the intended behavior, using strict comparisons make these intentions cl

[fw-general] Coding Standard: magic methods __get(), __set(), __unset(), __isset()

2006-11-16 Thread Gavin Vess
Greetings! For consistency reasons, we could agree on standards for data validation of parameters in magic methods, specifically, __get(), __set(), __isset(), and __unset(). Deciding on standards improves consistency and reduces the communication required for future components. Initial feed

Re: [fw-general] Zend_Http_Server

2006-11-15 Thread Gavin Vess
I think it would be cool if everyone helped maintain a list of the nifty uses they find for the server :) Cheers, Gavin Superbiji wrote: Great ! I will need this. I am creating control panel app so my webapp will run by apache then consuming webservice @localhost running as root On 11/11/0

[fw-general] SVN: Id Author Date Rev

2006-11-15 Thread Gavin Vess
Recently, we added some keywords to files in the ZF SVN repository in changeset 1605: Name: svn:keywords + Id Author Date Rev This instructs Subversion to substitute $$ with certain information. Prior to committing, Subversion unsubstitutes the keywords (to prevent artificial differen

Re: [fw-general] Too many top level components, lack of focus

2006-11-14 Thread Gavin Vess
I think the overall observations of "too many top level components" and "lack of focus" are understandable perceptions that should be clearly addressed in our documentation. Component names are selected based on compromise between logical hierarchy and convenience (i.e. less typing). The deci

Re: [fw-general] Zend_Http_Server

2006-11-10 Thread Gavin Vess
Such features are far beyond the scope or purpose of this development tool: http://framework.zend.com/wiki/x/tgY I would recommend using Apache or Lighttpd or similar to obtain the feature set below. Cheers, Gavin Abu Hurayrah wrote: Sounds like a great idea, Mat. I do have one question,

[fw-general] Coding Standard: Getter methods / absence of value / null [was: Incubator MVC changes]

2006-11-10 Thread Gavin Vess
In principle I agree with Gerrit regarding "null is a perfectly valid value", but only as a programmatic idiom, while the semantic meaning of null normally centers on "the absence of a value". Null "values" are commonly used as the "value" of a key or field in a DB, but there are simple ways t

Re: [fw-general] Spam issues

2006-11-08 Thread Gavin Vess
Sadly, I'm removing the ability for anonymous users to add comments to this wiki space. Shout back, if you think we should do something differently ... suggestions always welcome! Cheers, Gavin Andries Seutens wrote: Hey all, I was looking at the dashboard and i noticed that another spamme

Re: [fw-general] FreeBSD port has been created for Zend Framework 0.2.0

2006-11-07 Thread Gavin Vess
Thanks Greg! We have a special area to help users find things like this. Would you mind adding appropriate information to our wiki page: http://framework.zend.com/wiki/display/ZFUSER/Distro+Packagers Cheers, Gavin Greg Larkin wrote: --> Greetings everyone, I just recently got interested in

Re: [fw-general] Class member orgainizational conventions

2006-10-27 Thread Gavin Vess
I am use to seeing instance and class variables at the beginning of class definitions, then constructors and destructors. The rest, I expect to search for with a few keystrokes in vim. I rarely notice other differences in the organization of the source code for classes. Cheers, Gavin Allar

Re: [fw-general] Minor issue - is_null()

2006-10-24 Thread Gavin Vess
Consistency is a consistent goal for the ZF. I agree with Peter, Willie, and Shahar. What should we do when testing objects that have a logical null state? Cheers, Gavin Peter Hodge wrote: Sometimes it's a more consistent to use is_null() when you are using the other type-checking functions in

Re: [fw-general] Zend_Filter::isEmail() status

2006-10-24 Thread Gavin Vess
Moving discussion to fw-formats list. Chris, any news for us? Cheers, Gavin Original Message Subject:Re: [fw-general] Filter_Input::testEmail() and Filter::isEmail() Date: Sun, 01 Oct 2006 11:26:22 -0400 From: Chris Shiflett <[EMAIL PROTECTED]> To: Gavi

Re: [fw-general] (testing, please ignore)

2006-10-23 Thread Gavin Vess
Yes, one of our admins was able to find an unsubscribe the amazon email from the list. Cheers, Gavin André Hoffmann wrote: On 10/23/06, *Kevin McArthur* <[EMAIL PROTECTED] > wrote: Can confirm this, just got it with my latest post. My guess is someone

Re: [fw-general] Zend_Collections ?

2006-10-22 Thread Gavin Vess
Hi Allard, I suggest contacting Andries and Rob, who also have an interest in this topic. http://framework.zend.com/wiki/x/GgE#ZendFrameworkContributor-GettingStarted-ZFContainerAPIGuidelines The above does not necessarily preclude the possibility of a container class developing in the ZF La

[fw-general] Re: Zend_Search_Lucene grouped queries

2006-10-22 Thread Gavin Vess
Forwarding to the fw-formats mail list. Alexander Veremyev wrote: Hi David, Zend_Search_Lucene doesn't support subqueries now. I work on subqueries just now. Until it's not done only multiterm query may be used to filter query result by some fields: +userterm1 +userterm2 +url:support +url:k

[fw-general] Re: Issue with Zend Mail API

2006-10-22 Thread Gavin Vess
Moving discussion to the "formats" mail list. I documented the bug, and a proposed solution: http://framework.zend.com/issues/browse/ZF-455 As always, comments, reviews, patches, documentation, and unit tests are needed. If you only have time for one of these, your contribution is still welco

Re: [fw-general] Re: ZFTestManager available in laboratory

2006-10-17 Thread Gavin Vess
Let us move this discussion to fw-core: http://framework.zend.com/wiki/x/QxM Those who are only subscribed to fw-core and are interested in test-related issues will miss the discussion in fw-general. Thanks, Gavin Which ZF List? = Everything, except the topics below: fw-gener

Re: [fw-general] ZFTestManager available in laboratory

2006-10-17 Thread Gavin Vess
Oops .. we should give Ralph a chance to first review the proposal for ZF, make any desired edits, and remove the "Under Construction" box, before proceeding. The proposal contains more information, and more up-to-date information than the JIRA issue, which is effectively superseded by the pro

Re: [fw-general] Problem With Oracle

2006-10-17 Thread Gavin Vess
See the notes about case sensitivity here: http://www.oracle.com/technology/tech/php/htdocs/php_troubleshooting_faq.html Also, see the user comments here: http://php.net/oci8 When fetching associative arrays, use uppercase string indices. It appears the PHP OCI Library is less lenient wit

Re: [fw-general] Wiki - Docbook

2006-10-13 Thread Gavin Vess
Andries, Regarding semantics, information "lost" when converting *our* docbook to wiki could be saved by embedding trivial wiki "comments". As a practical matter, almost everything found in our docbook files have corresponding equivalents in Confluence and can be translated back and forth be

  1   2   >