Re: [fw-general] A problem trying to get jQuery working with ZF 1.10 (installed via ZendServer 5.0.3)

2010-12-04 Thread keith Pope
My config for jquery is: [production] autoloadernamespaces[] = Zend_ autoloadernamespaces[] = ZendX_ pluginpaths.ZendX_Application_Resource=ZendX/Application/Resource resources.Jquery.localpath = /resources/js/min/jquery/jquery.5.js resources.Jquery.uilocalpath =

Re: [fw-general] vary Zend_Application configuration based on requested url

2010-12-01 Thread keith Pope
Put all your assets on media.hotzfapp.com This will also mean you can use something like nginx or lighttpd to serve that static content which will improve performance, and in the future you could switch to a CDN. On 1 December 2010 07:48, Carl Allen jcarlal...@gmail.com wrote: I have a

Re: [fw-general] Zend_Auth storing special characters

2010-09-17 Thread keith Pope
session storage adapter or file-based? -- Hector Virgen Sr. Web Developer Walt Disney Parks and Resorts Online http://www.virgentech.com On Thu, Sep 16, 2010 at 7:30 AM, Bradley Holt bradley.h...@foundline.com wrote: Keith, On Wed, Sep 15, 2010 at 10:47 AM, keith Pope mute.p

[fw-general] Zend_Auth storing special characters

2010-09-15 Thread keith Pope
Hi, Has anyone ever had any problems with Zend_Auth failing to store/serialize data that has ü etc in. I seem to be losing the auth session for all users with names containing utf-8 chars Thx Keith

Re: [fw-general] RE: Team Development

2010-08-10 Thread keith Pope
the staging server to detect the environment specific errors. Developers use Mac, Win and Linux plus most have VM's for testing. I believe the most important part of a teams setup is automation, this solves so many problems! On 8/8/2010 4:36 PM, keith Pope wrote: Hi, We use the following setup

Re: [fw-general] RE: Team Development

2010-08-08 Thread keith Pope
Hi, We use the following setup: Local dev setup (Development) Developers can use any IDE/Editor they like and can have their own LAMP etc setup. Ant - Used locally to configure, build and test the application (checks for dependencies etc) Data - Mysql weekly dump, sensitive data scrambled.

[fw-general] Zend_Tool is this a bug?

2010-04-23 Thread keith Pope
Hi, I am having a bit of trouble getting custom providers to work in Zend_Tool, it seems that the include_path is not being set correctly when its defined in the .zf.ini. Ubuntu 10.4 + Zend_Server + ZF 1.10.3 - Works Ubuntu 9.10 + Zend_Server + ZF 1.10.3 - Works with following fix: Change

Re: [fw-general] Model, data source, data mapper and service layer

2010-04-15 Thread keith Pope
On 15 April 2010 14:48, Matthew Weier O'Phinney matt...@zend.com wrote: -- Ralf Eggert r.egg...@travello.de wrote (on Thursday, 15 April 2010, 02:10 PM +0200): I have a question regarding a model infrastructure that uses models, data sources, data mappers and a service layer. I like this

[fw-general] Zend_Tool Directory Context

2010-04-13 Thread keith Pope
Hi, I want to add a new directory context for a provider I am creating, how do you add a new node to the .zfproject file? What I need to end up with is: ... modelsDirectory repositoryDirectory repoFile repoName=User / /repositoryDirectory /modelsDirectory ... So I need to add

[fw-general] Zend_Locale overhead

2010-02-19 Thread keith Pope
Hi, I am working on an application that allows the user to input text in many languages, I was thinking of using Zend_Locale inside my Language objects so I could easily get left-to-right info etc, however would this be a large overhead having many locale objects instantiated all using different

[fw-general] ZF Coding Standards Code Sniffer?

2010-01-04 Thread keith Pope
Hi, Anyone know if there is a ZF code sniffer standard available anywhere on the interwebs?? Thx Keith -- http://www.thepopeisdead.com

Re: [fw-general] Getting warning when using ZendX_JQuery view helper

2010-01-04 Thread keith Pope
You have this code in your main bootstrap file? I think setAutoloaders will delete the default ones you may want to push them instead. Also you seem to be setting up your module autoloaders all in one place, you can have these automatically setup using the module resource. Also from 1.10 you can

Re: [fw-general] ZF Coding Standards Code Sniffer?

