I am finding the Zend_Form hard to use. Currently all form elements usable in
a Zend_Form have "order" property that specify an integer. This number is
used to sort the form elements.
The problem I have is that I have extended the implementation of a form
several times. In an extending class, I w
Mary Nicole Hicks wrote:
>
> - QUOTE Mary Nicole Hicks -
> I think that the Zend framework team needs to add a registry of 3rd party
> ZF modules to their site. Just something similar to
> https://addons.mozilla.org/en-US/firefox/ would do the job.
> - QUOTE END
I have found that Zend Framework is brilliant, but there are some parts of a
website that are just boring to implement. Take login and registration forms
for example. I am sure that 80% are very similar.
I think that the Zend framework team needs to add a registry of 3rd party ZF
modules to their
Please can someone help me with this. I am using ZF for a long running
command line script, but my memory is blowing out (well over 100 MB).
My problem is that ZF seems to be full of cyclic/circular references. As
these stop objects from being garbage collected, most the object that I use
are sti
jasonistaken wrote:
>
> On 02/06/2009 11:49 PM, Mary Nicole Hicks wrote:
>
>>
>> When I use Zend_Uri_Http::check($string)
>> Which Uses: Zend_Validate_Hostname
>> Which Uses: Zend_Validate_Abstract
>> Which Uses: Zend_Registry?
>>
> Well, the
I like Zf, but I would like to use only some parts of it. I would like to use
ZF without having Zend_Registry, Zend_Locale and Zend_Config included into
PHP (eg through require_once). Can someone explain to me why ZF is so
reliant on Zend_Registry, Zend_Locale and Zend_Config?
I have been followi
Tim Fountain wrote:
>
> Technically the breadcrumbs helper only needs the current page and its
> parents, [...] if the Zend_Navigation data structure could be
> cached in a tree like form matching the URL structure, some clever caching
> mechanism could just include the bits it needs. But this w
vince. wrote:
>
> Hi,
>
> What's the problem with retrieving the entries from the DB, Assigning them
> into a multi dimensional array and passing it into the zend_nagivation?
>
>
The problem is that I can not do this for every navigable page on the site
all at once... for every request.
1.
enportugal wrote:
>
> I'm using Zend_Cache to cache all queries from mysql server.
>
Be aware that MySql can cache queries (if your setup has this turned on) and
some queries are quicker than a file based cache (I assume your cache is
file based).
enportugal wrote:
>
> Currently I have abou
Can anyone give me any example on how I could get Zend_Navigation to handle
dynamic entries from a database?
My current idea is to extend Zend_Navigation_Page_Mvc and overload most of
the methods given by Zend_Navigation_Container.
I have a route of "/articles/:title" and it would be good to ha
I am using Zend_Cache with SQLite. All the config options are the defaults.
My problem is that although my SQLite file (cache.sqlite) is only 73 MB the
folder it is in is 1.8 GB. The rest of this space is made up of 80 files.
These 80 files come in pairs such as a
cache.sqlite-ttobps1yxcgf7ci6bfkc
My site logs are really filling up with this message:
[24-Mar-2009 12:39:57] PHP Warning:
parse_url(/articles/a-valid-article++GET+http://www.example.com/articles/a-valid-article+%5B0,10277,13354%5D+-%3E)
[ function.parse-url function.parse-url ]: Unable to parse URL in
/home/username/library/Ze
I currently have a form with validation, and no validation on the object I am
saving. The problem I have is that I am looking at having many more forms.
It would make more sense to me if this validation is done when the object is
saved rather than on the forms.
Can anyone give an example on how I
Can anyone throw me some ideas on ways to unit test domain specific
controllers. I have controllers that act slightly differently depending on
the domain in the request and I also have some controllers that are only
available on some domains.
I understand normal unit tests, but any ideas on testi
I am using Zend_Form_Element_Captcha with ReCaptcha and I have found that I
need to complete the Captcha multiple times. When a form is first submitted
with the Captcha correct, but another field invalid, the Captcha needs to be
re-entered.
Is there anyway to have the Captcha form element remembe
This one has me stumped. I am just adding buttons to a form with Zend
Framework. Each of these buttons is ending up on a single line.
Does anyone know how to get multiple buttons on to one line using Zend_Form?
Any example code to do this?
--
View this message in context:
http://www.nabble.com/
Stanislav Malyshev wrote:
>
> Well, here it might be a problem, since right now hash element is built
> so that it stores only one token.
>
Thank you. This has been a great help.
--
View this message in context:
http://www.nabble.com/Zend_Form_Element_Hash%2C-Salt-and-AJAX-tp18455432p184793
I seem to be having a lot of problems with the Zend_Form_Element_Hash
component of the Zend Framework for PHP.
Salt
How is the salt ment to be used?
What is the best practice when using the salt so that:
- The salt of 2 forms on different pages do not collide
- The same form can be rendered 2 t
I currently have a few routes configured and these work well.
I also use the URL View Helper to create urls.
The problem with the URL View Helper is that I always need to specify the
correct route to use. This means specifying it as a string.
Does anyone have a method of organising all these rout
19 matches
Mail list logo