[fw-general] Zend_Autoloader_Resource and Zend_Amf_Server Not Playing Nice

2009-05-04 Thread J DeBord
The autoloading adventure continues... Using Zend_Autoloader_Resource is working great. Except for one thing: matching the namespaces up with Zend_Amf_Server My directory structure is the standard one. Here is some code: $loader = new Zend_Loader_Autoloader_Resource(array( 'basePath' => APPL

[fw-general] Adding elements to Display Group

2009-05-04 Thread iceangel89
i am adding elements dynamically using data from a database so i did something like $this->addDisplayGroup(array('item'), "labAllocation", array( 'legend' => 'Lab Allocation' )); foreach ($labs as $lab) { $this->getDisplayGroup("labAllocation")->addElement(new Zend_Form_Element_Text("l

Re: [fw-general] Zend Framework - Slower

2009-05-04 Thread Ralph Schindler
Hi, try looking through the performance enhancement guide first: http://framework.zend.com/manual/en/performance.html Also ensure you are using an op-code cache of some sort, like apc or zend optimizer. -ralph iceangel89 wrote: i noticed that my Zend Framework application is slower than sa

Re: [fw-general] Zend Framework - Slower

2009-05-04 Thread Juan Felipe Alvarez Saldarriaga
Hey! Look at the performance guide: http://framework.zend.com/manual/en/performance.html Cheers. On Mon, May 4, 2009 at 10:59 PM, iceangel89 wrote: > > i noticed that my Zend Framework application is slower than say an app i > develop in normal PHP. maybe becos Zend Framework does more stuff in

[fw-general] Zend Framework - Slower

2009-05-04 Thread iceangel89
i noticed that my Zend Framework application is slower than say an app i develop in normal PHP. maybe becos Zend Framework does more stuff in the bg. any way i can optimise my Zend Framework app? or PHP in general? is there a minification for PHP or something? -- View this message in context:

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Juan Felipe Alvarez Saldarriaga
1. Windows (Zend Server CE). 2. Local. 3. Netbeans. 4. SVN. 5. PHPUnit. On Mon, May 4, 2009 at 8:37 PM, Kendall Bennett wrote: > Mac OS X Leopard > I always develop, test and debug on a local clone of our web sites. We find > we rarely have to debug remotely > Zend Studio 6.x > Perforce > No PHPU

[fw-general] Dojo shipped w/ ZF1.8.0 not dojo-1.3.0?

2009-05-04 Thread Drew Bertola
Hi everyone, From the release announcement for ZF 1.8.0, I was expecting dojo version 1.3.0 to be incorporated in the full download package. I see, though, that dojo.version.toString() reports 1.1.0dev. Am I mistaken, or is this an oversight w/ the ZF release? I've just filed an issue rega

[fw-general] Zend Reference Guide - Autoload_Resource

2009-05-04 Thread coreyward
I'm just getting my feet wet with ZF, so excuse the ignorance here The Zend Reference guide for the Zend_Loader_Autoloader_Resource adds a resource without specifying the namespace parameter, ie: $resourceLoader->addResourceType('model', 'models/',); According to the docs, that's fine, as t

[fw-general] Zend_Form_Element_Radio spanning across subforms

2009-05-04 Thread onyxrev
I'm trying to create a series of radio buttons that span across several subforms. I have a subform for each 'item' in a form and the radio buttons would be used to select a particular item. Example: --subform1--- ___ image ___ name O select as thumb <-Radio Button --subform2--- ___ image ___

Re: [fw-general] How do i customise error messages?

2009-05-04 Thread Christopher Östlund
I'm not fully sure what component you are using, but the reason that both messages are sent is surly that you've not set the validation chain to break on the first error. On Tue, May 5, 2009 at 3:56 AM, iceangel89 wrote: > > anyone? > > > iceangel89 wrote: > > > > i tried > > > > $this->broken->

Re: [fw-general] Confused with classes, helpers and html tables

2009-05-04 Thread Kendall Bennett
Unless I am missing something, couldn't you just use the same class as before that builds the HTML for you, and put the resulting HTML for the table into a view variable in your controller, and then render it in your view from the variable you assign in the controller? Regards, Kendall Bennett

Re: [fw-general] How do i customise error messages?

2009-05-04 Thread iceangel89
anyone? iceangel89 wrote: > > i tried > > $this->broken->setErrorMessages(array("isEmpty" => "Broken is required", > "notAlpha" => "Not Alpha")); > > but i get both errors as long as 1 validator fails. and i dont think its a > good idea to hardcode the "isEmpty" and stuff? i shld use the con

Re: [fw-general] Custom Validators

2009-05-04 Thread iceangel89
ok solved. to use %value% i need $this->_setValue($somevalue) public $var_name = 123; protected $_messageVariables shld be = array ( 'maxValue' = 'var_name' // Declared in public $var_name = 123; ) iceangel89 wrote: > > oh i think its because i tried to use > > protected $_messageVaria

Re: [fw-general] One-to-Many Screencast on Zendcasts

2009-05-04 Thread iceangel89
woo, great work! its been quite awhile -- View this message in context: http://www.nabble.com/One-to-Many-Screencast-on-Zendcasts-tp23371882p23379702.html Sent from the Zend Framework mailing list archive at Nabble.com.

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Kendall Bennett
1. Mac OS X Leopard 2. I always develop, test and debug on a local clone of our web sites. We find we rarely have to debug remotely 3. Zend Studio 6.x 4. Perforce 5. No PHPUnit support yet, but that is why I am learning ZF - I plan to learn PHP unit along the way :) Regards, Kendall B

Re: [fw-general] Question about plugin helpers?

2009-05-04 Thread Kendall Bennett
Where is the issue tracker? The other thing I noticed is that when I loaded Zend Framework into my Zend Studio as a separate project, there were a TON of warnings generated on the code. I investigated a couple and some of them look like straight up bugs to me. Are the developers using Zend Stud

Re: [fw-general] Multi module layout?

2009-05-04 Thread Kendall Bennett
Right. I actually got that one to work after I did my initial post, so I now have my helpers all happily living in my library directory. The only annoying thing is that in Zend Studio if I am using the Zend Framework perspective, it does not show anything outside of the /application directory,

Re: [fw-general] Multi module layout?

2009-05-04 Thread Kendall Bennett
Cool. So if I did it that way, my admin module would still be able to load and use default models? Also, since I have yet to get this working, if I do that, I assume I don't need to have a different index.php on the public site in an admin directory, but ZF will know to route stuff from http://

Re: [fw-general] Zend_Form with table

2009-05-04 Thread Fullarton, Daniel
Hi Vince, I wrote something similar to this for a project a few weeks ago, it wasn't perfect but it got the job done. +---+---+---+ | Label | Label | Label | +---+---+---+ | Value | Value | Value | +---+---+---+ | Value | Value | Value | +---+---+--

Re: [fw-general] Zend_Layout for individual actions?

2009-05-04 Thread Kendall Bennett
Right. I actually got rid of the $this->action() and put the action stack back, because I felt it was cleaner to not have to pass the action parameters around, but have it run in the context of the actual action itself. So I am using the response segment again. But, I do see what you are gettin

Re: [fw-general] Confused with classes, helpers and html tables

2009-05-04 Thread elminster
Giorgio Sironi wrote: > > > Normally view helpers return html; in this case you can write a table view > helper (another class) that returns a new instance of your Table class. > You > can embellish the object with a fluent interface and a __toString() method > and then in the view you will do

[fw-general] Looking for code feedback

2009-05-04 Thread dbroderick
First let me start by saying I am fairly new to ZF and with this post I am primarily looking for feedback for improvement from the Zend experts on my solution and hopefully, if list solution is reasonable, others may have some information, where I found it difficult to find. My Goal: With my ZF

[fw-general] Zend_Form with table

2009-05-04 Thread Vince42
Hi, I need to render data tables in my form with the layout +---+---+---+ | Label | Label | Label | +---+---+---+ | Value | Value | Value | +---+---+---+ I tested all kinds of methods like rendering with - composite decorator - standard d

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Matthew Ratzloff
When I do PHP development, 1. Mac OS X2. Either, depending on the situation 3. TextMate (I use Macfusion for mounting remote file systems), or Vim for quick edits 4. Subversion 5. Yes In my spare time I mostly develop in Ruby, though (and lately MacRuby, using Xcode). For personal projects I tend

[fw-general] Zend_Form_Element_Select - initial blank value

2009-05-04 Thread Philip G
What's the best way to add an initial empty value, while still retaining a select menu as required? This doesn't work very well. It, unfortunately, makes the first value '0' and then accepts it as a valid value: $valid_states = array (); $valid_states[] = null; while ( ($row = $stmnt->

[fw-general] Confused with classes, helpers and html tables

2009-05-04 Thread Giorgio Sironi
2009/5/4 elminster > But I am not sure how to get this into the view, and how to get it to use > my > object. I can create a helper but it tells me that doing 'new Table()' is > not allowed. Normally view helpers return html; in this case you can write a table view helper (another class) that r

[fw-general] Beyond Zend_Feed?

2009-05-04 Thread Phillip Winn
I'm having a deuce of a time getting Zend_Feed to create a feed with some custom namespace elements in it. I've tried various combinations; the last one is this: $feed = new Zend_Feed_Rss(); Zend_Feed::registerNameSpace('newsAndReviews', ' http://www.buy.com/rss/module/newsandreviews/'); [in a loo

[fw-general] multiple commands in pdo prepared statement

2009-05-04 Thread Ralikwen
I just started to move my application from my development environment to my test environment and I came across something unexpected. My development environment is Windows/Apache/PHP - connected to an external Postgresql DB. The application runs fine on that. I moved to Linux/Apache/PHP and Postgr

RE: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Michael Tramontano
1. windows xp 2. remote 3. zend studio, eclipse pdt* 4. svn 5. no * zend studio full time, eclipse for side projects Curious to see the results tallied up -Mike Tramontano -Original Message- From: howard chen [mailto:howac...@gmail.com] Sent: Saturday, May 02, 2009 1:14 PM To: Zend Fra

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Jurian Sluiman
1. Ubuntu 2. localhost 3. Eclipse PDT 4. Subversion 5. Not yet, just prepared PHPUnit to do the job -- Jurian Sluiman Soflomo.com Op Monday 04 May 2009 21:10:14 schreef Martijn Gastkemper: > 1. Ubuntu > 2. localhost > 3. NetBeans > 4. svn > 5. not jet > > On Mon, May 4, 2009 at 7:01 PM, Terre Por

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Martijn Gastkemper
1. Ubuntu 2. localhost 3. NetBeans 4. svn 5. not jet On Mon, May 4, 2009 at 7:01 PM, Terre Porter wrote: > > > 1. What OS you are using during development? Windows? Mac? Linux? > Windows (Editor), Linux (server) > > > 2. Do you edit source code on localhost or remote? i.e. is your testing > envir

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Mario Guenterberg
On Mo, Mai 04, 2009 at 09:37:37 -0400, Bryce Lohr wrote: > howard chen wrote: >> Please feel free to answer: >> >> 1. What OS you are using during development? Windows? Mac? Linux? >> > > WInXP Pro > >> 2. Do you edit source code on localhost or remote? i.e. is your >> testing environment reside

Re: [fw-general] Optional File Upload

2009-05-04 Thread Thomas Weidner
Daniel, Which release are you using ? Why do you call isUploaded() instead of isValid() ? PS: The doc does not mention that you should do isUploaded... it mentions isValid() Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message -

Re: [fw-general] need help w/ autoloader in 1.8

2009-05-04 Thread Ralph Schindler
Its probably better if you stick with the 'Default' key, as it creates less amibiguity when it comes to class to location mapping for developers. As for JDeBord's experience I have to concur. Once you get your "head around it" the autoloader is simply elegant. Custom code just falls into pla

Re: [fw-general] zend_application db resource configuration >

2009-05-04 Thread Ralph Schindler
but i want my db queries to return objects, tried things like: resources.db.params.FetchMode = Zend_Db::FETCH_OBJ; resources.db.params.setFetchMode = Zend_Db::FETCH_OBJ; resources.db.params.FetchMode = FETCH_OBJ; resources.db.params.FetchMode = Zend_Db:FETCH_OBJ; but nothing works ... does some

Re: [fw-general] Confused with classes, helpers and html tables

2009-05-04 Thread elminster
vince. wrote: > > Hey, > > Could you share the code with us? > > Thanks. > It is not really the code I am worried about; it was just a class from php classes that I used pre ZF , I didnt write it. It is more the theory I am trying to get my head around. But as an example in OO PHP I would

Re: [fw-general] Confused with classes, helpers and html tables

2009-05-04 Thread Vadim Gabriel
Hey, Could you share the code with us? Thanks. On Mon, May 4, 2009 at 8:15 PM, elminster wrote: > Hi. I wanted to use a class to generate an html table object before finally > outputting this object in the view. I used to do this in non ZF OO PHP by > creating my table object, and gradually ad

[fw-general] Confused with classes, helpers and html tables

2009-05-04 Thread elminster
Hi. I wanted to use a class to generate an html table object before finally outputting this object in the view. I used to do this in non ZF OO PHP by creating my table object, and gradually adding rows and columns etc. I already have this code, and their doesnt seem to be a feature in ZF for doi

RE: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Terre Porter
> 1. What OS you are using during development? Windows? Mac? Linux? Windows (Editor), Linux (server) > 2. Do you edit source code on localhost or remote? i.e. is your testing environment reside on localhost or remote? Local edit using samba share to remote vmware linux development server. > 3.

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Isaak Malik
1. Linux & Windows XP (mainly for designing) 2. Development: local; testing both local & remote 3. Netbeans & Komodo 4. SVN 5. Not yet but getting into PHPUnit -- Isaak Malik Web Developer

[fw-general] Optional File Upload

2009-05-04 Thread Daniel Latter
Hi, I have an optional File upload element on my form, the current docs state the following to get an optional form element: $element = new Zend_Form_Element_File('foo'); $element->setLabel('Upload an image:') ->setDestination('/var/www/upload') ->setRequired(false); $element->add

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Jake McGraw
On Sat, May 2, 2009 at 1:14 PM, howard chen wrote: > Please feel free to answer: > > 1. What OS you are using during development? Windows? Mac? Linux? Mac OSX > 2. Do you edit source code on localhost or remote? i.e. is your > testing environment reside on localhost or remote? Remote > 3. What

[fw-general] One-to-Many Screencast on Zendcasts

2009-05-04 Thread Jon Lebensold
Hey everyone, I've just posted another video on zendcasts. This is part 3 in a series on Zend_Db: http://www.zendcasts.com/one-to-many-with-zend_db/2009/05/ Best Regards, - Jon Lebensold

[fw-general] zend_application db resource configuration >

2009-05-04 Thread chrisweb
I found this great db setup example at http://code.google.com/p/zendframeworkstorefront/ resources.db.adapter = MYSQLI resources.db.params.host = localhost resources.db.params.username = root resources.db.params.password = resources.db.params.dbname = gamerszone resources.db.params.driver_option

RE: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Camilo Usuga
Hi! 1. Windows / OSX 10.5.6 2. Remote, Running on Ubuntu 3. Eclipse PDT / Netbeans Development 4. SVN 5. Testing is for sissies (PHPUnit when testing) Camilo Usuga | Team Leader | Soficol S.A. Pbx: (574) 444 8555 | Cel: (57 300) 603 6727 Medellín - Colombia -Original Message- From: h

Re: [fw-general] Big session problems - Zend_Auth

2009-05-04 Thread Ralph Schindler
Perhaps try looking in the AuthController (or wherever Zend_Auth has stored the "identity".) In most cases, an object of type Member was stored, and on each future request, that class must be loaded before the session data can be unserialized. Eitehr that, or somewhere else, an object of type

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Joseph Crawford
On Sat, May 2, 2009 at 12:14 PM, howard chen wrote: Please feel free to answer: 1. What OS you are using during development? Windows? Mac? Linux? Mac OS X 2. Do you edit source code on localhost or remote? i.e. is your testing environment reside on localhost or remote? Local 3.

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Matthew Weier O'Phinney
-- Joseph Crawford wrote (on Monday, 04 May 2009, 10:57 AM -0400): > On Sat, May 2, 2009 at 12:14 PM, howard chen wrote: > 5. Do you use PHPUnit or other testing tools? > > I have not yet gotten into Unit Testing as none of my employers have > required it. Testing your code

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Eugene Morgan
On Sat, May 2, 2009 at 12:14 PM, howard chen wrote: > Please feel free to answer: > > 1. What OS you are using during development? Windows? Mac? Linux? Windows XP at work, Windows Vista at home > > 2. Do you edit source code on localhost or remote? i.e. is your > testing environment reside on

[fw-general] Zend_Application - Modular estructure example (code download)

2009-05-04 Thread j.padron
Hi, I've made a simple (very simple) example with source code download at the end. The post it's in spanish, but code help me to see how modules' autoloader works. http://bit.ly/18OvfW http://bit.ly/18OvfW regards jpadron http://www.konducta.com www.konducta.com -- View this message in cont

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Tim Fountain
2009/5/2 howard chen > > 1. What OS you are using during development? Windows? Mac? Linux? Linux (Ubuntu) > 2. Do you edit source code on localhost or remote? localhost > 3. What tool or IDE you are using? Ultraedit? Apanta? Eclipse PDT? Eclipse PDT > 4. Which versioning system your a

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Bryce Lohr
howard chen wrote: Please feel free to answer: 1. What OS you are using during development? Windows? Mac? Linux? WInXP Pro 2. Do you edit source code on localhost or remote? i.e. is your testing environment reside on localhost or remote? Dev & test locally, rsync to server 3. What

Re: [fw-general] Autoloading modules

2009-05-04 Thread Jurian Sluiman
Op Monday 04 May 2009 15:05:00 schreef Matthew Weier O'Phinney: > -- Jurian Sluiman wrote > > (on Monday, 04 May 2009, 02:20 PM +0200): > > I have read some autoloading articles here, but all examples are with no > > or one module. My application has this structure (almost everything is > > inside

Re: [fw-general] Custom Validators

2009-05-04 Thread iceangel89
oh i think its because i tried to use protected $_messageVariables = array( 'maxValue' => 0 ); but how can i use messageVariables? iceangel89 wrote: > > you are right, the validator is not called. > > i added it in my Zend_Form class > > $this->broken = new Zend_Form_Element_T

Re: [fw-general] Autoloading modules

2009-05-04 Thread Matthew Weier O'Phinney
-- Jurian Sluiman wrote (on Monday, 04 May 2009, 02:20 PM +0200): > I have read some autoloading articles here, but all examples are with no or > one module. My application has this structure (almost everything is inside a > module): > > > /application > /configs > /layouts > /modules > /default

Re: [fw-general] Zend_Loader_Autoloader: Namespace with and without underscore

2009-05-04 Thread Jonathan Maron
Hello Matthew Thank you very much for your response. > Fatal error: Class 'Foo' not found in /var/www/[..]/www/index.php on line 38 >> That's because class 'Foo' does not have a namespace prefix. (Hint: this >> is one reason why we no longer have a Zend.php with class Zend...) So, I guess that

[fw-general] Autoloading modules

2009-05-04 Thread Jurian Sluiman
Hi all, I have read some autoloading articles here, but all examples are with no or one module. My application has this structure (almost everything is inside a module): /application /configs /layouts /modules /default /admin /blog /calendar I have read this thread: http:/

Re: [fw-general] Dollar character in Zend_Config key

2009-05-04 Thread admirau
On 2009-05-04 12:04, Vadim Gabriel wrote: Hey, I know that you could use html entities as values, Not sure if that applies for keys as well. There is no need to use entities. If *value* (not key) contains special characters, you just enclose it with double quotes. http://php.net/parse_ini_file

Re: [fw-general] Missing component in JIRA

2009-05-04 Thread Matthew Weier O'Phinney
-- Jan Pieper wrote (on Monday, 04 May 2009, 11:51 AM +0200): > Can please someone add "Zend_Crypt" to the component list in JIRA? Done. -- Matthew Weier O'Phinney Project Lead| matt...@zend.com Zend Framework | http://framework.zend.com/

Re: [fw-general] Forms in Table

2009-05-04 Thread Matthew Weier O'Phinney
-- iceangel89 wrote (on Sunday, 03 May 2009, 09:28 PM -0700): > i want to decorate my form in a table something like > http://www.nabble.com/How-render-Zend_Form-to-html-table--td15299082.html > > except in the following format > > ++--+---+ > | label |label |

Re: [fw-general] Zend_Loader_Autoloader: Namespace with and without underscore

2009-05-04 Thread Matthew Weier O'Phinney
-- Jonathan Maron wrote (on Monday, 04 May 2009, 07:53 AM +0200): > I use the Zend_Loader_Autoloader to load classes. My namespace is "Foo". > > According to the docs (http://is.gd/v5zW) I should provide an > underscore after the namespace: > > require_once 'Zend/Loader/Autoloader.php'; > > $au

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Dinh
1. Windows XP SP3 (dev and test), CentOS 5.2 (dev+test+production) 2. Code is produced and tested on localhost, code is synchronized to production server/test server 3. Eclipse PDT 2.1, Notepad++, Vim, Netbeans 4. Subversion 1.5 5. Home grown unit test function, PHPUnit, Selenium, ab, siege howar

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Cem Derin
1. What OS you are using during development? Windows? Mac? Linux? All of them (Linux: Fedora + KDE) - but mostly Windows and Mac 2. Do you edit source code on localhost or remote? i.e. is your testing environment reside on localhost or remote? Remote on a samba share 3. What tool or ID

Re: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread lightflowmark
1. W2K 2. Remote. FreeBSD over Samba 3. Inspire PhpEd 4. None currently, coming soon! 5. PHPUnit, Selenium howard chen wrote: > > Please feel free to answer: > > 1. What OS you are using during development? Windows? Mac? Linux? > 2. Do you edit source code on localhost or remote? i.e. is you

Re: [fw-general] Dollar character in Zend_Config key

2009-05-04 Thread Vadim Gabriel
Hey, I know that you could use html entities as values, Not sure if that applies for keys as well. Then use it as an array $array = Bootstrap::getOption('myoption'); $array['key1']['key2']['key2']; I am not sure how the getOption method returns the array if it's mullti dimensional or not, I di

Re: [fw-general] Dollar character in Zend_Config key

2009-05-04 Thread admirau
vince. wrote: > > Hey, > > No, You can't use HTML characters inside the ini file. Use HTML Entities > instead. > > I'm afraid I don't understand what you mean. What works fine: resources.cache.frontend.regexps.a.cache = true This doesn't work: resources.cache.frontend.regexps.$.cache = true

[fw-general] Missing component in JIRA

2009-05-04 Thread Jan Pieper
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can please someone add "Zend_Crypt" to the component list in JIRA? best regards, Jan Pieper -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) iD8DBQFJ/rqdAmDzOgJaVSERAqZvAKCMKQBfKVKgEQE2LrqARpskx0ypnQCdGLl3 JbOYvc7SscLkX4XZKGHbBPc= =Ocsg

Re: [fw-general] Zend_Payment Paypal, MoneyBookers, Tranzila. Looking for review

2009-05-04 Thread Vadim Gabriel
Hey, I have updated the classes again. I have created Zend_Payment_Gateway_Paypal_Customer which handles customer billing and credit card info. now i am willing to split the rest of the class into several smaller classes such as Zend_Payment_Gateway_Paypal_Transaction, Zend_Payment_Gateway_Paypal_

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

2009-05-04 Thread Chou Ken
Information of PHP_CompatInfo is not enough so far. It cannot found many different between PHP version like SPL. That's great and helpful if listed out that PHP version per component. Ken. 2009/5/3 till : > On Sun, May 3, 2009 at 2:18 PM, Mr. Eric Eugene Naujock > wrote: >> (...) >> So in summar

Re: [fw-general] Dollar character in Zend_Config key

2009-05-04 Thread Vadim Gabriel
Hey, No, You can't use HTML characters inside the ini file. Use HTML Entities instead. Yes you can use $config->param1->param2 etc.. take a look at http://framework.zend.com/manual/en/zend.config.adapters.ini.html on how to use it. Vince. On Mon, May 4, 2009 at 12:03 PM, admirau wrote: > > Hi

[fw-general] Dollar character in Zend_Config key

2009-05-04 Thread admirau
Hi! Im trying to pass application options from application.ini to the cache resource via following options: line: 19 of application.ini: resources.cache.frontend.regexps.^/$.cache = true Executing: $this->getOptions('resource'); produces exception: Zend_Config_Exception: Error parsing C:\Use

Re: [fw-general] Validating based on more than 1 inputs

2009-05-04 Thread lightflowmark
Found the manual page on this, in the section on validating forms: http://framework.zend.com/manual/en/zend.form.elements.html#zend.form.elements.validators -- View this message in context: http://www.nabble.com/Validating-based-on-more-than-1-inputs-tp23354455p23364485.html Sent from the Zend

Re: [fw-general] Multi module layout?

2009-05-04 Thread lightflowmark
Hi Kendall, The models will be shared across modules with no extra work; just put them in the models directory. I put my view helpers (and other code) in directories like /library/MyApp/View/Helper/DateFormat.php and then add the helper path $prefix = 'MyApp_View_Helper'; $dir =

RE: [fw-general] Survey: Development environment for PHP/ZFW

2009-05-04 Thread Guillaume BABIK
1. What OS you are using during development? Windows? Mac? Linux? => Windows with Wamp 2. Do you edit source code on localhost or remote? i.e. is your testing environment reside on localhost or remote? => Both 3. What tool or IDE you are using? Ultraedit? Apanta? Eclipse PDT? => Eclipse PDT 4. Whic

Re: [fw-general] Forms in Table

2009-05-04 Thread Elvin Şiriyev
i use following css for table-look dl {display:block;} dt {clear:left;display:block;font-weight:bold;float:left;width:155px;border-top:1px solid #666;color:#F48120;} dd {clear:right;display:block;margin-left:155px;padding:3px;border-top:1px solid #666;background-color:#56585d;} On Mon, May 4, 200