Hi Mark all ,
Many thanks for your suggestion. I changed the name andstarted the tutorial
zf-tutorial in the hope of getting a project going.
It seems it needs some patience to get going with Zend I have beentrying to
connect to the public/index now but remain unsuccessful.
When I get the
Hello Mark,
I would recheck your .htaccess file and your site configuration.
Regards.
On Sun, Mar 6, 2011 at 12:23 PM, mich michm...@gmail.com wrote:
Hi Mark all ,
Many thanks for your suggestion. I changed the name andstarted the
tutorial
zf-tutorial in the hope of getting a project
As data in your application may come not only from web forms but also as a
result of asynchronous requests or REST requests you can implement some sort
of mediator to validate your domain object.
You can then use this mediator to validate a domain object, retrieve a set
of errors for domain
Hey,
Many thanks for your help. can you please specific the exact files as being
new to Zend and php I m a bit confused.
My zf-tutorial project is in the c://mowes_0174/mowes_0174/www/zf-tutorial
and what do I check for please?
Servername is zf-tutorial.local
--
View this message in
Thank you for the quick response. I can't believe it. I've been through that
code maybe a hundred times, being sure that the problem was the line I
posted. But the change of the m-M did the job :)
Thank you!
And by the way it is a really well written book. Made me change the way I do
scripting
I am slipping a service layer into my application and have come across my
first hurdle - how does the service layer interact with forms? I'm assuming
a single service can be responsible for creating more than one type of form?
Is it the responsibility of the service layer to validate the form, and
hi ;-)
this one is good enough
http://zendframework.com/manual/en/learning.quickstart.html
this is nice, but maybe little old fashioned
http://alex-tech-adventures.com/development/zend-framework/zf-archives.html
and this http://www.slideshare.net/weierophinney/presentations
--
View this message
dmitrybelyakov wrote:
And Benjamin Eberlei in turn suggests to use a mediator:
http://www.whitewashing.de/blog/109
Good reminder. I read this once and meant to circle back and incorporate
some of those concepts into what I currently have.
Thanks.
-
--
Wil Moore III
Why is
I can't seem to get my controllers to recognize that I only want them
to display json. Here's my controller
?php
class IndexController extends Zend_Controller_Action {
public function init() {
$this-_helper-contextSwitch()
-clearContexts()
The ContextSwitch helper requires the format parameter to be set (see
Zend_Controller_Action_Helper_ContextSwitch#initContext()).
However, you could cheat and add the format parameter to the request at the
top of your init() hook:
public function init()
{
Hey Tim,
You could add something to disable the layout and set the proper headers:
In the controller, under init() or the action you want to execute:
$this-_helper-layout-disableLayout();
$this-_response-setHeader('Content-Type', 'application/json');
$this-view-json = array(
'status' = 'ok',
11 matches
Mail list logo