should i use linux for php coding?

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
xudzh
Forum Commoner
Posts: 48
Joined: Sat Feb 19, 2005 6:22 pm

should i use linux for php coding?

Post by xudzh »

hi,

my windows is kinda slow, and i think that may decreace my efficiency. Also, many things (functions) aren't available on windows.

so i'm asking if coding on linux will make testing and stuff faster. My major concern is if there are good coding programs for linux. Ones with code coloring, auto-completions, function suggestions,debugging etc. So since i've never used linux before i don't know how hard it will be for me to learn it, and how hard to get it dual boot with my winxp.

any advice and/or suggestions?

thanks in advance :)
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Yeah Linux is great and there are all kinds of editors such as Quanta and Bluefish. I recommend Ubuntu if your a newbie but there are plenty of flavors to go around. Plus it's very stable as well. My time between reboots is around 30 days, only because I update the kernel and things like that.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

Best way is to test things - you can install Linux (Ubuntu is a good choice for beginners and can be installed as a dual boot system - Windows will still exist). Dual boot is an automatic option on nearly all Linux installs - just bear in mind that if it breaks the Windows CD can install its native Master Boot Record, or a live Linux CD can be used to repair GRUB or LILO - whichever bootloader you choose. GRUB is the default for ubuntu.

To be honest though, if your PC is slow for Windows, moving to Linux with Gnome or KDE may not make much difference to speed. It might be worth checking if you need to upgrade some hardware - a prime culprit is RAM (1GB is recommended these days) and processor (hopefully not much below 2.5 GHz proc).

Simple things like deleting any unecessary startup programs for Windows - all the stuff that ends up in your system tray (right hand box of Windows bar where the time is) - can make a huge difference too. They use up RAM that's better used for powering development apps ;).
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

I do almost all of my development for PHP on Linux. Its easy, I prefer the editors on Linux to those on Windows, and so forth.

However, I've been working with Linux for years, so it is extremely comfortable for me.

Of course, I prefer none of the features you described - I use nano as my editor. :)
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

I use pico...so there.

Really though, I use Eclipse. If it's something stupidly easy I'll use gedit, or if truly desperate...pico. Not a huge fan of editing code using Emacs or Vi for some reason. I have bad memories of console based editors...;)
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

I use Vim on both windows and Linux.. I usually mount the website filesystem (smbfs/nfs) somewhere in my own filesystem so that i can easily manipulate files without having to use an ftp client..
xudzh
Forum Commoner
Posts: 48
Joined: Sat Feb 19, 2005 6:22 pm

Post by xudzh »

what about knoppix? based on what i read on wikipedia, knoppix has much more software on, plus many plugins and things pre-installed. I don't know.

On pcword it recommended me to use ubuntu, but in a bookstore all i find is about knoppix. So i don't know which.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Why choose if you can try both? You're the best placed person to figure out what you like ;)
Post Reply