Re: [fw-general] How to set up dependant dropdowns in form

2008-12-09 Thread Ace Paul
Thank you very much for the reply. I have been looking high and low for a solution. I will let you know how I go with this. Thanks Themselves wrote: I have spent WAY too much time getting this exact scenario working using Zend Dojo forms and an MVC environment, and I plan on building an

[fw-general] Zend_Test: No default module defined for this application

2008-12-09 Thread Amárandel
Good morning everybody! I've got a problem which is bothering me for days. I wrote tests and everything is going fine. But suddenly one test failed with the message Zend_Controller_Exception: No default module defined for this application. This is the code of my test: public function

[fw-general] Zend_File_Transfer proposal, send and receive

2008-12-09 Thread Paweł Chuchmała
Hi. I don't understand when I should use send() and receive() methods. I think that send() should send file(s) from place where our application is to another place. And receive() should receive file to place where application is. For example, if I want store at ftp server file from user uploaded

[fw-general] performance of ZF

2008-12-09 Thread valugi
I've read about this performance benchmark and I want to know your opinions. For most of the people performance is a really important thing. http://www.yiiframework.com/performance/ -- View this message in context: http://www.nabble.com/performance-of-ZF-tp20913061p20913061.html Sent from the

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread till
On Tue, Dec 9, 2008 at 1:07 AM, Sebastian Hopfe [EMAIL PROTECTED] wrote: Hi till, i know that this function is added since a long time. This was only an example. But how i could write a PHPUnit test - so that i get a CodeCoverage by 100% and the test is solved complete? I mean - the ZF is

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 a) It's old -- released in August, 2007. Tell that to the IE 6 users :p ... : ___ _ ___ ___ ___ _ ___: : | \ /_\ / __| _ \ _ (_) \ : : | |) / _ \\__ \ _/ / | |) | : : |___/_/:\_\___/_| |_|_\_|___/

Re: [fw-general] Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'PluginName' was not found in the registry

2008-12-09 Thread Matthew Weier O'Phinney
-- james.fortune [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 02:18 AM -0800): Hi, I have a problem that I am really stuck with. I have a view helper folder in my library, the path is /library/My/helper/ in my controller class pre dispath function I am adding the path to

Re: [fw-general] ZF live settings

2008-12-09 Thread dele454
Any help out there still? I havent being able to resolve it yet!! dele454 wrote: Hi, I am trying to move my files over to the remote server but my pages appear blank. I have tried everything i know to rectify this from setting my include path, config files etc but nothing is working.

[fw-general] ZF live settings

2008-12-09 Thread dele454
Hi, I am trying to move my files over to the remote server but my pages appear blank. I have tried everything i know to rectify this from setting my include path, config files etc but nothing is working. Checked the apache error log file but nothing captured on what am experiencing. not logging

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread Matthew Weier O'Phinney
-- till [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 12:49 PM +0100): On Tue, Dec 9, 2008 at 1:07 AM, Sebastian Hopfe [EMAIL PROTECTED] wrote: Hi till, i know that this function is added since a long time. This was only an example. But how i could write a PHPUnit test - so

RE: [fw-general] ZF live settings

2008-12-09 Thread Robert Castley
Your .htaccess file doesn't look right to me. Have you tried this? RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] -Original Message- From:

[fw-general] Basic steps to create custom url usinig custom routes?

2008-12-09 Thread Neriodavid(Wei Dai)
Hi, I have an old project which built on ZF 1.5; at the time I didn't dig into the custom routes too deep, just use the default configuration. Right now, the client ask for changing some urls to the way he want; the urls may contain French. I knew the custom routes can probably do it. Since

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread till
On Tue, Dec 9, 2008 at 2:24 PM, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: -- till [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 12:49 PM +0100): I know that for RHEL/CentOS, there are unofficial repositories with an even more current version of PHP. Understood. However, for

Re: [fw-general] Routing: actions as first element of path

2008-12-09 Thread jkendall
rutt wrote: Basically, if the first element of the path is a valid controller, then the request should be dispatched to that controller. If not, it should be dispatched to RootController. Not sure if this will get you where you want to go, but my first thought was setting up a plugin

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread till
On Tue, Dec 9, 2008 at 12:51 PM, Ben Scholzen 'DASPRiD' [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 a) It's old -- released in August, 2007. Tell that to the IE 6 users :p =) Point well taken! But I'm also not a network administrator running Windows. ;-) My point

