Re: [fw-general] Beginner - Initializing application question

2007-09-12 Thread debussy007
It makes sense since php doesn't have an equivalent for the java virtual machine and is an interpreted language. Thank you for clarifying. Joó Ádám wrote: Hello, But what I don't understand is that every request on the web site will, I think, execute the initialization code. Isn' it

Re: [fw-general] create or manipulate excel documents from within your applications.

2007-09-12 Thread Nathan Wright
This doesn't have anything to do with ZF, but... CSV files are the way to go. http://php.net/fputcsv On 11-Sep-07, at 10:45 PM, rdpweb wrote: Hi All I have implemented an application with ZF.I want to generate bulk report of 500 employees in our organization.I want that report in

Re: [fw-general] Support for SAVEPOINT syntax in Zend_Db

2007-09-12 Thread Olivier Lépine
Well, I respectfully disagree :) It sounds a bit to me like don't bother to grow organic food, people love their greasy potato chips. ;) I agree with you that savepoint is an advanced use case but it is nonetheless quite a handy functionnality when it comes to dealing with critical data

[fw-general] Instalation issues and mod_rewrite issues.

2007-09-12 Thread Nico
Hi, I'm quite new to PHP, but a programmer since 15 years. I download and installed Zend Framework, I have some doubts about alias tags and mod_rewite, beacuse I get an error when I try to test de framework. But first of all I want to make sure that I have installed ZF correctly. I have a windows

Fwd: [fw-general] Instalation issues and mod_rewrite issues.

2007-09-12 Thread Wolfgang Forstmeier
Hey Nico, nice to see that even new PHP people use ZF. The best would be if you read the manual with the quick start guide. There is a good example how to use ZF. http://framework.zend.com/manual/en/zend.controller.html#zend.controller.quickstart I hope this is usefull to you. -- On 9/12/07,

[fw-general] Zend_DB findManyToManyRowset issue in latest snapshot (after commit 6251)

2007-09-12 Thread Todd Wolaver
Hello, I just checked out the latest code from Trunk and now I'm getting errors within my application related to Zend_DB and findManyToManyRowset. I've tried the samples in the documentation, http://framework.zend.com/manual/en/zend.db.table.relationships.html The sample code works.

Re: [fw-general] Support for SAVEPOINT syntax in Zend_Db

2007-09-12 Thread Aaron D. Campbell
What Bill is talking about is Zend Framework's 80/20 policy. The goal is to provide easy solutions for 80% of problems (the most commonly used 80% for web applications), while allowing for extensibility to solve the remaining 20% of development needs. I think that (as you said) savepoint is

Re: Fwd: [fw-general] Instalation issues and mod_rewrite issues.

2007-09-12 Thread Gerard Isdell
Hi there I have just started using the framework as well and I found this tutorial very helpful http://akrabat.com/wp-content/uploads/getting-started-with-the-zend-framework_144.pdf Regards Gerard Wolfgang Forstmeier wrote: Hey Nico, nice to see that even new PHP people use ZF. The best

[fw-general] Zend_Search_Lucene - Removing items from the index issue.

2007-09-12 Thread Juan Felipe Alvarez Saldarriaga
J Im trying to remove an item for some Lucene index where is set data, so Im adding a field with the id of the data that I already save into the database (Im saving this field as UnIndexed) into the Lucene index like this: // Add UnIndexed field to the Lucene index document.

Re: [fw-general] create or manipulate excel documents from within your applications.

2007-09-12 Thread till
Hi Rohit, On 9/12/07, rdpweb [EMAIL PROTECTED] wrote: (...) Will anybody help me?How I am proceed? Have a look: http://pear.php.net/package/Spreadsheet_Excel_Writer Cheers, Till

RE: [fw-general] Zend_Search_Lucene - Removing items from the index issue.

2007-09-12 Thread Alexander Veremyev
Hi Juan, Field must be indexed to be searchable (but may be non-tokenized). Use Keyword field type for ids. PS termDocs() method is much more effective for retrieving documents by given id: --- $pageIdTerm = new

RE: [fw-general] Zend_Search_Lucene - Removing items from the index issue.

2007-09-12 Thread Juan Felipe Alvarez Saldarriaga
Hey J Thx, I change it to Keyword and now works fine, Ill look that link J Thx once again. From: Alexander Veremyev [mailto:[EMAIL PROTECTED] Sent: Miércoles, 12 de Septiembre de 2007 12:47 p.m. To: Juan Felipe Alvarez Saldarriaga; fw-general@lists.zend.com Subject: RE: [fw-general]

RE: [fw-general] Zend_DB findManyToManyRowset issue in latest snapshot (after commit 6251)

2007-09-12 Thread Bill Karwin
My apologies. It's so ingrained in me that it is a best practice to *never* name a primary key column id and *always* name a foreign key column the same as the primary key column it references that I failed to have a test case for the way most people do it. The reason the above is a best

[fw-general] Zend_Controller_Dispatcher_Exception -- Too Generic

2007-09-12 Thread Philip G
Okay, how do I decrypt this? It would seem when anything goes wrong, I get a 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' Error message. It's extremely generic. Let see, I got it when controller name/file/class was mistyped; when a view file didn't

Re: [fw-general] Zend_Controller_Dispatcher_Exception -- Too Generic

2007-09-12 Thread Truppe Steven
The default setting of the framework is to store all exceptions in the response object, if you do a $front-throwException(true); the exceptions get thrown. Your error message Invalid controller specified(error) tells you that there is no ErrorController.php. If you use the defaults there is

[fw-general] Bug in Zend_Controller_Request_Http::getParam() ?

2007-09-12 Thread Jeroen Sen
Howdy, When I try to read the global $_POST array from a post which I've done from a form where the action-url ends on a questionmark, the values for the posted variables with an input type=hidden are not present in the global $_POST array. Example: form action=/page? method=postinput

[fw-general] Multiple Error Controllers

2007-09-12 Thread Ralf Kramer
Hello, I'd like to develop a module based application and want to assign an own ErrorHandler class for each module. So I have a structure like this: /public /controllers IndexController.php ErrorController.php /admin /controllers IndexController.php ErrorController.php /user

RE: [fw-general] Zend_DB findManyToManyRowset issue in latest snapshot (after commit 6251)

2007-09-12 Thread Bill Karwin
I believe this issue is now fixed in revision 6332. Todd, can you please update and test your application? Regards, Bill Karwin -Original Message- From: Bill Karwin [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 11:17 AM To: Zend Framework Subject: RE: [fw-general]

[fw-general] The validation of StringLength can't be used with Chinese

2007-09-12 Thread mikespook
Hi, all, The method isValid in the class Zend_Validate_StringLength, is look like this : public function isValid($value) { $valueString = (string) $value; $this-_setValue($valueString); $length = strlen($valueString); if ($length $this-_min) {

[fw-general] First app problem, can't get it work... :(

2007-09-12 Thread Nico
Hi, I just download and try to use this FW, but I can't get it work. In short, I get this message: *Fatal error*: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in C:\Archivos de programa\xampp\ZendFramework-

Re: [fw-general] First app problem, can't get it work... :(

2007-09-12 Thread Wolfgang Forstmeier
Hey Nico, you should try to set the BaseUrl path within your bootstrap file. file:///C:/Tools/Apache%20Software%20Foundation/Apache2.2/htdocs/Documentation/ZendFramework/manual/core/en/zend.controller.router.html#zend.controller.router.rewritebase Otherwise your url (http://localhost/textzfhtml/)