Re: [fw-general] Allowing global variables with Zend Framework

2007-07-07 Thread Eric Coleman
If your migrating TO the zend framework, wouldn't it make more sense to just fix the spots that rely on globals, esp since php 6 removed them afaik On Jul 7, 2007, at 8:34 PM, kevin7654 wrote: Hello, I'm trying to slowly migrate an app I've written over to the zend framework. The app c

[fw-general] Can't convert Zend_XmlRpc_Response object automatically?

2007-07-07 Thread guoqiang qian
hi, I use Zend_Xmlrpc_Server,If I write a xmlrpc of method, need to return to a Zend_XmlRpc_Response object?

[fw-general] Allowing global variables with Zend Framework

2007-07-07 Thread kevin7654
Hello, I'm trying to slowly migrate an app I've written over to the zend framework. The app currently relies on global variables, ie global $my_name, and it also relies on get and post values. Can I enable this with the zend framework? Thanks, Kevin -- View this message in context: http://

Re: [fw-general] Naming convention for module view helpers/filters

2007-07-07 Thread Matthew Weier O'Phinney
-- PotatoBob <[EMAIL PROTECTED]> wrote (on Friday, 06 July 2007, 08:25 PM -0700): > Is there a naming convention for module view helpers or filters. > (application/modules/blog/views/helpers) > Blog_Views_Helpers_MyHelper? Use singular instead of plural: Blog_View_Helper_MyHelper, Blog_View_F

Re: [fw-general] configure default Zend_Locale for Zend_Date

2007-07-07 Thread Thomas Weidner
Hy Philip, I would expect to have the locale within the session. There is no need of grabbing the locale from Registry or Cache or to recreate it if you have the locale in your session. Btw: You dont need to give the locale-object... it's enough to give the locale-definition-string... f.e. "e

RE: [fw-general] End of php4 -> gophp5

2007-07-07 Thread Andi Gutmans
I am already looking into this. We currently don't require PHP 5.2.x but I believe we can sign up and agree that by Feb 2008 we will. It will take me a few more days to look into this but it's likely I will sign us up. Thanks, Andi > -Original Message- > From: Bruno Friedmann [mailto:[

Re: [fw-general] configure default Zend_Locale for Zend_Date

2007-07-07 Thread Philip Iezzi
> If there is currently no way to do this, can anybody pls tell me how to set > HTTP_ACCEPT_LANGUAGE for wget on a Debian Etch system? ok, here's my workaround for the moment: wget --header='Accept-Language: de-ch' e.g. in .bashrc: alias wget="wget --header='Accept-Language: de-ch'" I'm still

Re: [fw-general] configure default Zend_Locale for Zend_Date

2007-07-07 Thread Philip Iezzi
Hi Thomas, Thanks for your solution. This is not really appropriate as I initiate a lot of Zend_Date instances and it would be a huge code change. I'd prefer to set a default locale for the whole framework in my bootstrap instead of grabbing the locale in each controller from Zend_Registry / Ze

Re: [fw-general] configure default Zend_Locale for Zend_Date

2007-07-07 Thread Thomas Weidner
Hy Philip, you just have to do: $locale = new Zend_Locale(Zend_Locale::ENVIRONMENT); $date = new Zend_Date($locale); Just get sure that you store your locale, f.e. within Zend_Cache and initiate every date instance with the given locale. This way you override the standard settings from your cl

[fw-general] configure default Zend_Locale for Zend_Date

2007-07-07 Thread Philip Iezzi
This may have been discussed earlier on this list but I cannot find the thread... How do I configure a default locale for all Zend_Date instances? I need to override browser detection (Zend_Locale::BROWSER) as wget does not seem to provide any HTTP_ACCEPT_LANGUAGE environment variable. Is there

Re: [fw-general] CMS sample app

2007-07-07 Thread Christian Fischer
Take a lok here: http://framework.zend.com/fisheye/browse/Zend_Framework_Laboratory/zfdemo Michael Trowe wrote: > > Am Fri, 6 Jul 2007 01:07:08 -0700 (PDT) schrieb Christian Fischer: > >> When its ready i will post the sample link here, but i think it will take >> 2 >> Months till i got it s

[fw-general] zend_uri: ->getDir() missing?

2007-07-07 Thread mike55
hi, to convert relative links in a html page to full links, i need to get the host and directory part of a url. e.g. from "http://www.hostname.com/directory/file.html"; i need "http://www.hostname.com/directory/"; with zend_uri you get the host part with ->getHost(). but then there's only ->getP

Re: [fw-general] AMF implementation

2007-07-07 Thread batoon
This is very interesting topic. -- View this message in context: http://www.nabble.com/AMF-implementation-tf4021449s16154.html#a11476363 Sent from the Zend Framework mailing list archive at Nabble.com.