2010-01-04 Thread keith Pope
2010/1/4 till klimp...@gmail.com: On Mon, Jan 4, 2010 at 4:39 PM, Matthew Weier O'Phinney matt...@zend.com wrote: -- Diego Henrique Oliveira diegoholive...@yahoo.com.br wrote (on Monday, 04 January 2010, 07:18 AM -0800): check this: http://pear.php.net/package/PHP_CodeSniffer As I noted

Re: [fw-general] Unit testing over a network

2010-01-03 Thread keith Pope
2010/1/3 Mike A mik...@hotmail.co.uk: Writing a ZF book here. For it I wondered what was a good way to carry out unit testing over a development team local network. I would look at phpundercontrol or other continuous integration server, this allows for builds to be automated and unit test

Re: [fw-general] Using application resources from Zend_Tool

2009-12-24 Thread keith Pope
2009/12/24 Benjamin Eberlei kont...@beberlei.de: Hello Jurian, The Doctrine 2 Resource I have actually has Zend Tool Project support already. The code isn't published yet though. You won't be able to share code between DC1 and DC2 though, they are too different. You could of course extend

Re: [fw-general] Using application resources from Zend_Tool

2009-12-23 Thread keith Pope
Funny, I was going to start looking at the DC2 integration over christmas, how far along are you with the DC1 stuff? You should be able to use the app resource from within ZT however not sure if this would be acceptable, might want to ask Ralph about the implications :) Does it really duplicate

Re: [fw-general] Form decorators not formatting

2009-12-21 Thread keith Pope
2009/12/18 Mike A mik...@hotmail.co.uk: Apologies - my previous post did not format correctly, so I repeat. When constructing a form element I use this...        $this-addElement('hidden', 'productId', array(            'decorators' = array(array('ViewHelper'),                              

Re: [fw-general] Re: Zend_Mail Outlook crash

2009-11-26 Thread keith Pope
Just to note I believe this was a sendmail issue on Windows, using the Smtp transport seems to fix this problem... 2009/11/25 Thorsten Suckow-Homberg t...@siteartwork.de: Are you sending an email generated by ZF or a you fetching an Email with ZF send from Outlook? keith Pope wrote: Any idea

[fw-general] Zend_Mail Outlook crash

2009-11-24 Thread keith Pope
Hi, I have a bit of a strange issue with outlook crashing when receiving mails from Zend_Mail... I have sent the same email from evolution and this works the two message differ only in that evolution adds more EOL's after the attachment. Zend_Mail

[fw-general] Re: Zend_Mail Outlook crash

2009-11-24 Thread keith Pope
Any idea why I would get: charset=3Diso-8859-1 I have 3D appearing in various places within the email message??? 2009/11/24 keith Pope mute.p...@googlemail.com: Hi, I have a bit of a strange issue with outlook crashing when receiving mails from Zend_Mail... I have sent the same email from

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-10 Thread keith Pope
2009/11/10 fab2008 f.napole...@gmail.com: drm-4 wrote: Did you ever find out what was going on? No, I haven't. I upgraded to 1.9.5 (from 1.9.4) and I raised memory limit to 512M. I've also added some log messages in my application, this is the result in the last few days:

Re: [fw-general] Doctrine backend scaffolding in Zend Framework

2009-11-10 Thread keith Pope
2009/11/10 Ralph Schindler ralph.schind...@zend.com: Hey Gerard, You should join in at #zftalk.dev and continue this conversation with Benjamin Eberlei.  He was originally authoring Zend_Entity, but has recently dropped this development in favor of Doctrine integration. I think we'll soon

Re: [fw-general] Discontinuing Zend Entity in favour of Doctrine integration

2009-10-31 Thread keith Pope
this thread going for so long I went a bit off topic :) My 2c :) Paddy Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com OpenID Europe Foundation Irish Representative From: keith Pope mute.p...@googlemail.com To: fw-general

Re: [fw-general] Discontinuing Zend Entity in favour of Doctrine integration

2009-10-30 Thread keith Pope
on Zend_Entity its been informative watching it develop anyway :) greetings, Benjamin On Thursday 29 October 2009 09:19:50 pm keith Pope wrote: 29 Matthew Weier O'Phinney matt...@zend.com: -- Antonio José García Lagar a...@garcialagar.es wrote (on Thursday, 29 October 2009, 08:17 PM +0100

Re: [fw-general] Discontinuing Zend Entity in favour of Doctrine integration

