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 = "/resources/js/min/jquer

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 wrote: > > I have a Zend_Application that I wo

Re: [fw-general] Zend_Auth storing special characters

2010-09-17 Thread keith Pope
ion 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 > wrote: >> >> Keith, >> >> On Wed, Sep 15, 2010

[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
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,

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. DBDepl

[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 php.i

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 wrote: > -- Ralf Eggert 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 concept a >> lot but am still thinki

[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: ... ... So I need to add the repository node when "zf create repository $name" is called, so that I can add the reposFile

[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 l

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

2010-01-04 Thread keith Pope
2010/1/4 till : > On Mon, Jan 4, 2010 at 4:39 PM, Matthew Weier O'Phinney > wrote: >> -- Diego Henrique Oliveira wrote >> (on Monday, 04 January 2010, 07:18 AM -0800): >>> check this: http://pear.php.net/package/PHP_CodeSniffer >> >> As I noted previously, the ZF sniffs do not accurately follow o

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

[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] Unit testing over a network

2010-01-03 Thread keith Pope
2010/1/3 Mike A : > 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 failures can then be

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

2009-12-24 Thread keith Pope
2009/12/24 Benjamin Eberlei : > > 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 the zf c

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 th

Re: [fw-general] Form decorators not formatting

2009-12-21 Thread keith Pope
2009/12/18 Mike A : > 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'), >                                        ar

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 : > Are you sending an email generated by ZF or a you fetching an Email with ZF > send from Outlook? > >>keith Pope wrote: >>

[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 : > Hi, > > I have a bit of a strange issue with outlook crashing when receiving > mails from Zend_Mail... > > I have sent the same email

[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 MDAwMDAgbiAKMDAwMDE0NDU1MCAwMDAwMCBuIAowMDAwMTQ

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

2009-11-10 Thread keith Pope
2009/11/10 Ralph Schindler : > 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 see a proposal on h

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

2009-11-10 Thread keith Pope
2009/11/10 fab2008 : > > > 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: > > 2009-11-08T15:24:

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

2009-10-31 Thread keith Pope
ection / lazy injection and things like the universal construct anyway Sorry to keep 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 > Op

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

2009-10-30 Thread keith Pope
2009/10/30 Matthew Weier O'Phinney : > -- keith Pope wrote > (on Friday, 30 October 2009, 04:43 PM +): >> 2009/10/30 Matthew Weier O'Phinney : >> > -- keith Pope wrote >> > (on Friday, 30 October 2009, 04:02 PM +): >> > > 2009/10/30 R

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

2009-10-30 Thread keith Pope
2009/10/30 Matthew Weier O'Phinney : > -- keith Pope wrote > (on Friday, 30 October 2009, 04:02 PM +): >> 2009/10/30 Ralph Schindler : >> > > Time to go back to using Doctrine then :( bye bye nice models. >> > > >> > > Do you think i

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

2009-10-30 Thread keith Pope
2009/10/30 Ralph Schindler : > >> >> 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 move.  I t

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

2009-10-30 Thread keith Pope
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 : >> > -- Antonio José García Lagar wrote >> > >> > (on Thursd

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

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

[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 appro

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 : > Hi, > I need to get the requested module, controller and action name in a > function of bootstrap file. > Is there any easy way of getting those var

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

2009-10-09 Thread keith Pope
2009/10/8 David Mintz : > > > On Thu, Oct 8, 2009 at 12:02 PM, admirau 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 whose constructor too

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 Саша Стаменковић : > But he can cache rendered content, then time will be spent just on pullin

Re: [fw-general] bootstrap application from CLI

2009-09-28 Thread keith Pope
2009/9/28 Tom Graham : > 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 the various resou

Re: [fw-general] bootstrap application from CLI

2009-09-28 Thread keith Pope
2009/9/28 Sudheer Satyanarayana : > 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', 'config', 'database

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

2009-09-26 Thread keith Pope
2009/9/26 scs : > 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 the CLA (cant f

Re: [fw-general] Zend_Entity Entity instantiation question

2009-09-11 Thread keith Pope
s, but having multiple managers makes sense. > > greetings, > Benjamin > > On Fri, 11 Sep 2009 14:25:49 +0100, keith Pope > wrote: >> Hi, >> >> I am just having a look at Zend_Entity, I was wondering how it handles >> object/entity instantiation, having a

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

2009-09-11 Thread keith Pope
$entityName."' is unknown."); >     } >     return $this->_maps[$entityName]; >     } > >     /** > * > * @param  string $visitorClass > * @return Zend_Entity_Definition_MappingVisitor[] > */ >     public func

[fw-general] Re: Zend_Entity Entity instantiation question

2009-09-11 Thread keith Pope
2009/9/11 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 pl

[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 provide

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

2009-09-10 Thread keith Pope
2009/9/10 andeeh : > > > keith Pope-4 wrote: >> >> You need to specify the default module: >> >> resources.frontcontroller.moduledirectory = APPLICATION_PATH"/modules" >> resources.frontcontroller.defaultmodule = "myModule" >

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

2009-09-10 Thread keith Pope
irements etc. I am just going 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

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 : > > Hi All. > > I've configured my default project to

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

2009-09-10 Thread keith Pope
2009/9/10 Benjamin Eberlei : > > 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 really not recomme

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

2009-09-05 Thread keith Pope
Zend Server? 2009/9/5 Joshua Beall : > > 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 has an off

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

2009-09-01 Thread keith Pope
the collection can be >>         paginated >>         > with Zend_Paginator. From what I understand, the Zend_Db_Mapper >>         proposal >>         > also has a collection that is similar to this one. >>         > >>         > What I was also thinking of doi

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

2009-08-28 Thread keith Pope
2009/8/28 Hector Virgen : > 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 we allow t

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

2009-08-22 Thread keith Pope
2009/8/22 Ian Warner : > 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( >   'modu

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 m

Re: [fw-general] Zend_Application bootstrap order

2009-08-20 Thread keith Pope
2009/8/20 Matthew Weier O'Phinney : > -- keith Pope 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 resourc

[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] Introducing Zend Framework to existing System/Website

2009-08-13 Thread keith Pope
2009/8/13 akshah123 : > 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 Zend framework so t

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

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

[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] 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 2009/7/5 admirau : > > > > Matthew Ratzloff wrote: >> >> The complete command is therefore: >> >> % cd path/to/ZendFramework/library >> % find . -name '*.php' | grep -v './Loader/Autoloader.php' | \ >

Re: [fw-general] Bootstrap and modules again

2009-07-04 Thread keith Pope
2009/7/4 Václav Vaník : > > > > keith Pope-4 wrote: >> >> 2009/7/4 Václav Vaník : >>> >>> Hi guys, >>> >>> i have suffering with modules setup in application.ini and Bootstrap.php >>> file >>> >>> I tried

Re: [fw-general] Bootstrap and modules again

2009-07-04 Thread keith Pope
2009/7/4 Václav Vaník : > > 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 >    -- Ind

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

2009-06-28 Thread keith Pope
2009/6/28 Vince42 : > 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/26 Vince42 : > 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 current

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

2009-06-25 Thread keith Pope
2009/6/25 Vince42 : > 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 > >   http://

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

2009-06-24 Thread keith Pope
2009/6/24 wadearnold : > > 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 connection. To date I ha

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 : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > I am working on the

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

2009-06-16 Thread keith Pope
2009/6/16 Matthew Weier O'Phinney : > -- Benjamin Eberlei 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 >> instances of the DI contai

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

2009-06-10 Thread keith Pope
2009/6/11 Mary Nicole Hicks : > > 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 from being garbage colle

Re: [fw-general] DataMapper questions from Quickstart

2009-06-03 Thread keith Pope
2009/6/3 Matthew Weier O'Phinney : > -- 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 the storage, >> > but I h

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

2009-06-02 Thread keith Pope
tatic function >> setCache(Zend_Cache_Core $cache) >> >> As you can see, not all the classes you list have a setCache method :-) >> > > So maybe that means that your search is not precise enough? ;-) Thx guys, looks like I have most of them then :) > >>

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

2009-06-02 Thread keith Pope
2009/6/2 monk.e.boy : > > 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" >  resources.

[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 : > > 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 correct page /au

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($

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 > p

[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 : > 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 information and

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

2009-05-07 Thread keith Pope
2009/5/8 Rick Buitenman : > 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 > regardless f

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

2009-05-07 Thread keith Pope
2009/5/8 iceangel89 : > > 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. Info is stor

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

2009-05-07 Thread keith Pope
2009/5/7 Sergio Rinaudo : > 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 Zend_Db_Table_* tries

Re: [fw-general] Bootstrapping modules

2009-05-07 Thread keith Pope
/module1 >                /configs >                    /module.ini >                /controllers >                /models >                /services >                /views >                /bootstrap.php >         /module2 >                /configs >                    /m

Re: [fw-general] Bootstrapping modules

2009-05-07 Thread keith Pope
2009/5/7 Vadim Gabriel : > 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 > > my boots

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

2009-05-03 Thread keith Pope
2009/5/3 Mr. Eric Eugene Naujock : > 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 structure you are prom

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

2009-05-03 Thread keith Pope
2009/5/3 Mr. Eric Eugene Naujock : > 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 run the framework

Re: [fw-general] Roles - Zend_Acl

2009-05-02 Thread keith Pope
2009/5/2 lund.mikkel : > > 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. > > How should I

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

2009-05-01 Thread keith Pope
What about installing Zend Server, its maintained by Zend so easy to install via yum etc. Not sure if there are any docs for version requirements for specific components, though I used ZF as a component lib on RHEL without problem. 2009/5/1 mbneto : > Hi, > > Now that the ZF .18 is out I'd like t

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 : > > Can no one he

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 : > > can i create an input

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

2009-04-17 Thread keith Pope
2009/4/17 JAGJosh : > > 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 app. Prefer

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] 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. ) is done

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 : > 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. Please welcome

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

2009-04-14 Thread keith Pope
27;); } Here rather than call the addcategoryAction, I render the addcategory view instead. 2009/4/14 Jan Pieper : > Yeah, but than the view script won't be changed. > > Original-Nachricht >> Datum: Tue, 14 Apr 2009 12:33:48 +0100 >> Von: keith Pope >&g

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 : > 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 handle multip

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 : > > is it possible

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 . : > Hi > > There's a proposal in laboratory: > http://framework.zend.com/wiki/pages/viewpage.action?pageId=39025 > > Cheers > holo > > > 2009/4/9 till >> >> 2009/4/9 Thomas

Re: [fw-general] Zend Form Performance

2009-04-09 Thread keith Pope
2009/4/9 till : > On Thu, Apr 9, 2009 at 11:11 AM, Andrei Iarus 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 layout part load time is a

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 : >

[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 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.hostnam

Re: [fw-general] Zend_Application + Controller > Action

2009-04-08 Thread keith Pope
Config'); > $cache = Zend_Registry::get('Zend_Cache'); > $locale = Zend_Registry::get('Zend_Locale'); > .. > . > $this->view->config  = $config; > $this->view->cache = $cache; > $this->view->locale = $locale; > .. > . > --

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 wo

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

2009-04-07 Thread keith Pope
se _initModules function in my bootstrap it works fine... > > br, Marko > > > > keith Pope-4 wrote: >> >> See below: >> >> 2009/4/7 Marko Korhonen : >>> >>> Hi, >>> >>> How is the build-in resource "Modules"

  1   2   3   >