Re: [fw-general] Zend_File_Transfer proposal, send and receive

2008-12-09 Thread Thomas Weidner
There are always 2 directions. Upload and Download. Upload means that the server receives a file from a foreign destination. Therefor the method is called receive. Download means that the server sends a file to a foreign destination. Therefor the method is called send. When you don't want to

Re: [fw-general] performance of ZF

2008-12-09 Thread Matthew Weier O'Phinney
-- valugi [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 03:40 AM -0800): I've read about this performance benchmark and I want to know your opinions. For most of the people performance is a really important thing. http://www.yiiframework.com/performance/ Old news; search the

Re: [fw-general] performance of ZF

2008-12-09 Thread till
On Tue, Dec 9, 2008 at 12:40 PM, valugi [EMAIL PROTECTED] wrote: I've read about this performance benchmark and I want to know your opinions. For most of the people performance is a really important thing. http://www.yiiframework.com/performance/ The yii benchmark has been discussed

Re: [fw-general] generic view for Json contextSwitch

2008-12-09 Thread Ralikwen
Yep, since I couldn't find a good context based solution I do that. Still I think its a pity - context is a good concept, but without the ability to specify a generic view its less useful to me. DASPRiD wrote: When you just want to send JSON, and not render a view, why don't you simply

[fw-general] Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'PluginName' was not found in the registry

2008-12-09 Thread james.fortune
Hi, I have a problem that I am really stuck with. I have a view helper folder in my library, the path is /library/My/helper/ in my controller class pre dispath function I am adding the path to my view using $this-view-addHelperPath('My/Helper/', 'My_Helper'); Everything works fine in my

[fw-general] No Dojo grid view helper

2008-12-09 Thread Guillaume Oriol
AFAIK, there is no View Helper for dojox.grid.Grid. Is there such a class incubating at this time? If not what would be the starting point to create it? Create My_Dojo_View_Helper_Grid and extends what class (Dijit)? What existing class could I use as a model? Thanks - Guillaume ORIOL

Re: [fw-general] How to test downwardly compatible Methodes with PHPUnit

2008-12-09 Thread Matthew Weier O'Phinney
-- till [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 02:50 PM +0100): On Tue, Dec 9, 2008 at 2:24 PM, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: -- till [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 12:49 PM +0100): I know that for RHEL/CentOS, there are unofficial

Re: [fw-general] No Dojo grid view helper

2008-12-09 Thread Matthew Weier O'Phinney
-- Guillaume Oriol [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 06:27 AM -0800): AFAIK, there is no View Helper for dojox.grid.Grid. Is there such a class incubating at this time? If not what would be the starting point to create it? Create My_Dojo_View_Helper_Grid and extends what

[fw-general] ignore case sensitivity for urls

2008-12-09 Thread Jan Pieper
Hi guys, today we thought about how to ignore case sensitivity for urls to allow ~/Foo and ~/foo to load Foo-module. We tried to overwrite all methods that returns uppercase module name to allow ignoring case sensitivity but now we need to extend Zend_Controller_Front and it is very complex

Re: [fw-general] Zend_File_Transfer proposal, send and receive

