Tips and Tricks to help you get started with the LAMP stack
Recently I have been getting into PHP, linux, mysql … .the works. It been a pretty good experience. However after discussing it with some friends I found that we all had the same paintfull experiences getting started. In the interestes of making the world a better place here are 5 tips that will help to get you going.
- Install your development environment into a virtual box
Getting the Dev environment is tricky and takes time. If you install it into a virtual box then you can share it with others easily and you take a snapshot (and revert if you muck it up) - Use xampp
Don’t waste time mucking about installing Apache, PHP, and MySQL seperatly then try to configure them. Instead use XAMPP which comes pre configured for a developers use. - When your ready to deploy to live – read the Xampp docs
They are really good and give you a big head start, its also loads easier to follow some of the examples that are described. If you are feeling really brave you could even script it. - Create unit test cases with phpunit
This software is simply awsome, and I have to thank sebastian for bring such a great tool into the world. This is very easy to get going, but watch out for pathing issues. - Create functional tests with selinium
Installing selinium is like falling off a log, and its a really hard core test automation tool. Sebastian has also written a cool article on how to get going with selinium and php unit
Enjoy !
0COMMENTS