what do seasoned Joomla developers use?

For discussion about specific tools of the trade and other assorted items needed to equip the joombie with everything they need to embark on their developer journeys.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Post Reply
ICEcoffee
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Jun 12, 2007 8:10 am

what do seasoned Joomla developers use?

Post by ICEcoffee » Wed Nov 14, 2007 10:43 am

~Hi there.

I have recently made an 80% switch from WinXP to Ubuntu Linux 7.10. I've been using the usual Macromedia/Adobe development tools for years, including Dreamweaver. Now that I'm spending most of my time in Linux, it's a pain to dual boot to windows, so instead of wine'ing or setting up a VM, I've decided to see what else is out there, and it occurs to me, that the best people to ask what to use to develop Joomla apps, are seasoned :D, Joomla developers.

Before Linux my setup was:

OS: winXP
local server: WAMP
Editor: Dreamweaver
image editor: Photoshop

What setup do you have?

Thanks for your input
Brian

User avatar
bascherz
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Mon Jan 16, 2006 1:33 am
Location: Vienna, VA
Contact:

Re: what do seasoned Joomla developers use?

Post by bascherz » Wed Nov 14, 2007 12:14 pm

The short answer is Eclipse with the PHP Eclipse plug-in. The long answer is along the lines of "good luck getting it to work". I have personally spent a lot of time on this and had planned to report my "success story" in these forums somewhere but just haven't had time. In a nutshell, what I've got working on Ubuntu is:

  • Eclipse Europa 3.3.1
  • XDebug (latest)
  • Sun Java JVM v5
  • PHP Eclipse (latest nightly build always seems ok)
  • Latest Apache webserver
  • MySQL 5
  • PHP 5

I've got some great links for installing XDebug, Apache, etc., but am not at the Ubuntu machine right now. I will make a point to post the entire sequence here tonight. But to answer your question, the above configuration is what I use and I believe what the Joomla! Coding 101 community is recommending until J!Code (a branded packaging of EasyEclipse) is ready for prime time. I have tried using the latest versions of everything but never got things working. I was guided by several people in the know about trying to go with the latest versions of such things, so when I found a combination that worked, I just stuck with it.

There is an entry in the developer Wiki that has details on how to make things work in both Windows and Linux using XAMPP, but I had mixed success with the Linux approach (the Windows approach works fine). I have heard from several people regarding the Linux setup, and I have made modifications to the wiki to correct errors based on that feedback. It should work fine for you if you don't mind using XAMPP, which you will not be able to do if you've already installed Apache or MySQL daemons.

Eclipse with XDebug has both local and remote debugging options, and each has its benefits. Local debugging does not rely on Apache, whereas remote debugging does. Remote debugging allows you to see your page being rendered in some cases, whereas local debugging shows you the HTML being output by the code (in the Eclipse console window). I switch between the two depending on the stage of development of a particular piece of code.

That's all I have time to type right now. I'll make a point of posting the links I've used with repeated success tonight.

Expect there to be quite a bit of interest in this thread!

Have fun!
Bruce

EDIT:

Okay, here are the links I use to get things setup in Ubuntu.
1. Install LAMP and test that XDebug works (follow exactly) - http://www.apaddedcell.com/easy-php-debugging-ubuntu-using-xdebug-and-vim
2. Download and install Eclipse Europa 3.3.1.1 - http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.3.1.1-200710231652/eclipse-SDK-3.3.1.1-linux-gtk.tar.gz
3. Download and install Sun Java JVM 1.5 and select it as the default JVM

Code: Select all

sudo apt-get install sun-java5-jdk
sudo update-alternatives --config java

4. Setup a menu launcher -

Code: Select all

sudoedit /usr/share/applications/eclipse.desktop

With this contents (change paths to eclipse elements to match your system):

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true

5. Launch Eclipse and install the latest PHP Eclipse nightly build. This is a brief summary of information from the PHP Eclipse help info that comes with the plugin.
- Select Software Updates and click Find and Install
- When that option is selected, a window will appear providing two options. Select 'Search for new features to install'.
- In order to install PHPEclipse, you must tell Eclipse where to find it. On the top right of the window that appears, there will be a button labeled 'New Remote Site...'. When you click on this button, a window will appear requesting the Name and URL of the site to be added. Enter 'PHPEclipse Nightly Builds' in the Name field and http://update.phpeclipse.net/update/nightly/ in the URL field.
- Follow your intuition through the sequence of dialogs, making sure to keep focused only on installing the PHP Eclipse Nightly Build.

6. Setup remote debugging (start where ian_mac joins the following IRC chat) - http://echelog.matzon.dk/logs/browse/phpeclipse/1186783200

If I left anything out, try reading the link I posted in this original entry that is in the Joomla Developer Wiki area. And please offer any corrections you see are needed.
Last edited by bascherz on Thu Nov 15, 2007 2:36 am, edited 1 time in total.
__________________
Bruce Scherzinger

garyamort
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Fri Apr 27, 2007 11:22 am
Location: New York, USA

Re: what do seasoned Joomla developers use?

Post by garyamort » Wed Nov 14, 2007 12:26 pm

ICEcoffee wrote:~Hi there.

I have recently made an 80% switch from WinXP to Ubuntu Linux 7.10. I've been using the usual Macromedia/Adobe development tools for years, including Dreamweaver.


I like Komodo Edit(free) or their full blown IDE(commercial).

It does code folding automatically, supports the PHP debugger, works on Windows, Mac, and Linux, and supports a bunch of other languages as well out of the box - so when you decide there is a python script that does what you want and your going to use it, the code syntax is already there.

User avatar
karol.cejka
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Nov 10, 2005 10:22 am
Location: Kosice[Sk], Prague[Cz]
Contact:

Re: what do seasoned Joomla developers use?

Post by karol.cejka » Wed Nov 14, 2007 3:21 pm

Hi Brian,
i have linux too and i thing it is better OS for develop like WIN.

my setup:

OS: fedora core 7 (now upgrading to 8)
local server: apache, php, mysql from official fedora yum repositories
Editor: Eclipse, VIM (realy i need only text editor to make pages)
image editor: Gimp, Google picasa
sk-SK (Slovak)
Slovak Joomla! Official Translation Partner – http://joomlahelp.sk

ICEcoffee
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Tue Jun 12, 2007 8:10 am

Re: what do seasoned Joomla developers use?

Post by ICEcoffee » Thu Nov 15, 2007 1:36 pm

thanks for your input Bruce,

I have at my disposal, a fresh install of Ubuntu. I am currently undecided whether to load LAMPP or XAMPP. I'll digg around a bit. It's a shame the Joomla Eclipse fork is not ready, that may have been the way forward.

I wonder what others developers use? (as per original post)

Brian


Post Reply