I'm looking at zend framework 2 to use it for my project.
Wanted to know if it has an in-build php web application installer script/module like mentioned in this thread How I can create installer for website. PHP mysql
I would say using Composer with your own composer.json is as close as you can get...
As an example there is the ZF2 Skeleton Application. Similarly you can also make a composer.json for your own custom application pointing to your custom repository and all dependencies.
Related
I have done accordingly as shown in this below 2 tutorial
http://www.inmotionhosting.com/support/website/zend/installing-zend-framework
http://www.inmotionhosting.com/support/website/zend/testing-your-zend-framework-installation
But on the installation checker, I get the following error .
Zend Framework Installation Errors Tested
0 Exception thrown trying to access Zend/Loader.php using 'use_include_path' = true. Make sure you include Zend Framework in your include_path which currently contains: .:/usr/local/php5_3/lib/php
The following are the paths I tried to include in php.ini
include_path = ".:/usr/local/php5_3/lib/php/home/content/54/10750054/html/zf/library"
And
include_path = "/home/content/54/10750054/html/zf/library"
I get the same error either way.
For a start, there is no file Zend/Loader.php in ZF2. The "testing your Zend Framework installation" article appears to have been written for ZF1 (and not the most recent version of it).
Composer is the best way to install ZF2, and you should be doing this on your own machine (or development machine) rather than straight on to your production hosting. I'd suggest you see how you get on with the instructions in the main ZF2 docs: http://framework.zend.com/manual/2.3/en/user-guide/overview.html
i have kept the zf2 library inside vendor folder as follows . How to define composer to set zf2 updated through composer?
If you want it to be managed by Composer, remove your existing vendor folder and have Composer set it up again. See the ZF skeleton application for an example of adding ZF2 to your composer.json.
This is a very basic question about using Silex for the first time.
I want to install this project which was linked from this tutorial. I have already installed Silex via Composer per these instructions.
What I need to know is, should I put the project inside the Silex folder I created when I installed it with Composer? Do I need a new instance of Silex for each project I use it for, or do I use one for all the projects, and keep those in other folders?
I'm used to Drupal, if that helps with answering this.
Different silex projects might require different package dependencies. You should have 1 composer.json per project , with it's own vendor folder.
What you should do :
fork this repo on github:
https://github.com/fabpot/silex-skeleton
create you own base project , and just create projects automatically with composer ( you can publish your default project on packagist.org then use composer to install it):
To use the default skeleton used by Fabien Potencier , use this command :
composer create-project fabpot/silex-skeleton -sdev
it will be easier to deploy your application on the server once you are done developing it if you use separate silex installations.
Apparently there is a version of ZF Tool for ZF2.
The tool should handle the following:
Module maintenance (installation, configuration, removal etc.)
Inspection of application configuration.
Deploying zf2 skeleton applications.
The problem is that the tools is itself installed as a module and the Usage described in the Readme does not provide "correct" details.
It mentions commands such as :
zf.php config [list]
but the zf.php command is not part of the tool and the doc does not provide information. Does anyone know if there is some dependency or other configurations that will make this tool useful?
I don't know. What I can do, is offer an alternative tool:
https://github.com/ebanolopes/zf2-module-generator
Currently (v0.0.1), it only supports adding new modules to your project.
I would like to know how to create an set up file or an executable file of a java web application in which I have used Struts and jsp for development in net beans 7.1.2 IDE. So please Help me.
You need stuts plugins (something like that struts2 plugin for netbeans)
and you can find many examples how to create web app with struts for example this
example 1
example 2
Download excelsior and run your Java EE web project as example.exe file
http://www.excelsior-usa.com/