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

From Joomla! Documentation

(Undo revision 71182 by E-builds (talk))
(Update Link)
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{underconstruction}}
 
 
 
{{RightTOC}}
 
{{RightTOC}}
  
Line 6: 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
 
* [http://community.joomla.org/blogs/community/828-webinar-using-eclipse-for-joomla-development.html Using Eclipse for Joomla! Development] Video webinar demonstrating overview of Eclipse features for Joomla! 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 25: Line 23:
 
** [[How to configure Eclipse IDE for PHP development]]
 
** [[How to configure Eclipse IDE for PHP development]]
 
** [[Configuring Eclipse IDE for PHP development]]
 
** [[Configuring Eclipse IDE for PHP development]]
 +
** [http://community.joomla.org/blogs/community/828-webinar-using-eclipse-for-joomla-development.html Using Eclipse for Joomla! Development] Video webinar demonstrating overview of Eclipse features for Joomla! development
 
* [[wikipedia:ActiveState_Komodo|Komodo Edit]]
 
* [[wikipedia:ActiveState_Komodo|Komodo Edit]]
 
** [[Configuring Komodo Edit for Joomla Code Completion]]
 
** [[Configuring Komodo Edit for Joomla Code Completion]]
Line 30: 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 the Joomla CMS]]
 
* [[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
+
 
**
+
* [[Working with git and github/My first pull request]] - The way of the current Joomla! code base.
* [[Tortoise SVN]]
+
* [[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]]
 
**  [[Joomla Ant build files]]
 
**  [[Joomla Ant build files]]
* [http://www.phing.info|Phing]
+
* [http://www.phing.info Phing] It's possible that Phing can use al ant files (needs confirmation though)
 
** [[Setting up your workstation for extension development (build with Phing)]]
 
** [[Setting up your workstation for extension development (build with Phing)]]
 
** [[Extension development using eclipse and phing]] This article explains one way in which you can set up your workstation for writing Joomla! extensions. It assumes that you are using Eclipse and that you are familiar with using Eclipse for working with Joomla! and Subversion. For more information about the basics of getting started with Eclipse for Joomla! development.
 
** [[Extension development using eclipse and phing]] This article explains one way in which you can set up your workstation for writing Joomla! extensions. It assumes that you are using Eclipse and that you are familiar with using Eclipse for working with Joomla! and Subversion. For more information about the basics of getting started with Eclipse for Joomla! development.
Line 52: Line 56:
 
* [[Installing Joomla locally]]
 
* [[Installing Joomla locally]]
 
* [[Setting up a testing environment]]
 
* [[Setting up a testing environment]]
Help is appreciated making these pages less redundant!
+
* [[Setting up your workstation for PHP development]]
 +
Help is appreciated finding related pages and making these pages less redundant.
 +
 
 +
 
 +
[[Category:Development]]
 +
[[Category:Tutorials]]

Revision as of 18:10, 29 April 2013

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.