Re: [fw-general] Example for ZF-1214 changes?

2007-04-09 Thread Jan Pieper
Argh no this isn't the mistake. I do not capied it so I wrote it new in my email and copy&paste can't think by itself :) (i think it should raise an error because of redeclaring an varible) I have $_rowClass and $_rowsetClass as in your correction but it won't work. -- Jan > Am Sonntag, 8. Ap

Re: [fw-general] question about zend_db

2007-04-09 Thread Alexander Netkachev
Hi, For me it looks like: 1. Portability. The SQL generation depends on the data adapter used. So, when you change database of your app from MySQL to MS SQL you probably will not change anything in your selects. 2. Manageability. Just what Bill has wrote about. I've used such technique for buildi

Re: [fw-general] caracters ã, é, õ...

2007-04-09 Thread Alexander Netkachev
Hi, I believe there are two issues here: 1. How application updates the database with the data. 2. How application makes the search. PHP does nothing with the data you entered and sends it into the database just as you typed them into the text field. If you have some parameter the "echo"-ing thi

[fw-general] Optimize URL's

2007-04-09 Thread Cristian Bichis
Hello, I am trying to optimize for search engine applications built using ZF. Along with lot of tutorials made for how to trap 404 errors i didn't find anything to optimize URL format. I mean normal way used by ZF as: /controller/action/param1/param2 so: :controller/:action/* is not so SEO

Re: [fw-general] Optimize URL's

2007-04-09 Thread Alexander Netkachev
Maybe off-topic, but: I so many times have seen that one schema is better for SE then another but they are all different :-) When it is obvious that using query sting is less SE-friendly then using :module/:controller/:action/ ... params ..., it is quite hard for me to understand why /descriptive-

Re: [fw-general] Optimize URL's

2007-04-09 Thread Cristian Bichis
Hello, Is quite easy to understand why: - is more important to have file directly under site root (/file) since is better ranked than a /dir1/dir2/file - is important to not have words who then to distract attention of SE (i would never name a controller or action as: products or something, ra

Re: [fw-general] Optimize URL's

2007-04-09 Thread Cristian Bichis
Btw, Is obviously that an URL as: /products/view/17 , which is standard on ZF won't help at all on search engines... Is no usefull keyword on URL path... -- Best regards, Cristian Bichis www.zftutorials.com | www.zfforums.com | www.zfli

Re: [fw-general] Optimize URL's

2007-04-09 Thread Rob Marscher
On Apr 9, 2007, at 10:34 AM, Cristian Bichis wrote: Btw, Is obviously that an URL as: /products/view/17 , which is standard on ZF won't help at all on search engines... Is no usefull keyword on URL path... You don't have to use a product id as your parameter there. If you store your pro

[fw-general] question about zend_db_table

2007-04-09 Thread Jacky Chen
Hi there, how can i query limit rows from zend_db_table,if the query result is large.And also the Zend_Db_Table Relationships. Best Regards, Jacky

Re: [fw-general] Optimize URL's

2007-04-09 Thread Matthew Weier O'Phinney
-- Cristian Bichis <[EMAIL PROTECTED]> wrote (on Monday, 09 April 2007, 02:27 PM +0200): > I am trying to optimize for search engine applications built using ZF. > > Along with lot of tutorials made for how to trap 404 errors i didn't > find anything to optimize URL format. > > I mean normal way

Re: [fw-general] Optimize URL's

2007-04-09 Thread Cristian Bichis
Hello, Thanks for your reply... I will test all the code... So, it is true is not working the way i said ? I mean with subclassing Route class for putting new self::URI_DELIMITER in place and :description_:controller_:action_*wont't work ? Much easier to handle through a single router...

Re: [fw-general] Help with rewrite

2007-04-09 Thread mbneto
Hi Nick, Thanks for the answer. I am already using the setBaseUrl based on the REQUEST_URI so I can detect which one to set. The problem was that I was using http://devel.foo.com/~user/project as the parameter and not /~user/project. Regarding your setup basically the difference is that the .h

RE: [fw-general] question about zend_db_table

2007-04-09 Thread Bill Karwin
You can restrict the result set when you using the fetchAll() method. You can either use a WHERE condition in the first argument, or you can use LIMIT and OFFSET values in the third and fourth arguments. $where = 'price > 100'; $order = 'price ASC'; $limit = 25; $offset = 100; $pr

[fw-general] MySQL PERSISTENT connections

2007-04-09 Thread mreverman
The application that i have developed would benefit from making persistent connections to my MYSQL database server. Is there any plans to add MySQL persistent connection to the Zend Framework? From what I have seen the Zend Framework does not offer this (although, i may have overlooked it). --

Re: [fw-general] MySQL PERSISTENT connections

2007-04-09 Thread Alexander Netkachev
Hi, Please look at this tread: http://www.nabble.com/Any-idea-how-to-have-PDO%3A%3AATTR_PERSISTENT-%3D%3E-true-tf2707756.html#a7550717 Sincerely, On 4/9/07, mreverman <[EMAIL PROTECTED]> wrote: The application that i have developed would benefit from making persistent connections to my MYSQ

RE: [fw-general] MySQL PERSISTENT connections

2007-04-09 Thread Bill Karwin
There are no plans to add MySQL persistent connections to Zend_Db. There is a lot of evidence and expert opinion that persistent connections don't help PHP applications, and in some cases *cause* resource-utilization problems. The overhead of non-persistent connections is not significant, at lea

[fw-general] Incorrect classnames?

2007-04-09 Thread Jan Pieper
Why there are still such classes present in our repository: - Zend_Feed_EntryRss - Zend_Feed_EntryAtom - Zend_Feed_EntryAbstract I think these classes should be renamed before going stable (1.0GA) because these classes conflicts with 3.2 of our coding standards. Issue: http://framework.zend.c

Re: [fw-general] Zend Feed / Atom / XHTML content

2007-04-09 Thread Alexander Netkachev
Hi, Is there any action planned or taken because of the following? Thanks, On 4/3/07, Alexander Netkachev <[EMAIL PROTECTED]> wrote: Hi, I think it should be something similar to the following: appendChild($doc->createElement('feed')); $feed->setAttribute('xmlns', ' http://www.w3.org/2005/A

RE: [fw-general] Zend Feed / Atom / XHTML content

2007-04-09 Thread Bill Karwin
Hi Alexander, Would you like to submit a JIRA issue that describes the desired use case? Even better would be to attach a PHPUnit test that demonstrates the desired usage. Then a developer can be assigned the task of making a solution that allows the unit test to pass. In general, I'd l

Re: [fw-general] Zend Search Lucene: Searching for URLs

2007-04-09 Thread Dave Dash
Thank you for looking at this... okay that makes sense. I suspected it was the Query Parser. Alexander Veremyev wrote: > > Hi Dave, > > I checked the index you sent me and found the problem. > > The problem is that field is not tokenized. > So values are stored "as is", but query parser bre