Hi Kevin,
Great idea, I'm looking forward to see your proposal.
But what's about just writing (sub classing) a new Router, which caches just
in the route function. Like if the routes-array do not change since the last
request, take the path infos and look if they allread in the cache, if not
calc
Hi Brian,
PHP works on a very different way than java does. We call this share nothing
architecture, after the request there are (usually) no data in memory. So
you have a completely different way in PHP, this needs some different
thinking about stuff.
Zend Registry is unset after the request lik
altaf.samnani wrote:
>
> zend_acl where should i keep php abcacl.php (class abcacl extends
> zend_acl) ,nd wat changes i need to make in index.php nd i m having dir
> structure so shud it be fixd or it can be anything as i m new i donne know
> tht much
>
zend_acl where should i keep php abcacl.php (class abcacl extends zend_acl)
and i m having dir structure so shud it be fixd or it can be anything as i m
new i donne know tht much
-sam
--
View this message in context:
http://www.nabble.com/zend_acl-where-sh
Hi Jeff,
Please don't forget set TextNumeric analyzer as default before indexing and
search:
-
Zend_Search_Lucene_Analysis_Analyzer::setDefault(new
Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive());
With best re
Hi there, i seem to be having a problem with a session namespace
problem, and non cookie and cookie sessions. Basically Im going to a
"check" action on the script which has a temporary session attached like
/index/check?client=502850935809325825039523, when I check that the
session is active ho
Hi, im very new here, is there a PEAR like installer to run the update
or does it have to be overwritten all the time ?
Andi Gutmans wrote:
Thanks Darby and all the rest for getting this out the door!
-Original Message-
From: Darby Felton [mailto:[EMAIL PROTECTED]
Sent: Monday, Ju
Thanks Darby and all the rest for getting this out the door!
> -Original Message-
> From: Darby Felton [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 30, 2007 1:14 PM
> To: [EMAIL PROTECTED]; fw-general@lists.zend.com
> Subject: [fw-general] Zend Framework 1.0.1 released
>
> Hi everyone
I'm sorry ... I'll try to explain it a bit better.
Let's say we have table NEWS with fields id, title, content, rel_author_id,
rel_category_id.
So fetching all news would look something like this:
fetchAll();
?>
Now every news has author, who's name I wanna output too. Solution would be
to ca
Hi ive managed to integrate 3 templating engines which are Smarty ,
Template Lite and PEAR's HTML_Template_Flexy which is the best. The
smarty examples out there are broken and out of date, it took a while to
find the right one. Let me know if you need a hand with this.
Here is my version, let
I'm not sure I understand the question. There must be exactly one
parent row in the referenced table. So there's no reason to specify
anything about what parents are to be fetched. Either you want that
single row, or you don't.
Fetching dependent rows is another issue -- there can be zero, one,
Fetching realted row should be something like this (if i'm not wrong)
fetchAll();
foreach ($bufRowset as $bug1) {
$reporter = $bug1->findParentAccounts();
}
?>
My question is: Is there already somekind of function where you can pass
what parents are to be fetched or I'm on my own here?
Hi Daniel,
Lucene.NET and Java Lucene both intensively use data caching. It's done
at index objects reading level, so even recreated queries are executed
much more faster.
It's very reasonable for Java and .NET environment where long-running
applications is a common case.
Moreover Java Lucene sea
I found that range queries were not working on tokenized fields, at
least tokenized fields that were all numeric -- I used fields of
type keyword and then found that ranges were working.
Jeff Kolber
Lead Developer
Roubini Global Economics, LLC
131 Varick Street, Suite 1005
New York, NY 1001
Yes, look, I create a class name "Lucene" who is extended to
Zend_Search_Lucene, so this is the action where I try to make the "find", it's
not done yet, but thes is the base code:
public function searchAction()
{
// Load Lucene lib.
$objLucene = new Lucene( LUCENE_INDEX_PATH );
//
Hi Matthew,
Thanks for the prompt reply.
Please consider 'definitive' as 'a way to do what I need in a ZendFramework
way without having to wait for a new release' :)
After I posted the message I found another info about using Smarty and
ViewRenderer =>
http://naneau.nl/2007/05/31/using-naneau_vi
Hi Juan,
Could you give an example of your code?
With best regards,
Alexander Veremyev.
From: Juan Felipe Alvarez Saldarriaga
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 31, 2007 1:05 AM
To: fw-general@lists.zend.com
Subj
It's sign-style notation.
'+' means 'required' term
'-' means prohibited
no sign means optional term.
So, rewrited query is OK
Next step. What is the result of:
-
echo Zend_Search_Lucene_Search_QueryParser::parse('published:[1995 TO
1997]')->rewrite($index)->optimi
Hi there,
I am using ZF but I am facing problems in my production server. In my
development server everything is fine.
My
I am accessing a url foo.com/projectX/contact/chat but it always goes to
index/index.
My rewrite rule
RewriteEngine on
RewriteBase /projectX/
RewriteRule !\.(js|ico|gif|j
:)
Im trying to retrieve data from my index, but when I try to do an echo from one
of the hits I always get that the field is not found in the document, in my
case I'm adding four fields, url -> text, identifier -> keyword, content ->
unstored and title -> text, but when I print the hits object
Usually Zend Debugger works fine for me, but I've run into some
strange problems like this too. Could never figure out what was
actually causing it though.
Once it happened when I extended Zend_Controller_Action. I got the
same 'Cannot redeclare class' error even when using
Zend_Loader::r
Hi everyone,
It is my pleasure to announce the release of Zend Framework 1.0.1,
available now at http://framework.zend.com.
This mini release includes fixes for 33 issues since the 1.0.0 release
only a month ago. These issues are generally bug fixes and improvements,
though some feature additions
I think this is a great idea, and I imagine it would be best implemented
as a Controller plugin. By hooking the routeStartup() and
routeShutdown(), can you then set the isDispatched flag to not dispatch.
Then at dispatchLoopShutdown(), the response object can be populated
with the cache conte
-- mbneto <[EMAIL PROTECTED]> wrote
(on Monday, 30 July 2007, 03:37 PM -0400):
> I've been using Zend with my projects since 0.7 and using a Smarty class with
> the View to allow me to $this->view->render using the templates.
>
> I've upgraded to Zend 1.0.0 and all my pages broke with a fatal erro
Hey guys, I'm fairly new to the Zend Framework and have a few
questions. Firstly let me begin by describing the architecture I have
in place.
I have a set of domain classes, each of which represent a specific table
in the database. I'm using a set of service classes I built to populate
the
Hi Alexander,
The result of the echo is:
(published:1995 published:1996 published:1997)
Seems like two OR's are missing?
As for your second question: yes indeed, I set that analyzer as
default (for both indexing and searching).
On 30 Jul 2007, at 21:35, Alexander Veremyev wrote:
Hi Jurri
I'm currently looking for a solution before putting together a proposal for a
currently non-existant class Zend_Controller_Router_Route_Immutable.
This would be a caching solution for routes that would allow you to define a
route as always having the same output for a given input and to cache it
Hi,
I've been using Zend with my projects since 0.7 and using a Smarty class
with the View to allow me to $this->view->render using the templates.
I've upgraded to Zend 1.0.0 and all my pages broke with a fatal error
message
*Fatal error*: Class Foo_View_Smarty contains 3 abstract methods and mu
Hi Jurriën,
1. What is the result of:
-
echo Zend_Search_Lucene_Search_QueryParser::parse('published:[1995 TO
1997]')->rewrite($index)->__toString() . "\n";
-
2. It looks like you set TextNum analyzer correctly, but nevertheless I should
ask. Did you set
Of course, but parse errors won't, regardless of where it's called.
Matthew Weier O'Phinney wrote:
> -- Tony Harrison <[EMAIL PROTECTED]> wrote
> (on Monday, 30 July 2007, 05:22 PM +0100):
>
>> Setting the display_errors directive using ini_set() is no good for fatal
>> errors. You should chang
Not if it is an error during compilation (I think)
On Monday 30 July 2007 17:51, Matthew Weier O'Phinney wrote:
> -- Tony Harrison <[EMAIL PROTECTED]> wrote
>
> (on Monday, 30 July 2007, 05:22 PM +0100):
> > Setting the display_errors directive using ini_set() is no good for fatal
> > errors. You
Hi all,
I've been trying to get ranged queries to work, but unfortunatly with
little success.
When I have the following query:
published:1995
It successfully lists all books from 1995.
But when I have a ranged query it returns 0 hits:
published:[1995 TO 1997]
What could be the problem?
Th
please see
http://framework.zend.com/wiki/display/ZFPROP/Zend_Session_SaveHandler_Db
Jordan
Dear Zend Framework Development Team,
I am trying to use Zend Studio 5.5.0 IDE to Debug the demo codes
(ZFGridDemo) from zend.com/webinar. Following error message show up when
I try to execute following statement from zfgrid/document_root/index.php
file:
$db = Zend_Db::factory(
$config->database-
-- Tony Harrison <[EMAIL PROTECTED]> wrote
(on Monday, 30 July 2007, 05:22 PM +0100):
> Setting the display_errors directive using ini_set() is no good for fatal
> errors. You should change the ini file or set it from an apache config file.
Um, yes, it *will* display fatal errors, so long as it is
Setting the display_errors directive using ini_set() is no good for
fatal errors. You should change the ini file or set it from an apache
config file.
Tony.
Joó Ádám wrote:
> It was already there, but I've qouted the value... :$
> Thank you, Matthew!
>
>
> Ádám
>
> On 7/30/07, Matthew Weier O'Phi
It was already there, but I've qouted the value... :$
Thank you, Matthew!
Ádám
On 7/30/07, Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote:
> Add this to your bootstrap:
>
> error_reporting(E_ALL|E_STRICT);
> ini_set('display_errors', true);
-- Joó Ádám <[EMAIL PROTECTED]> wrote
(on Monday, 30 July 2007, 04:54 PM +0200):
> there was already some conversation about this. I just cannot see any
> error messages when I have a typo or other bug in my controllers.
> I have this in my bootstrap:
Add this to your bootstrap:
error_reporti
Hello,
there was already some conversation about this. I just cannot see any
error messages when I have a typo or other bug in my controllers.
I have this in my bootstrap:
$front = Zend_Controller_Front::getInstance();
$front->setControllerDirectory('./application/controllers');
$front->throwExce
Any reason that only some of the helpers support the 'id' attribute and
others don't as in:
FormButton.php: . ' id="' . $this->view->escape($id) .
'"';
FormCheckbox.php: . ' id="' . $this->view->escape($id) .
'"'
FormFile.php: . ' id="' . $thi
http://framework.zend.com/manual/en/zend.controller.front.html#zend.controller.front.methods.primary
(7.3.2.4.):
Zend_Controller_Front::run($path) is a static method taking simply a path to
a directory containing controllers. It fetches a front controller instance
(via getInstance(), registers th
ZegeeDotCom wrote:
>
> Can someone give me an example of how I use the zend registry. I upgraded
> to ZF 0.9 and my zend registry is not working.
>
Did you ever get this working? I am running into the same problem w zf1.0.0
but it's not clear to me from the thread what actually worked in the
Hi
I'm quite sure Zend_Date does not support at least two AD date format. I'd be
very glad if these would be supported. There's example code so it shouldn't
be a problem to implement them.
LDAP Active Directory Last Logon (lastlogon).
http://php.net/manual/en/ref.ldap.php#61144
"accountexpires
Using View Helpers. See
http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial
2007/7/30, sachindoijad1 <[EMAIL PROTECTED]>:
>
>
> How to add the text box,buttons using zend framework
> --
> View this message in context:
> http://www.nabble.com/form-preperation-tf416
Hi ALL,
I am new to zend and still in learning process. Currently I am working on
Zend_Translate and would like to know the best approach to use the
Zend_Translate.
I am able to create .mo files and getting the translated content. Now, I
would like to know the best way of getting the translated
How to add the text box,buttons using zend framework
--
View this message in context:
http://www.nabble.com/form-preperation-tf4168911s16154.html#a11860577
Sent from the Zend Framework mailing list archive at Nabble.com.
Hi, guys.
I wrote a helper class (extends Zend_Controller_Action_Helper_Abstract), and
put it in 'wwwroot/zf/application/helpers/', named as MyHelper.
Then I add
'Zend_Controller_Action_HelperBroker::addPath('/zf/application/helpers/',
'MyHelper');' in init() method of my controller class,
and c
Sorry for such a long response time. I don't know if this make things happen
faster or no, but this morning I finaly managed to move my Zend_Jabber
proposal to the "Ready for Review" section.
I am wery excited to hear your reviews.
--
View this message in context:
http://www.nabble.com/Zend_J
Hi Alexander,
I'm not 100% sure that I didn't miss anything important but I'm quiet sure,
that the .NET result wasn't cached at all. I changed the query several times
and the response time was still between 0.001 and 0.005. Two days ago I
started the same benchmark with the original java lucene an
49 matches
Mail list logo