PHP & Zend Noob 在这里
我从这里下载了骨架项目:https://github.com/zendframework/ZendSkeletonApplication
假设我想打开一个新页面,如果单击启动页面上的“ZF2 Development Portal”按钮(左下方绿色按钮),则仅显示“hello world”文本——我该怎么做?见图片:
我已通读本教程,但不确定模型、视图或控制器是如何实际启动的?见教程:http://blog.wilgucki.pl/2012/07/tworzenie-modulw-w-zend-framework-2.html
通过查看代码,我知道我将不得不更改这行代码:
<div class="span4">
<h2><?php echo $this->translate('Follow Development') ?></h2>
<p><?php echo sprintf($this->translate('Zend Framework 2 is under active development. If you are interested in following the development of ZF2, there is a special ZF2 portal on the official Zend Framework website which provides links to the ZF2 %swiki%s, %sdev blog%s, %sissue tracker%s, and much more. This is a great resource for staying up to date with the latest developments!'), '<a href="http://framework.zend.com/wiki/display/ZFDEV2/Home">', '</a>', '<a href="http://framework.zend.com/zf2/blog">', '</a>', '<a href="http://framework.zend.com/issues/browse/ZF2">', '</a>') ?></p>
<p><a class="btn btn-success" href="http://framework.zend.com/zf2" target="_blank"><?php echo $this->translate('ZF2 Development Portal') ?> »</a></p>
</div>
更具体地说,这一行:
<p><a class="btn btn-success" href="http://framework.zend.com/zf2" target="_blank"><?php echo $this->translate('ZF2 Development Portal') ?> »</a></p>
但我真的很困惑我应该将其更改为什么以启动新页面。有任何想法吗?
提前致谢!