Hi guys,
I'm trying to use dependent tables in ZF and I ran into a problem I
cannot solve for now.
I have two tables. One, say, with a records of files and another with
text to these files, defined by 'id' and 'language' which both form a
primary key. Reference from the files-table is done
Anyone have an ideas on this? Im still stuck...
On Wed, Nov 5, 2008 at 10:26 AM, Ian [EMAIL PROTECTED] wrote:
Hi,
I am having problems using Zend Cache and Service Flickr. The problem is
that the array I get before caching is very different from the cache. Any
ideas as to what im doing
Hi,
no that is not my opinion, that is the one sentence I heard most during
the last IPC in Mainz when I talked to others about Zend_Search_Lucene.
The widespread belief was that Zend_Search_Lucene is a very nice tool
but it is damn slow with a larger index. I need to add that I did not
find out
-- Michael Depetrillo [EMAIL PROTECTED] wrote
(on Thursday, 06 November 2008, 09:33 PM -0800):
Does using autoload improve or reduce performance?
I thought I saw an email by you where you stated in did.
It improves performance, particularly when you strip out the
require_once calls within
Thanks so much!!
On Nov 7, 2008, at 8:21 AM, Matthew Weier O'Phinney wrote:
I sent my original reply to you, but I'm posting here for the
archives.
-- Edward Haber [EMAIL PROTECTED] wrote
(on Friday, 07 November 2008, 07:09 AM -0500):
Thanks for the help! It is much appreciated. I had a
Thanks for the help! It is much appreciated. I had a feeling I was
doing something a bit fishy.
I tried the code below and the method is returning an associative
array instead of an array of Article objects. If I do change the
setFetchMode globally in the bootstrap, it changes to stdClass.
You can use a LimitIterator to make it starts where you want ;-)
Julien.P
2008/11/7 Jason Austin [EMAIL PROTECTED]
Thanks for the code.
After further investigation, it appears that the issue is not with
Zend_Db_Table_Rowset, but with the SPL SeekableIterator class, and how PHP
handles
Any help on this?
-
Nickolas Whiting
Developer
http://xstudiosinc.com Xstudios
--
View this message in context:
http://www.nabble.com/Zend-Form-Validation-tp20267185p20382827.html
Sent from the Zend Framework mailing list archive at Nabble.com.
On Fri, Nov 7, 2008 at 1:36 AM, Sander van de Graaf [EMAIL PROTECTED] wrote:
Hi all,
Just wanted to point you to a blog post about some optimizations I found for
a ZF project we're finishing up. It might be of interest to some of you:
On Fri, Nov 7, 2008 at 1:09 PM, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
-- Michael Depetrillo [EMAIL PROTECTED] wrote
(on Thursday, 06 November 2008, 09:33 PM -0800):
Does using autoload improve or reduce performance?
I thought I saw an email by you where you stated in did.
It
Hey everyone
I am working with ZF 1.6.2 and I'm trying to select something from one
select element and then enable a second select element.
I tried it as follows, but there are two problems. First of all go() does
not know $fach2 and if I try to simply echo a random number it shows this
one
Hi,
Is it just me or quickstart is not working.
I got
Message: SQLSTATE[HY000]: General error: 14 unable to open database file
when I try to submit/add stuff in guestbook.
I have chmod 777 data/db/guestbook-dev.db
All other success messages etc are working as expected.
On Fri, Nov 7, 2008 at 5:04 PM, Julian Davchev [EMAIL PROTECTED] wrote:
Hi,
Is it just me or quickstart is not working.
I got
Message: SQLSTATE[HY000]: General error: 14 unable to open database file
when I try to submit/add stuff in guestbook.
I have chmod 777 data/db/guestbook-dev.db
Hello,
I didn't tried it, but I have a Question:
How is the JavaScript Editor working? Is it possible to get jQuery or
Prototype CodeCompletion?
Thanks and Greetings,
Stefan Sturm
-- till [EMAIL PROTECTED] wrote
(on Friday, 07 November 2008, 03:40 PM +0100):
On Fri, Nov 7, 2008 at 1:09 PM, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
-- Michael Depetrillo [EMAIL PROTECTED] wrote
(on Thursday, 06 November 2008, 09:33 PM -0800):
Does using autoload improve or
-- Julian Davchev [EMAIL PROTECTED] wrote
(on Friday, 07 November 2008, 06:04 PM +0200):
Is it just me or quickstart is not working.
I got
Message: SQLSTATE[HY000]: General error: 14 unable to open database file
when I try to submit/add stuff in guestbook.
I have chmod 777
On Fri, Nov 7, 2008 at 5:42 PM, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
-- till [EMAIL PROTECTED] wrote
(on Friday, 07 November 2008, 03:40 PM +0100):
On Fri, Nov 7, 2008 at 1:09 PM, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
-- Michael Depetrillo [EMAIL PROTECTED] wrote
(on
sorry but your two print_r dumps seems to be the same ?
can you be more precise and showing us the differences ?
I don't know if it's the problem here. But don't forget that PHP
serialization doesn't work with resources
Ian a écrit :
Anyone have an ideas on this? Im still stuck...
On
Hi,
I did a prototype using ZSL using a database of news articles 40,000.
I had a bit of a mixed experience
Indexing was fine took a while but nothing unexpected.
Searching using simple queries was ok I think its was something like
0.8 - 2 seconds per search
Searching using ranges failed
-- till [EMAIL PROTECTED] wrote
(on Friday, 07 November 2008, 05:47 PM +0100):
On Fri, Nov 7, 2008 at 5:42 PM, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
-- till [EMAIL PROTECTED] wrote
(on Friday, 07 November 2008, 03:40 PM +0100):
On Fri, Nov 7, 2008 at 1:09 PM, Matthew Weier
Hi all,
i am stucked with this. I have to transform regular sql into Zend DB sql and
then to return values in my phtml file. After many days i am not able to
acompish that. There is my indexAction.
public function indexAction() {
$db = Zend_Registry::get ( 'db' );
Coming to ZF from a Rails background (because I'm much stronger in PHP
than in Ruby), one of the things that irks me is the *apparent* lack
of a formal database migration system. In Rails, you create migration
files, define the structure and/or changes in a DB-neutral context, then
run the
I sent my original reply to you, but I'm posting here for the archives.
-- Edward Haber [EMAIL PROTECTED] wrote
(on Friday, 07 November 2008, 07:09 AM -0500):
Thanks for the help! It is much appreciated. I had a feeling I was doing
something a bit fishy.
I tried the code below and the method
does not exist and is not planned from what i can see in the proposals (there
is one proposal, but its inactive for many months).
if you want to use a formal migration system use Doctrine, Propel or
ezcDatabaseSchema. All great components. Since ZF does not enforce a model
component on you,
Well, you can create a new Filter, which converts empty strings into
null and add it to the the form
Grotevant, Paul F escreveu:
I'm developing a Zend_Form class which will feed data into a MySQL table
through a Zend_Db table class.
There are a number of fields on this form that are optional,
Your e-mail prompted me to finally write down my thoughts on the subject:
http://www.builtfromsource.com/2008/11/07/zend_search_lucene-not-enterprise-ready/
-Matt
On Fri, Nov 7, 2008 at 1:09 AM, Ralf Eggert [EMAIL PROTECTED] wrote:
Hi,
no that is not my opinion, that is the one sentence I
This is something that I expect we'll see after Zend_Tool is completed and
we approach 2.0, along with generators. Trust me, I want to see those
things, too. :-)
-Matt
On Fri, Nov 7, 2008 at 10:41 AM, Benjamin Eberlei [EMAIL PROTECTED]wrote:
does not exist and is not planned from what i can
Hey,
I am looking for some creative and efficent ideas on how to handle static
asset control using ZF for a large scale app.
When I say static assets I am refering to:
static images
js scripts
uploaded images/thumbnails
css files
I am currently hosting these on a seperate domain name from my
i have the same problem, will try this, though i'd rather not have to write a
new filter.
Felipe Weckx-2 wrote:
Well, you can create a new Filter, which converts empty strings into
null and add it to the the form
Grotevant, Paul F escreveu:
I'm developing a Zend_Form class which will
Hi All,
I've been using the:
$mail-setBodyText();
$mail-setBodyHtml();
To set alternate bodies to my emails. I've sorta always taken it on faith
that these work. But I figured I should probably test it.
So how do you test the text body of an email? I tried pine once I think for
a
http://en.wikipedia.org/wiki/Revision_control
-Matt
On Fri, Nov 7, 2008 at 11:33 AM, j5 [EMAIL PROTECTED] wrote:
Hey,
I am looking for some creative and efficent ideas on how to handle static
asset control using ZF for a large scale app.
When I say static assets I am refering to:
static
If I'm not mistaken, Rob Allen originally proposed DB migrations some
time back. Last I heard, he was planning to refactor that proposal to
build on Zend_Tool.
Rob, how off am I?
,Wil
-Original Message-
From: Benjamin Eberlei [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2008
On Fri, Nov 7, 2008 at 12:15 PM, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
Actually... loadClass() already does that. The issue is in the userland
code -- if they do a require_once or include_once in userland *after*
we've already loaded the class in the autoloader using simply include,
On 7 Nov 2008, at 21:47, Wil Sinclair wrote:
If I'm not mistaken, Rob Allen originally proposed DB migrations some
time back. Last I heard, he was planning to refactor that proposal to
build on Zend_Tool.
Rob, how off am I?
That's the basic plan - Zend_Tool is the obvious vehicle to use
Hi. I'm a newbie at both PHP and Zend. I've just been working on these for
the past couple of months. My goal here is to ensure that my understanding
of the execution model of PHP under apache is correct, and hopefully get
some pointers on speeding things up.
Firebug is showing that it takes 300
-- Eric Coleman [EMAIL PROTECTED] wrote
(on Friday, 07 November 2008, 05:15 PM -0500):
On Fri, Nov 7, 2008 at 12:15 PM, Matthew Weier O'Phinney
[EMAIL PROTECTED] wrote:
Actually... loadClass() already does that. The issue is in the userland
code -- if they do a require_once or include_once
Your understanding is correct. I'm guessing you come from a Java
background, or something similar. PHP has no application server concept.
The long and short is that there is nothing like what you want, but daemons
like memcached can approximate this effect. Serialize data to memory,
-- stevep98 [EMAIL PROTECTED] wrote
(on Friday, 07 November 2008, 02:49 PM -0800):
Here are my main questions:
a) Is there any way to store a variable (I'm thinking things like
database handles, config objects) such that it can be retrieved in the
same apache process when it is processing
Hi!
Actually... loadClass() already does that. The issue is in the userland
code -- if they do a require_once or include_once in userland *after*
we've already loaded the class in the autoloader using simply include,
that will trigger the error. That's what I was getting at. That said,
AFAIK
Thanks for your replies, and you're right that I come from a java background.
The profiler shows than another source of overhead for me seems to be
Zend_Load. Loading all those helper classes takes about 30% of my total
request time. I'm guessing the overhead is from actually doing the parsing
The profiler shows than another source of overhead for me seems to be
Zend_Load. Loading all those helper classes takes about 30% of my total
request time. I'm guessing the overhead is from actually doing the parsing
of those PHP files.
It's likely that you're not doing everything you can
That's correct. A file included with either include or include_once will
not be loaded again if the interpreter hits a subsequent include_once
statement.
-Matt
On Fri, Nov 7, 2008 at 6:15 PM, Stanislav Malyshev [EMAIL PROTECTED] wrote:
Hi!
Actually... loadClass() already does that. The
-- stevep98 [EMAIL PROTECTED] wrote
(on Friday, 07 November 2008, 06:27 PM -0800):
Thanks for your replies, and you're right that I come from a java background.
The profiler shows than another source of overhead for me seems to be
Zend_Load. Loading all those helper classes takes about 30% of
43 matches
Mail list logo