Re: [fw-general] Keep me logged in + Password reset for login forms

2009-05-20 Thread Bram Schoenmakers
Op woensdag 20 mei 2009 17:03:29 schreef Deanna Bonds: Hi Deanna, > Although I am thinking of the google model now where you ask personal > questions and allow him to change it to something if he answers correctly. I don't know how Google does this, but it sounds insecure. It's relatively easy

[fw-general] Zend_OpenId status

2009-05-20 Thread Vladas Diržys
Hi, wanted to ask what is the status about Zend_OpenId component. As I can see, at the moment Zend_OpenId supports only the draft 2.0 version of OpenId protocol. And as OpenId is now supported from the large providers like Google, it would be nice to have the support for final 2.0 version. So my

[fw-general] Zend_Chart

2009-05-20 Thread Ondrej Ivanič
Hi, The wiki page for Zend_Chart [1] was edited more than half a year ago and I tried contact developers via e-mail recently but I didn't receive any response. I would like to know if this component is under active development or is orphaned. I have personal interest in this kind of component but

Re: [fw-general] Re: Does Zend_Json_Expr work?

2009-05-20 Thread Deanna Bonds
Deanna Bonds wrote: If it doesn't work through the context switcher, I might can set up a callback on the json context and chain the existing method and set up a post processor for it. Then in the code have something like array( 'handler' => array('somewildtagname' => 'javascript code') The

[fw-general] Gdata class for new Google Maps Data API

