为 Zend Framework2 设置 NetBeans [英] Setup NetBeans for Zend Framework2

查看:44
本文介绍了为 Zend Framework2 设置 NetBeans的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找如何为 Zend Framework 2 设置我的 NetBeans.我发现了大量适用于 Zend Framework 以前版本(即 Zend Framework 1...)的材料,但对于 Zend Framework 2 却没有.以防万一如果有人可以分享解决方案,那就太好了.

I have been trying to find of how to setup my NetBeans for Zend Framework 2. I found loads of materials for previous versions of Zend Framework i.e Zend Framework 1... and so but not for Zend Framework 2. In case if somebody has a solution would be great if it can be shared.

P.S 没有 zf.bat 文件,通常教程会说在 netbeans 中包含 zf.bat 的路径.

P.S There is no zf.bat file which is what normally the tutorials say to include path for zf.bat in netbeans.

任何帮助将不胜感激!

谢谢

推荐答案

在 Zend 框架达到某种候选版本或最终版本之前,我不希望有 zf.bat 文件.

Until Zend framework reaches some sort of release candidate or some final release I wouldn't expect there to be a zf.bat file yet.

应用程序的结构已由 github 上可用的骨架应用程序在某种程度上建立,但我不希望在最终版本之前有 zf 文件.

The structure of an application has been somewhat established by the Skeleton Application available on github but I wouldn't expect a zf file until the final release.

zf 会建立一个标准的项目结构.尽管骨架应用程序存在,但这种结构还不是 100%.

The zf would setup a standard project structure. Although the skeleton app exists this structure isn't 100% yet.

老实说,如果我们开始使用 Composer 或 Git 作为从互联网上拔出骨架的一种方式,我不会感到惊讶,但我怀疑这会发生.

Honestly, I wouldn't be surprised if we started to use Composer or Git as a way of pulling the skeleton off of the internet, but I doubt that will happen.

无论如何,zf 文件一开始很有用,但后来变得更麻烦了.一旦您了解了结构,它很有用,但不会太多.此外,Zend 将不得不对其进行重新设计以处理整个模块的想法.

Anyway, the zf file is useful at first but afterwards it becomes more of a hassle. It's useful but not TOO much once you know your way around the structure. Additionally Zend would have to rework it to work with the whole module idea.

但是,如果您只需要一些 IDE 代码的完整帮助,您真正需要做的就是将 Zend 库添加到您的项目路径中,并让 Netbeans 帮助您.

BUT, if you just want some IDE code complete help all you really have to do is add the Zend library to your project's path and have Netbeans help you with that.

这篇关于为 Zend Framework2 设置 NetBeans的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