Difference between revisions of "Setting up your workstation for Joomla development"

From Joomla! Documentation

m (→‎Installing a build mechanism: It's possible that Phing can use al ant files (needs confirmation though))
(8 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
This is a trial to better structure all the wiki pages around developing on and with joomla.   
 
This is a trial to better structure all the wiki pages around developing on and with joomla.   
 
Such as:
 
Such as:
* [[Setting up your workstation for PHP development]].  A step-by-step guide to configure a PHP development environment.
+
* [[Setting up your workstation for Joomla! development]].  A complete step-by-step guide to installing the Eclipse IDE on your local workstation for Joomla! development.
* [[Setting up your workstation for Joomla! development]].  A step-by-step guide to installing the Eclipse IDE on your local workstation for Joomla! (itself) development.
 
* [[Setting up your workstation for extension development]] A guide to Joomla Extension development
 
  
 
== Installing a web server ==
 
== Installing a web server ==
* [http://www.apachefriends.org/en/xampp.html XAMPP]
+
Installing a typical web server environment is very easy with following [[wikipedia:List_of_AMP_packages|AMP-packages]] (Apache, MySQL, PHP).
 +
* '''[http://www.apachefriends.org/en/xampp.html XAMPP] (Mutliple OS)'''
 
** [[Configuring a XAMPP server for joomla development]]
 
** [[Configuring a XAMPP server for joomla development]]
 
** [[Xampp]]
 
** [[Xampp]]
 +
* '''[[wikipedia:LAMP (software bundle)|LAMP]]''' (Linux)
 
**[[Configuring a LAMPP server for PHP development]]
 
**[[Configuring a LAMPP server for PHP development]]
* [http://www.wampserver.com/en/ WAMP], [[wikipedia:LAMP (software bundle)|LAMP]], [[wikipedia: MAMP ]], ...
+
* '''[[wikipedia:WAMP|WAMP]] (Windows)''',.  A good choice for for a local server environment for windows is [http://www.wampserver.com/en/ WampServer].
 
+
* '''[[wikipedia: MAMP|MAMP]] (Macintosh / OS X)''' [http://www.mamp.info/en/download.html MAMP by living-e AG] may be a good choice.
* [[Edit PHP.INI File]]
+
If you want use XDebug for debuggin, you'll need to tune php settings
 +
* [[Edit PHP.INI File for XDebug]]
  
 
== Installing an IDE / Editor (and debugging)==
 
== Installing an IDE / Editor (and debugging)==
Line 28: Line 29:
 
** [[NetBeans overview]]
 
** [[NetBeans overview]]
 
* UltraEdit, Notepad++, ...
 
* UltraEdit, Notepad++, ...
 +
*Sublime Text 2 Editor
 +
**[https://tutsplus.com/course/improve-workflow-in-sublime-text-2 Perfect Workflow in Sublime Text 2 tutorial]
 
=== Debugging specifics ===
 
=== Debugging specifics ===
 
* [[Running Automated Tests for Version 1.6]] {{JVer|1.6}}
 
* [[Running Automated Tests for Version 1.6]] {{JVer|1.6}}
 
* [[How to debug your code]] ([[Do not use die to debug]]!)
 
* [[How to debug your code]] ([[Do not use die to debug]]!)
 +
 
== Installing a version control ==
 
== Installing a version control ==
If you like to contribute to the actual Joomla! code, SVN is what is used there.
+
SVN ([[wikipedia:Apache Subversion|Subversion]]) will allow you to keep your Joomla! code up to date with the latest changes, to test patches and to participate in bug squashing.
* [[wikipedia:Apache Subversion|SUbversion]]
+
 
** [[Installing Subverson on Eclipse for Joomla! development]]
+
Details on how to work with the JoomlaCode repository are located on the [http://developer.joomla.org/code.html Joomla! Developers] site.
* SVN
+
 
** [[Tortoise SVN]]
+
* [[Working with git and github/My first pull request]] - The way of the current Joomla! code base.
* ...
+
* [[Installing Subverson on Eclipse for Joomla! development]] - The old way of the Joomla! code base.
 +
* [[Tortoise SVN|Installing and using Tortoise SVN]]
 +
* [http://developer.joomla.org/gsoc2008/16-overall-project/99-joomlacode-svn-with-easyeclipse.html Video tutorial (Nur Aini Rakhmawati)] on using JoomlaCode SVN with [http://www.easyeclipse.org/site/distributions/php.html EasyEclipse] (Linux, OS X and Windows).
 +
 
 
== Installing a build mechanism ==
 
== Installing a build mechanism ==
 
* [[wikipedia:Apache_Ant|Ant]]
 
* [[wikipedia:Apache_Ant|Ant]]
Line 49: Line 56:
 
* [[Installing Joomla locally]]
 
* [[Installing Joomla locally]]
 
* [[Setting up a testing environment]]
 
* [[Setting up a testing environment]]
 +
* [[Setting up your workstation for PHP development]]
 
Help is appreciated finding related pages and making these pages less redundant.
 
Help is appreciated finding related pages and making these pages less redundant.
  

Revision as of 14:00, 6 November 2012

Introduction[edit]

This is a trial to better structure all the wiki pages around developing on and with joomla. Such as:

Installing a web server[edit]

Installing a typical web server environment is very easy with following AMP-packages (Apache, MySQL, PHP).

If you want use XDebug for debuggin, you'll need to tune php settings

Installing an IDE / Editor (and debugging)[edit]

Debugging specifics[edit]

Installing a version control[edit]

SVN (Subversion) will allow you to keep your Joomla! code up to date with the latest changes, to test patches and to participate in bug squashing.

Details on how to work with the JoomlaCode repository are located on the Joomla! Developers site.

Installing a build mechanism[edit]

Related[edit]

Help is appreciated finding related pages and making these pages less redundant.