2009-10-30 Thread keith Pope
2009/10/30 Ralph Schindler ralph.schind...@zend.com: Time to go back to using Doctrine then :( bye bye nice models. Do you think it would be a good idea to update the Quickstart guide now to not use the Data Mapper pattern and use doctrine instead? I would strongly disagree with that

Re: [fw-general] Discontinuing Zend Entity in favour of Doctrine integration

2009-10-30 Thread keith Pope
2009/10/30 Matthew Weier O'Phinney matt...@zend.com: -- keith Pope mute.p...@googlemail.com wrote (on Friday, 30 October 2009, 04:02 PM +): 2009/10/30 Ralph Schindler ralph.schind...@zend.com : Time to go back to using Doctrine then :( bye bye nice models. Do you think it would

Re: [fw-general] Discontinuing Zend Entity in favour of Doctrine integration

2009-10-30 Thread keith Pope
2009/10/30 Matthew Weier O'Phinney matt...@zend.com: -- keith Pope mute.p...@googlemail.com wrote (on Friday, 30 October 2009, 04:43 PM +): 2009/10/30 Matthew Weier O'Phinney matt...@zend.com: -- keith Pope mute.p...@googlemail.com wrote (on Friday, 30 October 2009, 04:02 PM +

[fw-general] Blog Post on Zend_Entity and Yadif

2009-10-29 Thread keith Pope
Hi, I just published a blog post on Zend_Entity and injecting dependencies into Domain Objects using the Yadif Container. http://www.thepopeisdead.com/main/comments/zend_entity_notes_on_rich_domain_objects/ This is just a quick prototype so I would be interested in hearing any views on the

Re: [fw-general] Discontinuing Zend Entity in favour of Doctrine integration

2009-10-29 Thread keith Pope
29 Matthew Weier O'Phinney matt...@zend.com: -- Antonio José García Lagar a...@garcialagar.es wrote (on Thursday, 29 October 2009, 08:17 PM +0100): 2009/10/29 Matthew Weier O'Phinney matt...@zend.com     Ideally, we'll have both Doctrine 1.x and 2.x integration, for this very     reason -

Re: [fw-general] Auto escape all variables in View

2009-10-09 Thread keith Pope
2009/10/8 David Mintz vtbludg...@gmail.com: On Thu, Oct 8, 2009 at 12:02 PM, admirau admi...@gmail.com wrote: Has anyone here already created custom View, which escapes all variables by default? Willing to share? I haven't but I think this is planned for 2.0... Or imagine a Zend_View

Re: [fw-general] getActionName() in bootstrap

2009-10-09 Thread keith Pope
Check this proposal: http://framework.zend.com/wiki/pages/viewpage.action?pageId=16023853 It explains the problem you are having. 2009/10/9 scs sasc...@gmail.com: Hi, I need to get the requested module, controller and action name in a function of bootstrap file. Is there any easy way of

Re: [fw-general] Caching complex forms

2009-09-30 Thread keith Pope
You may want to look at this: http://ishouldbecoding.com/tag/zend-framework Theres a post about Zend_Form and the Pluginloader, it shows a way to reduce the amount of plugin loader instances. 2009/9/30 Саша Стаменковић umpir...@gmail.com: But he can cache rendered content, then time will be

Re: [fw-general] bootstrap application from CLI

2009-09-28 Thread keith Pope
2009/9/28 Sudheer Satyanarayana sudhee...@binaryvibes.co.in: Hi, I am trying to boostrap the application from CLI. $application = new Zend_Application(            APPLICATION_ENV,            APPLICATION_PATH . '/configs/application.ini'        ); $application-bootstrap(array('autoload',

Re: [fw-general] bootstrap application from CLI

2009-09-28 Thread keith Pope
2009/9/28 Tom Graham tom.gra...@jadu.co.uk: I will usually just bootstrap whatever I need, so lots of $application-bootstrap('Db') type calls rather than a single $application-bootstrap() call. Haven't yet had a need for separate config sections/files. Yeah I have been ok just bootstrapping

Re: [fw-general] corrections and contributions in the reference guide?

2009-09-26 Thread keith Pope
2009/9/26 scs sasc...@gmail.com: Hi, How can we contribute to the documentation of zend framework? There are some parse errors I found - when i used the code examples from the reference/manual. You can create a issue in the issue tracker, http://framework.zend.com/issues If you have signed

[fw-general] Zend_Entity Entity instantiation question

2009-09-11 Thread keith Pope
Hi, I am just having a look at Zend_Entity, I was wondering how it handles object/entity instantiation, having a look through the code the Zend_Db_Mapper_Loader_LoaderAbstract has a createEntity() method which instantiates the entity. Is it planned that we will be able to override this and

[fw-general] Re: Zend_Entity Entity instantiation question

2009-09-11 Thread keith Pope
2009/9/11 keith Pope mute.p...@googlemail.com: Hi, I am just having a look at Zend_Entity, I was wondering how it handles object/entity instantiation, having a look through the code the Zend_Db_Mapper_Loader_LoaderAbstract has a createEntity() method which instantiates the entity

Re: [fw-general] Re: Zend_Entity Entity instantiation question

2009-09-11 Thread keith Pope
)     {     // ...     } } 2009/9/11 keith Pope mute.p...@googlemail.com 2009/9/11 keith Pope mute.p...@googlemail.com: Hi, I am just having a look at Zend_Entity, I was wondering how it handles object/entity instantiation, having a look through the code the Zend_Db_Mapper_Loader_LoaderAbstract has

Re: [fw-general] Zend_Entity Entity instantiation question

2009-09-11 Thread keith Pope
makes sense. greetings, Benjamin On Fri, 11 Sep 2009 14:25:49 +0100, keith Pope mute.p...@googlemail.com wrote: Hi, I am just having a look at Zend_Entity, I was wondering how it handles object/entity instantiation, having a look through the code the Zend_Db_Mapper_Loader_LoaderAbstract has

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread keith Pope
2009/9/10 Benjamin Eberlei kont...@beberlei.de: The approach you are describing is misusing Zend Entity as a data access layer only, however its purpose is really managing of object identities. Although its possible to dynamically set a different metadata model based on properties its

Re: [fw-general] the resources.modules[] entry

2009-09-10 Thread keith Pope
You need to specify the default module: resources.frontcontroller.moduledirectory = APPLICATION_PATH/modules resources.frontcontroller.defaultmodule = myModule resources.frontcontroller.params.prefixDefaultModule = true 2009/9/10 andeeh an...@alh.me.uk: Hi All. I've configured my default

Re: [fw-general] Zend_Entity: Using it in a fully model-driven manner

2009-09-10 Thread keith Pope
through setting up a new application to test Zend_Entity and Yadif (I hope this make it into the core soon too), so hopefully will be able to provide some feedback in the near future. Nice work on all this btw! On Thu, 10 Sep 2009 13:05:29 +0100, keith Pope mute.p...@googlemail.com wrote: 2009

Re: [fw-general] the resources.modules[] entry

2009-09-10 Thread keith Pope
2009/9/10 andeeh an...@alh.me.uk: keith Pope-4 wrote: You need to specify the default module: resources.frontcontroller.moduledirectory = APPLICATION_PATH/modules resources.frontcontroller.defaultmodule = myModule resources.frontcontroller.params.prefixDefaultModule = true Thanks

Re: [fw-general] Running Zend Framework on older versions of PHP

2009-09-05 Thread keith Pope
Zend Server? 2009/9/5 Joshua Beall jbe...@heraldic.us: Hi All, I've got a client who has their site hosted on a machine with PHP 5.1.6. Unfortunately, upgrading PHP is not an option until sometime in mid-2010. This is beyond my control and there's nothing I can do about it. Zend Framework

Re: [fw-general] Data Mappers and Relational Modelling

2009-09-02 Thread keith Pope
a         getId() method. So many ways to go! :)                 --         Hector                 On Fri, Aug 28, 2009 at 4:45 PM, keith Pope mute.p...@googlemail.com         wrote:         2009/8/28 Hector Virgen djvir...@gmail.com:        Thanks for the reply, Tim. So you're saying

Re: [fw-general] Data Mappers and Relational Modelling

2009-08-28 Thread keith Pope
2009/8/28 Hector Virgen djvir...@gmail.com: Thanks for the reply, Tim. So you're saying I'll need one or more mappers for my Quiz entity depending on how much information I want to prefill the quiz with? For example I'll have classes like: QuizSimpleMapper QuizWithQuestionsMapper Let's say

Re: [fw-general] Another multitier approach SERVICE and DAO

2009-08-22 Thread keith Pope
Services are available via the module autoloader, so if you have modules initialized via the modules resource plugin you can do: new ModuleA_Service_x Your services would be stored in: moduleA - services This is part of the resource autoloader, for dao you can add a custom resource type. You

Re: [fw-general] Error Plugin and Zend Application - cant get it to work

2009-08-22 Thread keith Pope
2009/8/22 Ian Warner iwar...@triangle-solutions.com: My code in my bootstrap As you can see my error handler is in a module I have resources.frontController.moduleDirectory = APPLICATION_PATH /modules to load modules     $this-bootstrap('frontController');     $options = array(

[fw-general] Zend_Application bootstrap order

2009-08-20 Thread keith Pope
Hi, Am I right that bootstrap order using modules works like this. 1. Main bootstrap class resources are called 2. Main bootstrap plugin resource are called 3. Module bootstrap class resources are called 4. Module bootstrap plugin resources are called. Thx Keith

Re: [fw-general] Zend_Application bootstrap order

2009-08-20 Thread keith Pope
2009/8/20 Matthew Weier O'Phinney matt...@zend.com: -- keith Pope mute.p...@googlemail.com wrote (on Thursday, 20 August 2009, 11:15 AM +0100): Am I right that bootstrap order using modules works like this. 1. Main bootstrap class resources are called 2. Main bootstrap plugin resource

Re: [fw-general] Introducing Zend Framework to existing System/Website

2009-08-13 Thread keith Pope
2009/8/13 akshah123 akshah...@gmail.com: Hello, At present I have a website that is built using procedural PHP code without any framework. This website is quite large with considerable amount of PHP code (again in procedural style). As the website has grown quite large, I need to introduce

[fw-general] Zend Soap Server xsd:datetime

2009-08-12 Thread keith Pope
Hi, How can you support xsd:datetime when using Zend_Soap_Server? Thx Keith

[fw-general] framework.zend.com down??

2009-08-12 Thread keith Pope
Seems to be down for me

[fw-general] Autoloader

2009-07-16 Thread keith Pope
Hi, I need to create an autoloader that is called before any of the other autoloaders to check if the class is stored within my DI Container. How can I do this with Zend_Loader_Autoloader Thx Keith

Re: [fw-general] Re: Re[fw-general] moving Require_once

2009-07-05 Thread keith Pope
Heres one for Apache Ant target name=deploy echo message= Removing require_once / replaceregexp byline=true regexp pattern=require_once 'Zend// substitution expression=// require_once 'Zend// fileset dir=${basedir}/library/Zend

Re: [fw-general] Bootstrap and modules again

2009-07-04 Thread keith Pope
2009/7/4 Václav Vaník va...@walk.cz: Hi guys, i have suffering with modules setup in application.ini and Bootstrap.php file I tried Google, Nabble, manual, source codes... and nothing :( This is my app structure: application -- configs    -- application.ini -- controllers    --

Re: [fw-general] Bootstrap and modules again

2009-07-04 Thread keith Pope
2009/7/4 Václav Vaník va...@walk.cz: keith Pope-4 wrote: 2009/7/4 Václav Vaník va...@walk.cz: Hi guys, i have suffering with modules setup in application.ini and Bootstrap.php file I tried Google, Nabble, manual, source codes... and nothing :( This is my app structure: application

Re: [fw-general] Database Adapters in INI File

2009-06-28 Thread keith Pope
2009/6/28 Vince42 z...@vineal.de: Hi, I thought that something like resources.db.adapter = PDO_MYSQL resources.db.params.host = localhost resources.db.params.username = user resources.db.params.password = user resources.db.params.dbname = database guestbook.resources.db.adapter =

Re: [fw-general] Default Module - Bootstrapping and Models

2009-06-26 Thread keith Pope
2009/6/25 Vince42 z...@vineal.de: Hi, Dalibor Karlović schrieb: I think we should rethink this as it's obvious many people use the default module just like any other so the behavior should be as expected, even if adding an additional option. I circumvented this odd behaviour with  

Re: [fw-general] Default Module - Bootstrapping and Models

2009-06-26 Thread keith Pope
2009/6/26 Vince42 z...@vineal.de: Hi, swilhelm schrieb: I agree, modules (and auth and acl) should be added to the QuickStart or some other Zend provided example. I can't think of any real world application that will not need these three additional capabilities. That's exactly why I am

Re: [fw-general] Best practice for Master/Slave Db w/ ZF?

2009-06-24 Thread keith Pope
2009/6/24 wadearnold wade.arn...@t8design.com: I'm looking for a sanity check for my ZF connection to a mysql master/slave architecture. My Db configuration is MySQL Master and three slaves. The three slaves are behind a load balancer with linux hearbeat so to php the slaves are a single

Re: [fw-general] Who is responsible for assigning permissions?

2009-06-21 Thread keith Pope
I personally prefer to put the acl in the Model, this way your access control is at the model level not the application level meaning you can use the Model in other contexts outside the MVC. 2009/6/21 Brenton Alker bren...@tekerson.com: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I am

Re: [fw-general] Using a DI Container with Zend_Application

2009-06-17 Thread keith Pope
2009/6/16 Matthew Weier O'Phinney matt...@zend.com: -- Benjamin Eberlei kont...@beberlei.de wrote (on Tuesday, 16 June 2009, 09:54 PM +0200): I have written a blog post on how to integrate the Yadif DI container with Zend_Application (to replace Zend_Registry). It uses Application Resources as

Re: [fw-general] Memory problems with cyclic/circular references

2009-06-11 Thread keith Pope
2009/6/11 Mary Nicole Hicks webmas...@marynicolehicks.com: Please can someone help me with this. I am using ZF for a long running command line script, but my memory is blowing out (well over 100 MB). My problem is that ZF seems to be full of cyclic/circular references. As these stop objects

Re: [fw-general] DataMapper questions from Quickstart

2009-06-03 Thread keith Pope
2009/6/3 Matthew Weier O'Phinney matt...@zend.com: -- mi...@onshore.com mi...@onshore.com wrote (on Wednesday, 03 June 2009, 02:13 PM -0500): Andrew Ballard wrote: I have been looking over the data mapper pattern used in the current Quickstart. I like the separation of the data model from

Re: [fw-general] struggling to get modules working

2009-06-02 Thread keith Pope
2009/6/2 monk.e.boy john.glazebr...@guava.com: How do I set the path to a module? I my application.ini I have:  bootstrap.path = APPLICATION_PATH /Bootstrap.php  bootstrap.class = Bootstrap  ; module bootstrapping  resources.frontController.moduleDirectory = APPLICATION_PATH /modules  

Re: [fw-general] Standard caches for components list

2009-06-02 Thread keith Pope
that means that your search is not precise enough? ;-) Thx guys, looks like I have most of them then :) On Tue, Jun 2, 2009 at 8:53 AM, Jonathan Maron jonathan.a.ma...@gmail.com wrote: One more: Zend_Locale_Data::setCache($cache); On Tue, Jun 2, 2009 at 7:55 AM, keith Pope mute.p

[fw-general] Standard caches for components list

2009-06-01 Thread keith Pope
Hi, I am putting together a list of components that support caching, have I missed any from this list? • Zend_Db_Table • Zend_Loader_PluginLoader • Zend_Paginator • Zend_Locale • Zend_Translate • Zend_XmlRpc_Server • Zend_Currency • Zend_Date Thx

Re: [fw-general] Problem setting up ZF app in Linux Server

2009-05-31 Thread keith Pope
2009/5/31 iceangel89 comet2...@gmail.com: i developed my ZF app in Windows ... WAMP ... then when i try to set it up in server, i get 404 not found. like because i had a frontController plugin that will prompt user for login 1st ... so it seems thats working ... but the redirect went to the

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

2009-05-20 Thread keith Pope
2009/5/20 Sudheer Satyanarayana sudhee...@binaryvibes.co.in: 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:

Re: [fw-general] Living with bugs in ZF?

2009-05-18 Thread keith Pope
Write a patch, this way you can re-patch the files if there is another release. Plus you can upload the patch to the ticket and hope it will get applied :) 2009/5/18 lightflowmark 1...@lightflowinterrupted.com: Hi, How do you guys handle unfixed bugs in ZF?  Suppose you're working on a

[fw-general] SuppressNotFoundWarnings not working???

2009-05-16 Thread keith Pope
I am trying to create a service finder action helper, this will check if a module has a service. public function getService($service, $module) { if (!isset($this-_services[$module][$service])) { $class = implode('_', array( ucfirst($module),

Re: [fw-general] Zend_Application_Module_Autoloader loading viewhelper question

2009-05-15 Thread keith Pope
2009/5/15 Vladas Diržys vladas.dir...@gmail.com: Hi, I'm trying to setup Zend_Application to use module autoloader for view helpers. Earlier I used to add helper path manually: $view-addHelperPath('path/to/views/helpers/', 'My_View_Helper'); Now as Zend_Application_Module_Autoloader has this

Re: [fw-general] Finding active module/controller

2009-05-08 Thread keith Pope
2009/5/8 iceangel89 comet2...@gmail.com: how can i know the active module/controller thats running so i can set view parameters? to make my nav show which link shld be active? Zend_Navigation menu is not working correctly for me yet. so this will be a workaround 1st. anyway its good to know.

Re: [fw-general] A question about bootstrapping modules

2009-05-08 Thread keith Pope
2009/5/8 Rick Buitenman r...@meritos.nl: Hi, There are a number of threads on bootstrapping modules, but I think it might help to isolate what seems to be a reoccuring source of confusion (at least it is for me): Am I right in assuming that *all* bootstraps of all modules are executed

Re: [fw-general] Bootstrapping modules

2009-05-07 Thread keith Pope
2009/5/7 Vadim Gabriel vadim...@gmail.com: OK i have added a bootsrap.php file for each module in the module root directory. For some reason it won't load that bootstrap file. For example my default module directory is as follows: -default --bootsrap.php --controllers --layouts --views

Re: [fw-general] Bootstrapping modules

2009-05-07 Thread keith Pope
               /bootstrap.php         /module2                /configs                    /module.ini                /controllers                /models                /views                /bootstrap.php A thanks to Keith Pope ... Your example store front code got me moving in the right

Re: [fw-general] ZF1.8 Naming Convention for rowClass Model

2009-05-07 Thread keith Pope
2009/5/7 Sergio Rinaudo kaiohken1...@hotmail.com: So, what am I suppose to do if I have a situation where I have a Zend_Db_Table_Rowset ( $mymodel-fetchAll() ) and I have to cicle it, and access some Zend_Db_Table_Row method? You need to make sure that you have required the row class before

Re: [fw-general] PHP version requiment for individual classes?

2009-05-03 Thread keith Pope
2009/5/3 Mr. Eric Eugene Naujock naujo...@mac-cafe.com: Are you having the same issue that I am? My hosting provider is a shared provider and to get anything above 5.2.0 is not possible without upgrading to a much higher pricing tier. I too remember that it used to able a minimum of 5.1.6 to

Re: [fw-general] Zend_Registry a waste of CPU resources?

2009-05-03 Thread keith Pope
2009/5/3 Mr. Eric Eugene Naujock naujo...@mac-cafe.com: OK I have been following this thread for a bit and while and I can see some of the arguments made and is some cases may even be valid. I have been only developing a short while with PHP and I remember seeing this design pattern and

Re: [fw-general] Roles - Zend_Acl

2009-05-02 Thread keith Pope
2009/5/2 lund.mikkel lund.mik...@gmail.com: I'm building an application where there are several groups of people. Each group has an admin, who can do admin stuff :) The other members can access the group and see their content, but nobody else. There are several groups with each their admin.

Re: [fw-general] Zend_View_Helper_Translate Usage

2009-04-21 Thread keith Pope
So you are passing translate as an invoke argument on the Front Controller? You already have the translate object instantiated so adding a reference has no real overhead. I dont believe there is an easy way to achieve what the registry achieves with translate. 2009/4/21 Alesso

Re: [fw-general] input reuse

2009-04-18 Thread keith Pope
You could create your own element or just grab the element from the other form. public function init() { /* other elements etc etc*/ $form = My_Form(); $element = $form-getElement('otherelement'); $this-addElement($element); } 2009/4/18 helderfelipe helderfel...@gmail.com: can

Re: [fw-general] Good examples of large, complex web apps written in ZF

2009-04-17 Thread keith Pope
2009/4/17 JAGJosh j...@jaghq.com: Hey there, I have worked my way through several tutorials and the Zend Framework in Action book. What I have not yet seen, however, is a complex application example. I'm not really looking for a tutorial, so much as simply some example code of a complex

Re: [fw-general] On view helpers decorators

2009-04-15 Thread keith Pope
2009/4/15 lightflowmark 1...@lightflowinterrupted.com: I'm having a conceptual difficulty with view helpers decorators and was hoping someone could clarify this for me: When a form element (e.g. a text input) is rendered, the work of creating the form element markup (i.e. INPUT TYPE=text

Re: [fw-general] On view helpers decorators

2009-04-15 Thread keith Pope
2009/4/15 lightflowmark 1...@lightflowinterrupted.com: Maybe I've misunderstood the structure, then.  My understanding was that Zend_Form_Decorator_* decorated form elements, not that they decorated view helpers.  Can someone clarify that? I think we were talking about different things :)

Re: [fw-general] On view helpers decorators

2009-04-15 Thread keith Pope
2009/4/15 lightflowmark 1...@lightflowinterrupted.com: Sure; I understand the decorator pattern.  But in this case, the decorator is decorating the form element; it's using functionality from the view helper to do so. My question is, why is the decorator using a view helper to provide

Re: [fw-general] _forward(): multiple controller instanciation

2009-04-14 Thread keith Pope
If you are in the same control don't forward, just call the method? 2009/4/14 Jan Pieper j-pie...@gmx.net: Why is it needed to create a new controller instance for each forwarding from one action to another without changing the controller and/or module? My init()-functionality is not able to

Re: [fw-general] _forward(): multiple controller instanciation

2009-04-14 Thread keith Pope
the addcategoryAction, I render the addcategory view instead. 2009/4/14 Jan Pieper j-pie...@gmx.net: Yeah, but than the view script won't be changed. Original-Nachricht Datum: Tue, 14 Apr 2009 12:33:48 +0100 Von: keith Pope mute.p...@googlemail.com An: Jan Pieper j-pie...@gmx.net CC: fw

Re: [fw-general] Zend Framework team reorganization

2009-04-14 Thread keith Pope
Congrats Matthew! Thx for all your work Wil :) 2009/4/14 Matthew Weier O'Phinney matt...@zend.com: Greetings! The Zend Framework team has undergone some internal reorganization recently which will have some bearing on the project. First, the team now reports to Zeev Suraski, Zend's CTO.

Re: [fw-general] view helpers, multiple methods

2009-04-13 Thread keith Pope
Yes, class myviewhelper extends ... { public function myviewhelper() { return $this; } public function foo(){} } $this-myviewhelper()-foo(); There are plenty of standard view helpers that use this so have a look at those :) 2009/4/13 helderfelipe

Re: [fw-general] Zend_Acl for MVC ?

2009-04-09 Thread keith Pope
you may want to checkout: http://weierophinney.net/matthew/archives/201-Applying-ACLs-to-Models.html 2009/4/9 holografix . hologra...@gmail.com: Hi There's a proposal in laboratory: http://framework.zend.com/wiki/pages/viewpage.action?pageId=39025 Cheers holo 2009/4/9 till

Re: [fw-general] Zend Form Performance

2009-04-09 Thread keith Pope
Hi, You may want to read this: http://ishouldbecoding.com/2008/11/05/scaling-zend_form http://ishouldbecoding.com/2009/04/03/zend_form-and-zend_loader_pluginloader-snafu Though this is really for large forms, I have similar forms to what you describe with no problems. 2009/4/9 Andrei Iarus

Re: [fw-general] Zend Form Performance

2009-04-09 Thread keith Pope
2009/4/9 till klimp...@gmail.com: On Thu, Apr 9, 2009 at 11:11 AM, Andrei Iarus poni1...@yahoo.com wrote: Hello everyone, I have noticed that Zend Form part of Framework is being executed extremely slow. Comparing to the same form being implented with no framework, here are the results (the

Re: [fw-general] Zend_Application + Controller Action

2009-04-08 Thread keith Pope
('Zend_Cache'); $locale = Zend_Registry::get('Zend_Locale'); .. . $this-view-config  = $config; $this-view-cache = $cache; $this-view-locale = $locale; .. . - 2009/4/8 keith Pope mute.p...@googlemail.com Maybe use the registry for that, so have a bootstrap class

Re: [fw-general] Zend_Application Db resource in INI

2009-04-08 Thread keith Pope
Your config looks good, do you have any other resources called db? I have: resources.db.adapter = PDO_MYSQL resources.db.isdefaulttableadapter = true resources.db.params.dbname = storefront resources.db.params.username = root resources.db.params.password = root resources.db.params.hostname =

[fw-general] ViewScript decorator

2009-04-08 Thread keith Pope
Can you pass extra data to the partial it creates? Thx Keith

Re: [fw-general] Zend_Application + Controller Action

2009-04-08 Thread keith Pope
Maybe use the registry for that, so have a bootstrap class resource that fetches the plugin resources: protected _initRegistry() { $this-bootstrap('db'); Zend_Registry::set('dbResource', $this-getPluginResource('db')); } Or you could pass them as params to the front controller, which

Re: [fw-general] Zend_Application modules resource in INI

2009-04-07 Thread keith Pope
function in my bootstrap it works fine... br, Marko keith Pope-4 wrote: See below: 2009/4/7 Marko Korhonen marko.korho...@datafisher.com: Hi, How is the build-in resource Modules activated in INI file? I have already other resources working nicely: autoloadernamespaces.0 = Zend_

Re: [fw-general] Zend_Application modules resource in INI

2009-04-07 Thread keith Pope
See below: 2009/4/7 Marko Korhonen marko.korho...@datafisher.com: Hi, How is the build-in resource Modules activated in INI file? I have already other resources working nicely: autoloadernamespaces.0 = Zend_ autoloadernamespaces.1 = My_ phpsettings.display_errors = 0

  1   2   3   >