Hello!
It's true I've seen a lot of examples on stackoverflow and many from Google search but apparently nobody showed the big picture of how things falls under one another, even from the manual itself.
I've just picked Zend Framework(1.10.8) and when creating forms I've finally found that the ViewScript for now is much easier for me...
There are a lot of PHP frameworks inspired by Ruby on Rails (CakePHP, Akelos, symfony). Is Zend Framework inspired in other frameworks or ideas? Do you have references (websites, books, etc) talking about it?
Thank you.
...
I'd like to integrate Propel with Zend framework. I've seen the integration of doctrine in the past but this post says it seems propel is done a bit differently.
Propel has two things going for it
already: the first is that Propel
includes its own autoloader, meaning
that I didn’t have to try and force
Propel into Zend Framew...
I am using the next decorators for my input. I want to make this as table.
$this->setDecorators(array('ViewHelper','Errors',
array(array('data'=>'HtmlTag'), array('tag' => 'td')),
array('Label', array('tag' => 'td')),
array(array('row'=>'HtmlTag'),array('tag'=>'tr'))
));
But after form validation Er...
Hi,
I store my navigation content in a navigation.xml file in the configs folder of my project.
Basically I have two modules, the default module that deals with e.g. authentication and basic page usage and the admin module to admininstrate the website.
When I sign in as admin a special admin navigation appears according to my acl and...
I have tried all the combinations I can think off but this form:
class Form_Login Extends Zend_Form{
public function init(){
$this->setMethod('post');
$email = new Zend_Form_Element_Text('email');
$emailValidator = new Zend_Validate_EmailAddress();
$emailValidator->setMessage('Please use a valid em...
I'm using zend form in a non-zend project and I'm able to access Zend_Form fine from my custom class Custom_Form. Then in the file where I want to render my form, I create an instance of my form, but then I'm not sure how to render it.
$form = new Custom_Form();
//how to render the form here
var_dump($form); //var_dump looks busy so cou...
Hi, I am using Dreaweaver 8 in windows 7. Problem is that i cannot see color syntex coding of phtml files.
How can i ???????
Thanks in Advance.
...
Based on recommendations on SO for the Zend framework, I'm planning to use it for a client's project.
However, my client requires that the project should run on both Yahoo! Small Business and GoDaddy hosting.
Can the Zend framework be installed on these types of hosting, which are neither VPS nor dedicated?
...
I'd like to load several form elements like Zend_Form_Element_Text with one statement. Is there a way to do this with a * wild card?
...
Hi,
Is there a standard solution to scale up a website which runs on PHP + Apache web server ?
As in I get a traffic of about 100,000 requests/day as of now. 6 months down the line I expect it to grow to 200,000 requests/day. The first cut solution which comes to my mind is deploying more Apache web servers with mod_php, but something s...
I'm trying to get code hinting in eclipse for zend in a non-Zend project. The code works fine, but all I'm getting for code hinting is Zend_5250_. Is there something I need to do to get those code hints?
...
Hello,
I have a Zend form multiselect element which I am creating like this
$this->addElement('multiselect','somedates',array(
'filters'=>array('StringTrim'),
'required'=>true,
'label'=>'Dates',
'style' => 'width:14em',
'size'=>'4',
'RegisterInArrayValidator' => false, //otherwise it gives an error
));...
Hi all,
I am new to zend, i need help in creating zend application using modules.
please help thanks
...
I'm writing a website using ZendFramework and decided to use the gettext system to internationalize its content.
In my views I write string in french and provide a this moment only one file "en.mo" to translate sentences to english.
I would like to avoid to maintain a file "fr.mo" which would only translate a sentence to the exact same s...
Hi, I have some questions regarding MVC that I would like to clarify. At our company we use two in-house developed frameworks for building PHP applications. One is an MVC framework while the other uses a 3-tier design with a presentation layer, a logic layer an a data access layer. We find the 3-tier design more "object oriented friendly...
Is it possible to use paginator with $_GET parameters?
For example i have a route like this:
$router->addRoute('ajax_gallery',
new Routes_Categories(
'/:lang/:category/age/:dep/:cat/:towns',
array(
"page" => 1,
"dep" => 0,
"cat" => 0,
"towns" => 0
),
array(
"dep" => "[0-9]+",
"cat" => "[0-9]+"
)
));
And i'm making request like this ...
Hi,
I have a working paginator. I combine Zend Paginator and jQuery to switch between pages. My problem is that the page links only have a range from 1 to 10 but it should be e.g. from 1 to 13. I can get to page 13 by clicking the forward button but the page link 13 is not displayed.
Paginator setup:
$paginator = new Zend_Paginator (...
Hello,
I switched to net-beans 6.9.1 to develop my php zend framwork projects. Now I want it to work with ANT. I have already an build directory with an build.xml.
Can someone tell me how to configure and run my ant scripts from within netbeans?
...
Problem: sometimes in our zend controller we don't want the script to be output directly, but rather want the content of that script. One example: when we need the result html output of a view script be included in another structure like JSON or XML for processing in the client side.
I found the result here at stack overflow, but not so...