2009-05-20 Thread Jeffrey Sambells
Hi All, Google announced the new Google Maps Data API (http://code.google.com/apis/maps/documentation/mapsdata/ ) at Where 2.0 today and I just wanted to mention that We-Create has also release Zend_Gdata compatible classes to access it (http://wecreate.com/ces/webready ). How do we go about

[fw-general] Re: Zend_Service_LiveDocx - Read for review

2009-05-20 Thread Colin Guthrie
'Twas brillig, and Jonathan Maron at 18/05/09 11:43 did gyre and gimble: After much work, Zend_Service_LiveDocx is ready for review. This looks really interesting. I've not got a use for it right now, but I'll keep it in mind :) Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.gut

RE: [fw-general] Concept of Zend Framework

2009-05-20 Thread Sergio Rinaudo
Hi, I advice you to start from here: http://akrabat.com/zend-framework-tutorial/ If you have to create a class named 'My_Navigation_Page', you must save it at library/My/Navigation/Page.php, where library is the same directory where your Zend Framework dir is saved. - library -- Zend -- My

[fw-general] Concept of Zend Framework

2009-05-20 Thread Joakim Gerth
Hi all, A really simple question for you guys. In my effort to learn the framework I run into a lot of examples of the different components. For example, when reading about the zend_navigation I see the following, - *Example 37.9. Creating a custom page type using the page fa

[fw-general] Zend_Navigation and type attrib

2009-05-20 Thread Arthur M. Kang
I've been playing around with Zend_Navigation and am having some difficulty trying to get the head view helper to display something like: href="http://www.example.com/rss/feed/"; /> I can't get the *type attrib* to appear. I saw in the Links view helper the note: // TODO: add more attribs

Re: [fw-general] Zend Tool Error (?)

2009-05-20 Thread SirEdward
Thanks - that's seems to have solved it. I've zipped up the tests and it's working. Incidentally, in case anyone else gets this problem, originally I just downloaded the minimal ZF install, but for 1.8.1 I went for the full package as I wanted the ZendX JQuery classes. The tests aren't included i

Re: [fw-general] Reusing a partial across modules

2009-05-20 Thread Sudheer Satyanarayana
keith Pope wrote: 2009/5/20 Sudheer Satyanarayana : Hello all, I am trying to reuse a partial in all my modules. I have the partial placed at modules/default/views/scripts/search.phtml In the view script modules/admin/views/scripts/branch/index.phtml I have the following code: paginationC

Re: [fw-general] Reusing a partial across modules

2009-05-20 Thread keith Pope
2009/5/20 Sudheer Satyanarayana : > Hello all, > > I am trying to reuse a partial in all my modules. > > I have the partial placed at modules/default/views/scripts/search.phtml > > In the view script modules/admin/views/scripts/branch/index.phtml I have the > following code: > > paginationControl($

[fw-general] Reusing a partial across modules

2009-05-20 Thread Sudheer Satyanarayana
Hello all, I am trying to reuse a partial in all my modules. I have the partial placed at modules/default/views/scripts/search.phtml In the view script modules/admin/views/scripts/branch/index.phtml I have the following code: paginationControl($this->paginator, 'Sliding', 'search.phtml', ar

Re: [fw-general] Handling exceptions inside front controller plugins

2009-05-20 Thread Karol Grecki
>Exceptions should generally be reserved for exceptional behavior (like a >database not being present, or file cannot be accessed altered.) >Auth/Acl type stuff should be returning booleans when asked questions >like 'is there a user' or 'does he have access'. In this case, you'd >want to (du

RE: [fw-general] what can be used t replace these nice smarty features

2009-05-20 Thread Anthony Smith
Perfect! -Original Message- From: Tobias Gies [mailto:tobiasg...@googlemail.com] Sent: Tuesday, May 19, 2009 03:56 PM To: 411161 Cc: fw-general@lists.zend.com Subject: Re: [fw-general] what can be used t replace these nice smarty features Hi, you can either use the form* family of view

Re: [fw-general] Zend Tool Error (?)

2009-05-20 Thread Ralph Schindler
You must also have the ZF tests inside your include_path. I know about this issue and am finding a way to not include the tests directory in the loader if its present. In the mean time, simply remove the tests from the include_path. -ralph SirEdward wrote: I upgraded to 1.8.0 recently and w

Re: [fw-general] create project from .zfproject.xml

2009-05-20 Thread Ralph Schindler
I will be working on this feature after the bughunt we are currently doing. This feature (now that people have had a chance to play with Zend_Tool) it top priority. If there is not already a feature request for this in the issue tracker, can you add one? -ralph Mike Wright wrote: Hi all,

Re: [fw-general] current state of Zend_Tool and modular apps, true or false?

2009-05-20 Thread Ralph Schindler
Sorry david, must have got lost in the shuffle. True or false:: there is no way to create a multi-module project right out of the gate using 'zf create project ' Yes, in 1.8.1 there is the 'create module' command. Until you need it, the modules directory is not created. True or false

Re: [fw-general] [OT] General design question

2009-05-20 Thread fire-eyed-boy
Jurian Sluiman wrote: > > > > > Hi, > I'd go for neither of these methods. Create models for Users, Videos and > Images and connect them together by using the relational features of > Db_Table. > Then call the getter for images only when required. You don't need to get > the > images at a

Re: [fw-general] Zend_Navigation and Zend_Application configs

2009-05-20 Thread gerardroche
thanks, I added it to the issue tracker http://framework.zend.com/issues/browse/ZF-6747 http://www.nabble.com/different-navigation-per-module-td23613748.html is possibly related too. Mon Zafra wrote: > > I think line 99 in Zend/Application/Resource/Navigation.php is wrong. It > shouldn't expl

Re: [fw-general] [OT] General design question

2009-05-20 Thread Deanna Bonds
fire-eyed-boy wrote: Deanna Bonds-2 wrote: I would use the join method. Calling out to the database is an expensive operation, so I try to minimize the number of calls. Also, try not to think in terms of loops when you consider data, it is more based in set theory. Set theory is w

Re: [fw-general] Handling exceptions inside front controller plugins

2009-05-20 Thread Ralph Schindler
I use controller plugin for authentication and noticed that if an exception is thrown inside, the action is still executed (throwExceptions = false, my It depends on what you are hooking into ultimately. Authentication/Authorization stuff should generally happen in preDispatch() since this

Re: [fw-general] [OT] General design question

2009-05-20 Thread fire-eyed-boy
Deanna Bonds-2 wrote: > > I would use the join method. Calling out to the database is an > expensive operation, so I try to minimize the number of calls. Also, > try not to think in terms of loops when you consider data, it is more > based in set theory. > Hi Deanna, Thanks for the res

Re: [fw-general] different navigation per module

2009-05-20 Thread gerardroche
>>for the admin module i would show another navigation. >>in my config file i have this line. >> >>'admin' => array( >> 'resources'=>array( >> 'navigation'=> array( >> 'pages' => include dirname(__FILE__) . >> '/admin.navigation.config.php' >> ), >> ) >>

Re: [fw-general] Keep me logged in + Password reset for login forms

2009-05-20 Thread Deanna Bonds
bytte wrote: I've created a basic login system using Zend_Auth and Zend_Acl and now I'm wondering what's the best way to expand my login form with these two extra functionalities: - "keep me logged in on this computer" feature - password reset if visitor has forgotten password These two thing

Re: [fw-general] zend_rest_client inserts unnecessary vars into querystring

2009-05-20 Thread till
On Wed, May 20, 2009 at 4:51 PM, Mark Wright wrote: > Calling the Flickr method in that way results in a fatal error: > Fatal error: Call to undefined function gettoken() > > One other thing I tried was $flickrObj->arg1(null) and the same with > rest. Didn't work. They were still being set in the

RE: [fw-general] FW: Zend_Navigation: how to render?

2009-05-20 Thread Sergio Rinaudo
It works perfectly! Thank you very much Sergio Rinaudo > Date: Wed, 20 May 2009 07:29:41 -0700 > From: bullfrogbl...@live.com > To: fw-general@lists.zend.com > Subject: Re: [fw-general] FW: Zend_Navigation: how to render? > > > >If I have this example code > > > >$container = new Zend_Navig

Re: [fw-general] zend_rest_client inserts unnecessary vars into querystring

2009-05-20 Thread Mark Wright
Calling the Flickr method in that way results in a fatal error: Fatal error: Call to undefined function gettoken() One other thing I tried was $flickrObj->arg1(null) and the same with rest. Didn't work. They were still being set in the querystring. Does anyone knoe if I would have similar issues u

Re: [fw-general] different navigation per module

2009-05-20 Thread skorp
Hi again, when i add this into my config then it works: 'admin' => array( 'resources'=>array( 'view'=> array( 'helperPath' => array( 'My_Helper_View'=> LIB_PATH."/My/Helper/View/",

[fw-general] Nested elements with Zend_Form

2009-05-20 Thread Maarten Sander
Hi everyone, I'm fairly new to working with Zend_Form (not to the framework though), and so far, it performing nicely. However, I'm not sure if it's possible to nest elements using Zend_Form. Let me give you an example of what I'm trying to achieve: What's your favorite color? ( ) Red ( ) G

Re: [fw-general] FW: Zend_Navigation: how to render?

2009-05-20 Thread gerardroche
>If I have this example code > >$container = new Zend_Navigation(); > >// add page by giving a page instance >$container->addPage(Zend_Navigation_Page::factory(array( >'uri' => 'http://www.example.com/' >))); >How am I supposed to render it with the code you posted? i would imagine echo $th

FW: [fw-general] Zend_Navigation: how to render?

2009-05-20 Thread Sergio Rinaudo
Thanks for your quick reply, however I did not get it... If I have this example code $container = new Zend_Navigation(); // add page by giving a page instance $container->addPage(Zend_Navigation_Page::factory(array( 'uri' => 'http://www.example.com/' ))); How am I supposed to render it wi

Re: [fw-general] Zend_Navigation: how to render?

2009-05-20 Thread gerardroche
don't know if you have to use the helpers, but that's one way to do it. echo $this->navigation()->menu(); echo $this->navigation()->sitemap(); echo $this->navigation()->breadcrumbs(); echo $this->navigation()->links(); refs: http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.h

[fw-general] Zend_Navigation: how to render?

2009-05-20 Thread Sergio Rinaudo
Hi, I've read the documentation about Zend_Navigation component, I have clear how to create a container and how to add pages to it , but what is not clear is how to render. Do I have to use the 'navigation' view helper? And how? Thanks Sergio Rinaudo ___

Re: [fw-general] Zend_Navigation and Zend_Application configs

2009-05-20 Thread Mon Zafra
I think line 99 in Zend/Application/Resource/Navigation.php is wrong. It shouldn't explicitly get the view resource plugin but instead get the stored view object from the application bootstrap. For now, you should restore the resources.view[] line then modify and rename your _initView method: prot

[fw-general] Zend_Navigation and Zend_Application configs

2009-05-20 Thread gerardroche
Hi, Having an issue though it may be expected behavior. Set up a ZF project via Quickstart zf Command Line Tool (which is great :)) Add to application.ini resources.view[] = resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts" resources.navigation.pages.indexFoo.label = "Foo" re

Re: [fw-general] What version of APC are you use?

2009-05-20 Thread till
On Wed, May 20, 2009 at 1:43 PM, Georgy wrote: > > > tfk wrote: >> >> If you haven't guessed it yet, apparently no one. >> > > I use 3.0.19. But now i think about upgrade to 3.1.*, but don't know how > much is it stable. It's a beta. But it doesn't look like there are major issues, but check out

Re: [fw-general] What version of APC are you use?

2009-05-20 Thread Georgy
tfk wrote: > > If you haven't guessed it yet, apparently no one. > I use 3.0.19. But now i think about upgrade to 3.1.*, but don't know how much is it stable. -- View this message in context: http://www.nabble.com/What-version-of-APC-are-you-use--tp23633503p23633855.html Sent from the Zend F

Re: [fw-general] What version of APC are you use?

2009-05-20 Thread till
On Wed, May 20, 2009 at 1:18 PM, Georgy wrote: > > Hello. > > Now APC (http://pecl.php.net/package/APC) has 3.0.19 stable version. But > it's already 1 year and save compability with php4. > > Who use 3.1.* version on production with ZF? > It is stable? > If you haven't guessed it yet, apparently

[fw-general] What version of APC are you use?

2009-05-20 Thread Georgy
Hello. Now APC (http://pecl.php.net/package/APC) has 3.0.19 stable version. But it's already 1 year and save compability with php4. Who use 3.1.* version on production with ZF? It is stable? -- Georgy -- View this message in context: http://www.nabble.com/What-version-of-APC-are-you-use--tp

[fw-general] Zend_Amf Unsupported Type Marker: 13 Please Help

2009-05-20 Thread J DeBord
I am making some progress with Zend_Amf, however, I am getting excpetions that don't seem to make any sense. When I attempt to send a value object with one attribute, it works. If I add attributes, I get an exception with an error such as "Unsupported Type Marker: 13" How can I use this message t

Re: [fw-general] zend_rest_client inserts unnecessary vars into querystring

2009-05-20 Thread wenbert
h... I am not sure about this. But can you try: $flickrObj->flickr.auth.getToken(); $flickrObj->api_key($api_key); $flickrObj->frob($frob); $flickrObj->api_sig($api_sig); $result = $flickrObj->get(); Mark Wright-3 wrote: > > $flickrObj->method('flickr.auth.getToken'); > $flickrObj->api_key

[fw-general] Keep me logged in + Password reset for login forms

2009-05-20 Thread bytte
I've created a basic login system using Zend_Auth and Zend_Acl and now I'm wondering what's the best way to expand my login form with these two extra functionalities: - "keep me logged in on this computer" feature - password reset if visitor has forgotten password These two things seem pretty st

[fw-general] Back again to the Zend Framework

2009-05-20 Thread Carlos Medina
Hi all, my Name is Carlos and i want to contrib to Zend Framework with code but i dont know the procedures to do this. Can please somebody help me to do this? I have sing the CLA and i can take a look on the Issue Tracker but i dont know where can i start . Regards Carlos

Re: [fw-general] [OT] General design question

2009-05-20 Thread Jurian Sluiman
Op Wednesday 20 May 2009 05:18:03 schreef Deanna Bonds: > I would use the join method. Calling out to the database is an > expensive operation, so I try to minimize the number of calls. Also, > try not to think in terms of loops when you consider data, it is more > based in set theory. > > > Or d