0

I am trying to learning Zend framework. For that I have installed NetBeans IDE and download zend framework's library. I have created one small application by NetBeans IDE and place the zend framework's library under library folder. Under Controller folder, in IndexController.php file, I have written one action called indexAction() and there I write simply $this->view->assign('title', 'Hello, World!');. Under views/scripts/index folder create one file called index.phtml and there I have written out <h1><?php echo $this->escape($this->title); ?></h1>. My main folder name is phpproject1 and under that I have created all other folders like application, library,public.

Now please suggest me how to open that action in browser? e.g. - In codeigniter it is like : localhost://project_name/index.php/controller_name/action_name

Thanks in advance.

1
  • If you are learning Zend Framework, you should learn ZF2 not 1 Jun 19, 2013 at 12:08

1 Answer 1

0

I assume your installation is correct and you didn't configure any route. try to adapte this to your case.

http://lcalhost/[project_Name]/public/[Module_name]/[Controller_name]/[action_name]

in case you dont have Module;

 http://lcalhost/[project_Name]/public/[Controller_name]/[action_name]
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.