2008-12-09 Thread Paweł Chuchmała
I have questions ho implement some methods. I want to send file to MogileFs system. I write adapter for it. Scnario is: 1. receive file via user form (http_adapter::receive()) 2. add file to my adapter: $file-addFile($form-file-getFileName()); 3. add filters: $file-addFilter('Rename',

Re: [fw-general] Zend_File_Transfer proposal, send and receive

2008-12-09 Thread Thomas Weidner
Pawel, I don't get the point. You said that the user uploads the file via HTTP to the server. So it's stored on the server as real file. Then you said that you can not filter because the file is not stored on the server ? I don't know any extension which stored a uploaded file directly on

Re: [fw-general] ignore case sensitivity for urls

2008-12-09 Thread Matthew Weier O'Phinney
-- Jan Pieper [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 03:48 PM +0100): today we thought about how to ignore case sensitivity for urls to allow ~/Foo and ~/foo to load Foo-module. We tried to overwrite all methods that returns uppercase module name to allow ignoring case

[fw-general] Dojo SimpleTextarea

2008-12-09 Thread Daniel Latter
Hi, I am having trouble trying to render a Dojo SimpleTextarea as per the Manual. I am using this require: -requireModule(dijit.form.SimpleTextarea); and this in my form class: $this-addElement( 'SimpleTextarea', 'simpletextarea', array( 'label' = 'SimpleTextarea', 'required' = true,

[fw-general] Fatal error while trying to insert to db.

2008-12-09 Thread bytte
I'm trying to move more code from my controllers to my models. For an insert action I'm doing this: class Toestellen extends Zend_Db_Table_Abstract { (...) public function addItem() { $data = array( 'naam' =

Re: [fw-general] Dojo SimpleTextarea

2008-12-09 Thread Matthew Weier O'Phinney
-- Daniel Latter [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 04:09 PM +): I am having trouble trying to render a Dojo SimpleTextarea as per the Manual. Unfortunately, the manual is built from trunk, but the SimpleTextarea support won't be released until 1.8.0. You can grab it

[fw-general] noob-question: increment integer in db

2008-12-09 Thread Markus Hausammann
Hi I would like to increment an integer column in my db. What I've tried is this: $row = $this-findDependentRowset('ParamsUser')-current(); $row-pointer = 'pointer + 1'; $row-save(); Obviously it doesn't work, how could I do it? Thanks! Markus PS I sent

Re: [fw-general] noob-question: increment integer in db

2008-12-09 Thread Jan Pieper
I don´t know Zend_Db_Table very well but try this: [...] ++$row-pointer; $row-save(); Original-Nachricht Datum: Tue, 9 Dec 2008 18:20:42 +0200 Von: Markus Hausammann [EMAIL PROTECTED] An: fw-general@lists.zend.com Betreff: [fw-general] noob-question: increment integer in db

Re: [fw-general] Dojo SimpleTextarea

2008-12-09 Thread Daniel Latter
ok will grab it from trunk, thanks for the quick response! Thank You Daniel Latter 2008/12/9 Matthew Weier O'Phinney [EMAIL PROTECTED] -- Daniel Latter [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 04:09 PM +): I am having trouble trying to render a Dojo SimpleTextarea as per

AW: [fw-general] noob-question: increment integer in db

2008-12-09 Thread Markus Hausammann
it works, that's amazing, I don't get the principle behind this operation but it works :) -Ursprüngliche Nachricht- Von: Jan Pieper [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 9. Dezember 2008 18:24 An: Markus Hausammann; fw-general@lists.zend.com Betreff: Re: [fw-general]

Re: [fw-general] Routing: actions as first element of path

2008-12-09 Thread rutt
Ah, interesting. With one small tweak to set the action, this seems to work: public function preDispatch(Zend_Controller_Request_Abstract $request) { $frontController = Zend_Controller_Front::getInstance(); $isDispatchable =

Re: [fw-general] No Dojo grid view helper

2008-12-09 Thread Guillaume Oriol
Thank you for the advice. When do you expect to release the 1.8 version? Matthew Weier O'Phinney-3 wrote: -- Guillaume Oriol [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 06:27 AM -0800): AFAIK, there is no View Helper for dojox.grid.Grid. Is there such a class incubating at this

Re: [fw-general] Zend_File_Transfer proposal, send and receive

2008-12-09 Thread Paweł Chuchmała
On Tue, Dec 9, 2008 at 16:19, Thomas Weidner [EMAIL PROTECTED] wrote: Pawel, I don't get the point. You said that the user uploads the file via HTTP to the server. So it's stored on the server as real file. Then you said that you can not filter because the file is not stored on the server

[fw-general] Empty logfiles

2008-12-09 Thread debussy007
Hi, on every request, I specify the logfile to use for logging, because the file to use depends on time (I have one logfile per hour). $logger = new Zend_Log(); $writer = new Zend_Log_Writer_Stream($path . logfile- . date(Ymd-H) . .log); $logger-addWriter($writer); The problem is that even

Re: [fw-general] Zend_File_Transfer proposal, send and receive

2008-12-09 Thread Matthew Ratzloff
Paweł, Perhaps I'm misunderstanding, but I'm guessing you won't be able to do this because Zend Framework does not model the file system. At my company, our platform used to use MogileFS, but we transitioned to POSIX-compatible file storage; we recommend OCFS2 to our clients now. (Side note: I

Re: [fw-general] Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'PluginName' was not found in the registry

2008-12-09 Thread james.fortune
That was it thanks for the reply i hate it when it turns out to be something simple james.fortune wrote: Hi, I have a problem that I am really stuck with. I have a view helper folder in my library, the path is /library/My/helper/ in my controller class pre dispath function I am

Re: [fw-general] Newbie question regarding parameters in the url

2008-12-09 Thread Julian102
Thank you for the reply it was very helpful. Im still a little confused however because I dont understand why by default parameters would persist surely in most situations you would not want them to. Do you know if I am right in saying its good practice to use the views url helper when creating

[fw-general] Newbie quesiton - How do queries that join multiple tables fit into the model in the MVC

2008-12-09 Thread Julian102
Hello, I am new to the mvc pattern and zend framework. I understand that a class in the model is normally associated with a table in the database and that all my sql queries should be in the model so that i do not get a fat controller. I am now confused because my application requires a query

Re: [fw-general] Newbie quesiton - How do queries that join multiple tables fit into the model in the MVC

2008-12-09 Thread Bill Karwin
On Dec 9, 2008, at 9:54 AM, Julian102 wrote: I understand that a class in the model is normally associated with a table in the database ... Whoah there. I don't know where you get that idea. The relationship between a Model class and a Table class (or multiple Table classes) is HAS-A,

Re: [fw-general] PHP version requirement

2008-12-09 Thread Jack Sleight
Wow, that's fantastic, how did you get that list? Thanks! 2008/12/8 till [EMAIL PROTECTED]: Zend_File seems to lead the list, but only with 5.2.1, not 5.2.4. And if anyone cares, here are the version requirements per component (tests not included): Zend_Acl: 5.0.0 Zend_Amf: 5.0.0

Re: [fw-general] PHP version requirement

2008-12-09 Thread till
On Tue, Dec 9, 2008 at 7:01 PM, Jack Sleight [EMAIL PROTECTED] wrote: Wow, that's fantastic, how did you get that list? Thanks! PHP_CompatInfo[1]. I'll post some source code later this week. :-) Till [1]: http://pear.php.net/package/PHP_CompatInfo

RE: [fw-general] ZF live settings

2008-12-09 Thread dele454
Still looking for help. I think despite the fact that i have my ZF included the php.ini file i dont think it is seeing any of my ZF file still. I am in the process of deleting all the ZF folders, refreshing my home page doesnt even give an warning of a component missing or so. which is strange!!

Re: [fw-general] Fatal error while trying to insert to db.

2008-12-09 Thread Matthew Weier O'Phinney
-- bytte [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 08:18 AM -0800): I'm trying to move more code from my controllers to my models. For an insert action I'm doing this: class Toestellen extends Zend_Db_Table_Abstract { (...) public function addItem() {

Re: [fw-general] No Dojo grid view helper

2008-12-09 Thread Matthew Weier O'Phinney
-- Guillaume Oriol [EMAIL PROTECTED] wrote (on Tuesday, 09 December 2008, 08:36 AM -0800): Thank you for the advice. When do you expect to release the 1.8 version? Sometime in Q1 of 2009. No specific date set yet. Matthew Weier O'Phinney-3 wrote: -- Guillaume Oriol [EMAIL PROTECTED]

RE: [fw-general] ZF live settings

2008-12-09 Thread dele454
I have been able to narrow my problem down to the Zend_registerAutoload not working and i think it is because of this from the reference doc: The Zend_Loader class contains a method you can register with the PHP SPL autoloader. Zend_Loader::autoload() is the callback method. As a convenience,

[fw-general] Zend_View URL Helper example

2008-12-09 Thread Aniketto
Hi all, Can somebody point me to good example of using Zend_View URL Helper on net. I googled a lot but didnt get anything. Aniket -- View this message in context: http://www.nabble.com/Zend_View-URL-Helper-example-tp20930067p20930067.html Sent from the Zend Framework mailing list archive at

RE: [fw-general] ZF live settings

2008-12-09 Thread dele454
When i put a try and catch block in my setupController function. I get this error on my webpage: Error parsing config/settings.ini on line 6 as well as Fatal error: Call to a member function dispatch() on a non-object in /usr/local/lib/apps/Bootstrap.php on line 18 line 18 looks like this

RE: [fw-general] ZF live settings

2008-12-09 Thread dele454
putting a double quote around the db password. took the error away but then am still getting blank pages :( database.password = jserjs=tusju72 - dee -- View this message in context: http://www.nabble.com/ZF-live-settings-tp20911516p20930394.html Sent from the Zend Framework mailing