Jump to content


Photo

Where To Find The Zf.bat File In Zend Framework?


  • Please log in to reply
7 replies to this topic

#1 Stefany93

Stefany93

    Advanced Member

  • Members
  • PipPipPip
  • 167 posts
  • Age:20

Posted 07 December 2012 - 04:07 PM

Hello,

First of all, if anyone here remembers my opposition frameworks, I want to say that I was wrong, and I am sorry.

Moving on, I downloaded the Zend Framework from the official website and now I am following a tutorial
on how to install it but I am stuck with the question that I can't seem to find the zf.bat file in order to access the Zend Framework in the command prompt. The guy who created the tutorial said it is located in the bin folder, but all there is in the bin folder are just a bunch of .php files.

Could you please tell me where to find it?

Thank you!

Best Regards
Stefany

Edited by Stefany93, 07 December 2012 - 04:12 PM.

"Never take counsel of your fears!" - Stonewall Jackson
My site - http://dyulgerova.info


#2 trq

trq

    Advanced Member

  • Administrators
  • 30,917 posts
  • LocationSydney, Australia.

Posted 07 December 2012 - 05:04 PM

What version of ZF have you downloaded, and what version does the tutorial refer to? I don't think there is a such a thing as zf.bat in the current versions.

http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.


#3 Stefany93

Stefany93

    Advanced Member

  • Members
  • PipPipPip
  • 167 posts
  • Age:20

Posted 07 December 2012 - 05:13 PM

^^ I downloaded the latest 2.0.5 version. So it is not possible to access Zend with the command prompt anymore?

"Never take counsel of your fears!" - Stonewall Jackson
My site - http://dyulgerova.info


#4 trq

trq

    Advanced Member

  • Administrators
  • 30,917 posts
  • LocationSydney, Australia.

Posted 07 December 2012 - 05:46 PM

I don't think so. I'm not a Zf user, but I don't recall anything like that existing in zf2.

http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.


#5 Stefany93

Stefany93

    Advanced Member

  • Members
  • PipPipPip
  • 167 posts
  • Age:20

Posted 08 December 2012 - 03:18 PM

^^ Right, thank you very much. I guess it is not possible to access the Zend Framework in the CMD now with the newest version.

"Never take counsel of your fears!" - Stonewall Jackson
My site - http://dyulgerova.info


#6 Andy123

Andy123

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDenmark

Posted 09 December 2012 - 11:08 AM

That tutorial seems to be about Zend Framework 1, which is fundamentally different than its successor. There is a decent tutorial on the official website and it is relatively easy to follow. I am not aware of any command line tools except for two that help you generate class maps and plugin maps. This is, however, not relevant before you are going to put a site into production. You can even do without them, but they help improve performance. If you are interested, they can be found within the bin folder when downloading the full version of ZF2.

Since you are following a tutorial, I doubt what you are after is to add console support to an application of yours. Either way, Zend\Console can be used for this. But for the development tools, I am not sure they exist anymore. At least I haven't heard about any.

Edited by Andy123, 09 December 2012 - 11:09 AM.

Blogging about PHP and other programming related subjects at CodingExplained.com.

#7 Stefany93

Stefany93

    Advanced Member

  • Members
  • PipPipPip
  • 167 posts
  • Age:20

Posted 18 December 2012 - 05:05 PM

That tutorial seems to be about Zend Framework 1, which is fundamentally different than its successor. There is a decent tutorial on the official website and it is relatively easy to follow. I am not aware of any command line tools except for two that help you generate class maps and plugin maps. This is, however, not relevant before you are going to put a site into production. You can even do without them, but they help improve performance. If you are interested, they can be found within the bin folder when downloading the full version of ZF2.

Since you are following a tutorial, I doubt what you are after is to add console support to an application of yours. Either way, Zend\Console can be used for this. But for the development tools, I am not sure they exist anymore. At least I haven't heard about any.


Thank you very much for the help!

"Never take counsel of your fears!" - Stonewall Jackson
My site - http://dyulgerova.info


#8 Andy123

Andy123

    Advanced Member

  • Members
  • PipPipPip
  • 134 posts
  • LocationDenmark

Posted 03 February 2013 - 11:45 AM

Hello again.

Zend Framework 2.1.0 and 2.0.7 have just been released and with it came a tool! Below is a quote from the releaselog:


Enrico Zimuel has been hacking on the ZFTool project, to provide tooling support for the framework. This has resulted in zftool.phar, which provides the following capabilities at this time:

  • Skeleton application creation
  • Module creation within a skeleton
  • Autoloader classmap creation
  • ZF2 installation to a directory

Expect more capabilities in the future!


Blogging about PHP and other programming related subjects at CodingExplained.com.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com