views:

249

answers:

5

I am setting up web application development environment on my localhost. I am used to use WAMP server but I noticed Zend Server which looks promising. I am developing both Zend Framework and non framework applications.

Which of these two would you suggest? Is there another option?

+7  A: 

I would suggest an environment which is closer if not equal to your production environment. This way you'll prevent possible problems on going live.

Elzo Valugi
+1: Definitely agree on this; the best test environment is the one that's closest to your production environment.
Amber
Not possible. Workstations run Windows, server runs Linux. Also setting up everything by hand seems needlessly time consuming. Of course everything is tested on main server with production environment.
Josef Sábl
Use a virtual machine (vmware, virtualbox, etc). I use MAMP now, but have done this in the past on a Windows box.
pssdbt
A: 

Zend server is good if you have the pro. version because it has a debuger you can link to your IDE (Zend Studio) and a lot of nice features, but it depends on the size of your project.

Zend Server is quite expensive for small / personal projects

mnml
Zend Server CE is free an offers everything you need and if not, you can extend it yourself.
tharkun
A: 

I suggest Zend Framework. It has lots of components that you can use in your projects. With these components development process becomes very easy and faster.

Erkan BALABAN
-1 for not reading the question.
tharkun
A: 

Assuming you mean WampServer.com, then that's not what I'd call a "development environment". However it is great for running everything locally, and with the latest version you can install the exact Apache/PHP/MySQL versions you have on your server (and even switch between them if you have different servers and set-ups). You get a very close simulation of a live server.

As for development, personally I prefer a basic text editor (e.g. Notepad++ on Windows or KATE on Linux), but there are other good IDEs like Eclipse or Aptana Studio. There are numerous questions here on SO with IDE recommendations.

DisgruntledGoat
Ok, I did not mean IDE. I used Aptana as IDE and it is not bad, but it was buggy so I am now using NetBeans and am quite happy.
Josef Sábl
+3  A: 

Local Server infrastructure (AMP stack on your windows machine)

Desicion help for chosing the right AMP stack:

  • all of them come with Apache, PHP, mysql, phpMyAdmin
  • XAMPP also comes bundles with Mercury as Mailserver, the others don't
  • WAMP enables you to switch between different versions of Apache, PHP, mysql (but it doesn't always work as promised or expected)
  • in XAMPP you have to do changes manually whereas in WAMP and Zend Server you can do them via UI (enabling Apache modules and PHP extensions, setting php.ini properties)
  • especially Zend Server gives you a very convenient way to configure PHP via web forms

Summary: If you don't need compatibility with some older PHP versions or extensions, use Zend Server Community Edition, if you want a quick and stable solution with low configuration needs, use a version of XAMPP, if you want flexibility and know what you're doing use WAMP or even better set up your own environment.

If you're mainly developing Zend Framework applications, I'd go with Zend Server CE.

tharkun
Thanks, great answer.
Josef Sábl