The deployment.xml file for my application looks something like this (thanks WordPress for not allowing me to post XML, even the code formatters barf on it) package If you have an existing application, using the simple template will give you a good starting point. If you are creating a new project from scratch you can quite easily use one of those templates. Because my application already existed I specified that it was a simple application so no additional files would be created. The -t option is the template of the application. Project resources were created successfully for HelloWorld under D:\workspace\HelloWorld D:\workspace>zend create project -t simple -n HelloWorld For my example project I’m just going to use a blank Hello World application with a /public application/document root. Once your target is set up you need to provide a deployment descriptor file for your project. Step 4: Create a deployment scenario for your PHP project However, if you have only one installation then the SDK will automatically use that target. Then you will need to add the -t argument with the target ID. The ID number is important if you are going to have multiple Zend Server clusters to talk to, such as staging and production. Provide the hostname and you’re good to go. You will need the API key that you generated earlier along with the name of that key. ![]() Once you have your API key you can then associate it with your local SDK instance. If you click on the “Show full key” link you will get a popup of the full key so you can copy it into your terminal. In the Zend Server UI you need to name and create a new API key so that the SDK can communicate with your instance of Zend Server. We’ll get into more details in a different blog post that demonstrates the full GUI interface. But I’m showing you a simple workflow that will get your application running very quickly. Actually, you don’t need the SDK since there is a GUI interface. Step 1: Install The Zend SDKįirst of all, you need the Zend SDK (and, of course, Zend Server) and set up the tools directory to be in your path. There are a lot of features I am going to skip over (primarily deployment scripts) and show you a simple workflow so you can see how quickly and easily an application can be deployed. So what I’m going to do with this post is give you a quick run-through on getting a simple application up and running. If you have Zend Server 5.5, you have deployment. Ladies and gentlemen, welcome to the box. But there are NO solutions that work out of the box“. ![]() Now, you might be saying “come on, Kevin, there are many PHP deployment solutions already”. The big addition to the Zend Server feature list is deployment. This is actually a pretty good sized deal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |