Yii Framework Forum: What's Best Development Environment On Os X Maverikcs - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

What's Best Development Environment On Os X Maverikcs What's best development environment on OS X Maverikcs

#1 User is offline   belmanski 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 13-February 12

Posted 02 December 2013 - 01:45 PM

There are so much options to create a development environment on OS X Mavericks that it's hard to find the best solution for developing with Yii/Yii2

Could anyone give advice about, MAMP, XAMMP, HomeBrew, composer etc. ?

Thanx,

Eric
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,879
  • Joined: 17-January 09
  • Location:Russia

Posted 02 December 2013 - 02:33 PM

I'm using nginx, mysql, php55-fpm from macports.
Yii 2.0 Development Cookbook, Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.

Support me so I work on Yii fulltime: https://www.patreon.com/samdark
0

#3 User is offline   belmanski 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 13-February 12

Posted 02 December 2013 - 02:41 PM

View Postsamdark, on 02 December 2013 - 02:33 PM, said:

I'm using nginx, mysql, php55-fpm from macports.



Thanx, will give that a try...
0

#4 User is offline   Panagiotis Moustafellos 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 03-October 12
  • Location:Athens, Greece

Posted 02 December 2013 - 03:05 PM

I am using PostgreSQL, Apache2 with php5.5 as FastCGI with an nginx frontend, memcached from Homebrew.
Composer installed as phar, PHPUnit as added dev-dependency in composer.json
0

#5 User is offline   trond 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 110
  • Joined: 26-September 12
  • Location:Oslo, Norway

Posted 03 December 2013 - 08:06 AM

What is the advantage of using nginx over MAMP?
0

#6 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,879
  • Joined: 17-January 09
  • Location:Russia

Posted 03 December 2013 - 01:21 PM

Eats less memory, serves static files faster, easier to use with different PHP versions at the same time.
Yii 2.0 Development Cookbook, Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.

Support me so I work on Yii fulltime: https://www.patreon.com/samdark
0

#7 User is offline   trond 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 110
  • Joined: 26-September 12
  • Location:Oslo, Norway

Posted 03 December 2013 - 04:42 PM

Sounds tempting. Easy to install too?
0

#8 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,879
  • Joined: 17-January 09
  • Location:Russia

Posted 04 December 2013 - 07:57 AM

Fairly easy.
Yii 2.0 Development Cookbook, Yii 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.

Support me so I work on Yii fulltime: https://www.patreon.com/samdark
0

#9 User is offline   Haensel 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 444
  • Joined: 14-January 11
  • Location:Vienna (Austria)

Posted 06 December 2013 - 05:23 AM

You might consider using VirtualBox and Vagrant for setting up your machines. For smaller projects I am running VirtualBox with a shell script for setting up a Linux machine (e.g.: Debian). Bigger projects (more team members) could benefit from using Vagrant as it allows versioning of server setups.

The point is: If you are moving to another OS, or if you want to change your webservers etc. it can easily become a pain to change your setup if you are using your main OS for development. Using a VM makes my life a lot easier and I can share my development environment with others if needed by passing the image. And another good point is that you can actually develop on a machine that works exactly like the one used for production.
0

#10 User is offline   edgetq 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 05-December 13

Posted 06 December 2013 - 07:20 AM

Agree with Haensel, Vagrant + puppet is a great duo for developing many applications on one machine.

Tip - start with puphpet.com - it generates working oob manifest. Look how it works and you'll never go back to installing mampp, xampp and others.
0

#11 User is offline   DocSolver 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 36
  • Joined: 12-December 12

Posted 08 December 2013 - 10:44 AM

View Postedgetq, on 06 December 2013 - 07:20 AM, said:

Agree with Haensel, Vagrant + puppet is a great duo for developing many applications on one machine.

Tip - start with puphpet.com - it generates working oob manifest. Look how it works and you'll never go back to installing mampp, xampp and others.

Thanks for the Puphpet tip! I'm setting it up now!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users