Linux.com

Feature: Web Development

A survey of Linux Web development tools

By Joe 'Zonker' Brockmeier on October 12, 2005 (8:00:00 AM)

Share    Print    Comments   

Choice is a good thing, and Linux users have plenty of it when selecting a program for Web development. Users can choose from the basic no-frills text editors, to full-featured "what you see is what you get" (WYSIWYG) programs. Here's a survey of the best programs I've used.

This is by no means an exhaustive overview of all Web development programs available for Linux. For example, since the original Mozilla Suite has largely been displaced by Firefox and Thunderbird, I've decided not to review Mozilla Composer (or Netscape Composer). I've also kept to programs that are mature, and available under free and open source software licenses.

This is also not an exhaustive overview of all features in each program. I've tried to highlight some of the most interesting features in each program. In particular, I've focused on HTML/XHTML editing and support for Cascading Style Sheets (CSS).

Let's start with a look at two general-purpose editors, Vim and Emacs, that offer some specific features for Web development.

Vim

Vim is one of the most popular text editors for Linux users, and it offers a number of useful features for editing HTML and other languages you might use for Web development.

One of the first features I look for in any editor is syntax highlighting. Vim supports syntax highlighting for HTML, PHP, Python, Perl, CSS, and many other languages. Vim uses syntax files for each markup or programming language, and if it doesn't have a syntax file for your favorite language (unlikely), it's possible to write your own.

Another useful feature in Vim is support for editing files on remote machines. Vim can edit files over FTP, Secure FTP (SFTP), SSH (scp), rsync, and other protocols. This may be a bit slower than editing a local file, but it's otherwise seamless.

Vim is also very extensible. It's not too difficult to add keymaps that insert frequently used tags, and to create scripts or macros to use with Vim. The Vim Web site has quite a few tips on using Vim more effectively, and scripts to extend its functionality.

One script I recommend is the closetag.vim script, which makes it easy to "close" the last tag used. For example, if you've put in a <strong> tag, press Ctrl-_ to insert the </strong> tag. Another useful add-on for Vim is HTML.vim, which provides a set of mappings and menus for working with HTML.

If you're not familiar with Vim, it's not your best choice for doing Web development. If you have experience with Vim, spend a little time checking out Vim's advanced features that make Web development easy.

Emacs

Like Vim, Emacs enjoys a great deal of popularity amongst Linux users -- although usually not the same users. Emacs is particularly popular with users who've been working with Linux or other Unix-type systems for a long time. As with Vim, Emacs has all the features you'd expect in a world-class text editor that make working with text easy. However, if you're looking for WYSIWYG features, Emacs is not for you.

By itself, Emacs is pretty good for Web development. It supports syntax highlighting for a number of languages, and completion of tags and other standard language keywords so that you don't need to type out the entire HTML tag or keyword.

Emacs is also extensible, and there are a number of Emacs modes that make things even easier. The html-helper-mode, for example, provides shortcuts to insert HTML tags and entities, and even an entire HTML document "skeleton" with all the basic tags a document needs. The html-helper-mode also brings support for basic CSS.

The Transparent Remote (file) Access, Multiple Protocol (TRAMP) package makes it easy to edit files on remote servers with Emacs. TRAMP works over Remote Shell (RSH), SFTP, and SSH (scp).

Of course, the other benefit to Emacs is that you can do pretty much anything from the editor. Want to read email from Emacs? No problem. Want to chat in IRC using Emacs? You can do that too. This has little to do with Web development, but if you "live" in Emacs already, you probably want to do your Web development with it as well.

Emacs, like Vim, is fairly complex -- it's very powerful, but it will probably take novice users a while to master.

Next: Dedicated Web development tools
 

Share    Print    Comments   

Comments

on A survey of Linux Web development tools

Note: Comments are owned by the poster. We are not responsible for their content.

Expandability

Posted by: Anonymous Coward on October 12, 2005 11:37 PM
The problem with some of these tools is expandability. If I wanted to do MATHML or SMIL, SVG or even keep up with the ever evolving XML/XHTML standards. I basically have to wait till the programmers get to it. Were's the scriptability? At least the GIMP has python, and Perl expandability.

#

Re:Expandability

Posted by: Anonymous Coward on October 13, 2005 02:40 AM
Only some of them. With <a href="http://www.screem.org/" title="screem.org">Screem</a screem.org> if you have a doctype, it will know the markup. This includes SVG, XHTML, MathML etc. (Admittedly xml schema / relaxng support is needed)

e.g a
<a href="http://www.screem.org/gfx/screenshots/xml.png" title="screem.org">glade</a screem.org> file open in screem.

#

is not for italics!

Posted by: Anonymous Coward on October 12, 2005 05:38 PM
The element "em" is not for entering italics, it's for emphasis.

#

Re: is not for italics!

Posted by: Anonymous Coward on October 13, 2005 03:16 PM
Exactly! Text within <em> tags is displayed by most browsers in italics by default, but it is easy to override using a style sheet. If the user explicitly requests italics, that's what nvu gives and the resulting HTML code seems pretty appropriate.

#

Back Pain relief

Posted by: Anonymous Coward on May 28, 2006 07:08 PM
[URL=http://painrelief.fanspace.com/index.htm] Pain relief [/URL]

  [URL=http://lowerbackpain.0pi.com/backpain.htm] Back Pain [/URL]

  [URL=http://painreliefproduct.guildspace.com] Pain relief [/URL]
[URL=http://painreliefmedic.friendpages.com] Pain relief [/URL]
[URL=http://nervepainrelief.jeeran.com/painrelief<nobr>.<wbr></nobr> htm] Nerve pain relief [/URL]

#

screem, unmentioned features

Posted by: Anonymous Coward on October 12, 2005 08:16 PM
Like Quanta screem will display the document structure, and also features auto complete in via a dropdown menu when typing.

Like Quanta screem has no problem with Docbook support, or any other XML format so long as the document contains a doctype tag.

Like Quanta screem will auto complete entities, and typing / will result in the correct closing tag being inserted, for any doctype in use.

Like Quanta screem can work directly with remote files.

Like Bluefish it has references. The exact same PHP and Python ones used in Bluefish. It also supports PHP, Perl, Python, C, SQL. Just like Bluefish.

The "few other" protocols supported by screem are infact anything that gnome-vfs supports.

#

Re:screem, unmentioned features

Posted by: Administrator on June 24, 2006 09:56 AM
Thank you for pointing out the remotw files thing with screem, I was looking to Bluefish as being the one to use for everyone in our new setup, but ease of remote file use will be most important for what we're doing.

#

Text editor

Posted by: Anonymous Coward on October 12, 2005 09:41 PM
You mentioned text editors such as Vim and Emacs but they are console-based and have strange keybindings and is difficult to learn and use.

You also mentioned GUI editors for HTML but they all looked pretty heavy.

I would like a really simple GUI text editor such as Notepad that comes with Windows.

Also, I think having the beautiful and clean "fixedsys" font is important, can I have that?

#

Re:Text editor

Posted by: Anonymous Coward on October 12, 2005 09:49 PM
both vim and emacs have GUI frontends, in fact emacs should be installed by default with any system running X. vim has an excellent frontend called gvim.

#

Re:Text editor

Posted by: Anonymous Coward on October 12, 2005 10:42 PM
There are several GUI text editors for Linux. The two that come to mind are gedit and nedit.

#

Re:Text editor

Posted by: Anonymous Coward on October 12, 2005 11:20 PM
cream is a graphical frontend to vim, its wonderfully simple to use and replaces the need for vim's keybindings (unless you want them like i do).
think of cream as gvim on steroids

#

Re:Text editor

Posted by: Anonymous Coward on October 13, 2005 01:18 AM
Also, if you use Gnome, you can always use their built in editor, gedit, to handle the HTML code as well.

#

I second that

Posted by: Administrator on October 13, 2005 04:23 AM
I use Gnome, and it has GEdit.

It's a basic text editor, by Linux standards, which is a bit more than you get from Notepad. It has tabs like FireFox... Though lots of things in Linux seem to have tabs, the whole freak'n desktop has tabs. (If you use Gnome and it doesn't seem to have desktop tabs, right click a taskbar, click "Add to Panel" and then find and add "Workspace Switcher".)

It also has highlighting for a whole bunch of languages, including XHTML, CSS and Perl and PHP and etc.

You can change the font. I don't see "Fixedsys" here, but I do see a "Fixed"... If you have a copy of "Fixedsys" laying around in a TTF file, copy it to this directory:<nobr> <wbr></nobr>/usr/X11R6/lib/X11/fonts/TTF/

If it's one of those retro<nobr> <wbr></nobr>.fon files from retro Windows, I have no idea what to do with it then<nobr> <wbr></nobr>:S

#

Re:Text editor

Posted by: Anonymous Coward on October 13, 2005 08:00 AM
Leafpad is almost the same as Notepad. But there are countless other gui text editors for linux with much more functionality.

#

EditPad - JGSoft

Posted by: Anonymous Coward on October 14, 2005 04:24 AM
Try EditPad Lite from JGSoft. It's as simple as Notepad, if that's all you need, but has much more power if you want it. The Lite version is free, and the Pro version is $39. The Linux & Win versions are supposed to be virtually identical. (and no, I don't get a commission<nobr> <wbr></nobr>:-)

-Amazing Blair

#

Pain relief

Posted by: Anonymous Coward on May 28, 2006 01:53 PM
<tt>[URL=http://painrelief.fanspace.com/index.htm] Pain relief [/URL]
[URL=http://lowerbackpain.0pi.com/backpain.htm] Back Pain [/URL]
[URL=http://painreliefproduct.guildspace.com] Pain relief [/URL]
[URL=http://painreliefmedic.friendpages.c<nobr>o<wbr></nobr> m] Pain relief [/URL]
[URL=http://nervepainrelief.jeeran.com/pa<nobr>i<wbr></nobr> nrelief.htm] Nerve pain relief [/URL]</tt>

#

Re: Scite

Posted by: Anonymous Coward on March 28, 2006 08:50 PM
Scite rocks!

#

Re:Text editor

Posted by: Anonymous Coward on October 03, 2006 05:54 PM
chrono-form is a program that can be used to create Web forms and use the results in various ways. It could be used as a mini quality control management system, a system for holding referendums, or a reservations system. Results can be exported to a spreadsheet.

<a href="chrono.apinc.org?numero=129" title="linux.com">HERE</a linux.com>

#

Re:Text editor

Posted by: Administrator on October 13, 2005 12:20 AM
For KDE users there's Kate.

#

No Mozilla Composer?

Posted by: Anonymous Coward on October 12, 2005 09:44 PM
And I wonder why Mozilla Composer was not included. Although lacking on form generation feature (at least on Mozilla 1.7 of Slackware 10 I'm using), Mozilla Composer is a pretty decent WYSIWYG web developer tool.

#

Re:No Mozilla Composer?

Posted by: Anonymous Coward on October 12, 2005 10:40 PM
Nvu is based upon Composer. Composer has several issues, including inserting lots of unwanted

  tags. Nvu seems to have fixed this problem.

#

Re:No Mozilla Composer?

Posted by: Administrator on October 13, 2005 04:25 AM
The Mozilla Project seems to be depreciated or something, and nobody uses it. If they do, I question their sanity; any web-browser that loads that slow on a 2.8ghz computer ought to die a horrible death.

Like the other dude said, it's split off and called Nvu now.

#

Zend Studio

Posted by: Anonymous Coward on October 12, 2005 10:53 PM
We use Zend Studio on Linux to developt with PHP 5. This is the greatest IDE for PHP.

We also used kdevelopt for PHP developpement. Not bad at all. Eclipse is a good choice too.

The most important thing for us is auto-completion.

#

Checking results in IE

Posted by: Anonymous Coward on October 12, 2005 11:07 PM
Thanks for the articles. One question: I had difficulty to ensure that the results are shown properly in Internet Explorer (because several people still use IE). Is there a way to check it from any editor described above?

#

Re:Checking results in IE

Posted by: Anonymous Coward on October 13, 2005 01:11 AM
You'll have to use Wine (with Winetools, to manage the installations -be careful to choose a Wine version recommended by Winetools), to run Internet Explorer on Linux... You may also try qemu, to emulate a whole computer system to install Windows on<nobr> <wbr></nobr>:) (slow, but quite fun ^_^)

#

Actually, very easy.

Posted by: Administrator on October 13, 2005 04:46 AM
3 step process!

1) <a href="http://www.winehq.org/site/download" title="winehq.org">http://www.winehq.org/site/download</a winehq.org>

Install that.

2) <a href="http://www.kyz.uklinux.net/cabextract.php" title="uklinux.net">http://www.kyz.uklinux.net/cabextract.php</a uklinux.net>

Install that.

3) <a href="http://www.tatanka.com.br/ies4linux/" title="tatanka.com.br">http://www.tatanka.com.br/ies4linux/</a tatanka.com.br>

Download and run this program.

Now, you can run IE, the program will automagically install Internet Explorer 5.0, 5.5 and 6.0 for you. It's specially built for this purpose, so that web designers can test stuff in multiple IE versions.

I use it for my work.

A few things to note:

*I've used it at my office and at home, and in both cases, IE runs brainshaggingly fast. Faster than FireFox, and more interestingly, faster than IE does in Windows.

*It does NOT run very stable. The main thing I've noticed that will crash it is Flash, which is ubiquitous. So if you're using Flash on your site, this isn't gonna work very well, unless someone else knows a way around this.

I don't use Flash on my sites, so it does it's job pretty stable. Just don't use it for general browsing and it should be fine.

My email address is frapaquad at hotmail.com if you have any problems or need any help with that.

#

Amaya

Posted by: Anonymous Coward on October 13, 2005 12:16 AM
You left out the official editor/browser of the W3C, which has been around longer than most of the other tools reviewed and produces the most standards-compliant code!

<a href="http://www.w3.org/Amaya/" title="w3.org">http://www.w3.org/Amaya/</a w3.org>

Regards,
*** Xanni ***

#

Re:Amaya

Posted by: Anonymous Coward on October 13, 2005 02:11 AM
Amaya is a complete nightmare usability wise. The type of person who wants to use a WYSIWYG interface over a code based editor will run away from it screaming. Any code based editor will produce just as standards compliant code.

#

Re:Amaya

Posted by: Administrator on October 13, 2005 04:59 AM
Yeah, I found it a bit baffling.



Actually, quite immediately I made it crash by closing a tab, and when I made a new file, the default directory to save it in the<nobr> <wbr></nobr>/usr/share area and it'd spit errors at me unless I did that in root.



Of course, most people at this site know that's a duh issue, you can't save stuff there as a normal user, but any Linux newbie is gonna spend hours baffling over that; it's not exactly intuitive.

#

Re:Amaya

Posted by: Administrator on October 13, 2005 12:49 PM
Actually, I'm kinda getting used to it now and even starting to like it, but there are some very very odd things about it that would annoy most normal users.

#

Re:Text editor

Posted by: Anonymous Coward on October 13, 2005 01:04 AM
Yup, Kate's quite nice, with basical project management, highlighting, code snippets, templates and some completion... (using the official plugins -there may be other functionnalities, using unofficial plugins, but I still did not try to find some). I'd like I could find a non-KDE equivalent ^_^

#

Re:I second that

Posted by: Anonymous Coward on October 13, 2005 05:22 AM
gedit will highlight javascript, sql, asp, and lots more. both it and screem make use of gtksourceview for their editing widget, so support highlighting the same file types.

#

Quanta doesn't render images... yes it does.

Posted by: Anonymous Coward on October 13, 2005 11:26 AM
You mention: Quanta doesn't, for example, render images in the document in WYSIWYG mode -- so it's not exactly WYSIWYG.

That is not accurate. In both the VPL Editor and the VPL & Source Editors mode, images will display, but first the file has to be saved if you are working on a new file. Even the internal preview won't show a picture if the file isn't saved first.

#

Emacs nxml-mode

Posted by: Anonymous Coward on October 13, 2005 08:44 PM
html-helper-mode is a pretty basic HTML editing mode which does not go far beyond HTML editing in other programmer's editors. nxml-mode is a validating XML editing mode with completion for element names, attribute names, and attribute values, and with support for Relax NG, a simple and popular XML Schema language as a replacement for DTDs. It is perfectly suited to author valid xhtml instead of generating html/xhtml which just so happens to display properly in IE. Of course there is also xslide to edit xslt stylesheets.

#

Re:No WYSIWYG web-site management program?

Posted by: Anonymous Coward on October 14, 2005 03:43 AM
I understand Dreamweaver works if you use Crossover Office. But this is an area where F/OSS tools could be better, especially when developing Web applications using things like php or ASP.NET (mono).


Just my 2c (dwy geiniog) worth


Peter

#

Omissions

Posted by: Anonymous Coward on October 20, 2005 01:38 PM
These are fine and good for a thirteen-year-old looking to set up a simple HTML site, but other applications really should have been included.

For example, the usage of SQL-based databases (especially PostgresQL and MySQL in Linux) as a site "back end" is becoming more and more popular. Tools such as "DBDesigner" from fabforce.net and "MySQLcc", et cetera, are incredibly useful during development.

As far as text editors go, I'm a vim fan personally, but KDE's "Kate" is amazingly powerful for creating web content (especially PHP!).

Good article, but there are many more options available, and these really should have been included.

#

Re:Omissions

Posted by: Anonymous Coward on October 20, 2005 02:11 PM
DBDesigner 4 is dead

Developers took down forums because of DDoS attacks

MySQL Workbench is similar official product to be released

#

Re:Omissions

Posted by: Anonymous Coward on October 22, 2005 11:25 PM
A database is not a web development tool, a web backend may utilise one, but that doesn't make it a web development tool. Seems these 13 year olds will be using these tools to create their sites and talk to databases while you are trolling.

#

Re:Omissions

Posted by: Administrator on January 16, 2006 10:16 AM
If a 13 year old can design a website with these tools, that's a complement. Ease of use is the holy grail of every designer, at least for those who want their stuff to be succeed. It's much more difficult to design a tool that's easy to use than it is to design one that's hard to use.

#

Some links

Posted by: Administrator on October 13, 2005 04:15 AM
I did some searching and I found some stuffs.

<a href="http://www.ephox.com/" title="ephox.com">http://www.ephox.com/</a ephox.com>

<a href="http://www.ektron.com/ewebwp.aspx" title="ektron.com">http://www.ektron.com/ewebwp.aspx</a ektron.com>

<a href="http://www.codeverve.com/products/verveJEdit/index.cfm" title="codeverve.com">http://www.codeverve.com/products/verveJEdit/inde<nobr>x<wbr></nobr> .cfm</a codeverve.com>

They're all commercial, but so is the thing you're using now, and I'd say you're asking too much if you expect people to make multiple different web editors (these are NOT simple programs to make) for you for free so you can host it on a webhost that gives you a free website.

On that note, is this a business? Can I see the website? I'm just curious...

#

ravindra mudumby--survey of linux tools

Posted by: Administrator on October 22, 2005 02:26 AM
. Users can choose from the basic no-frills text editors, to full-featured "what you see is what you get" (WYSIWYG) programs. Here's a survey of the best programs I've used.

This is by no means an exhaustive overview of all Web development programs available for Linux. For example, since the original Mozilla Suite has largely been displaced by Firefox and Thunderbird, I've decided not to review Mozilla Composer (or Netscape Composer). I've also kept to programs that are mature, and available under free and open source software licenses.

This is also not an exhaustive overview of all features in each program. I've tried to highlight some of the most interesting features in each program. In particular, I've focused on HTML/XHTML editing and support for Cascading Style Sheets (

#

No WYSIWYG web-site management program?

Posted by: Administrator on October 12, 2005 09:29 PM
Nvu is the only WYSIWYG program out there for Linux? Surely not...if so, that's sad.

Where are the full WYSIWYG web-site development apps? I use NetObjects Fusion on Windows which I got for free when I bought my digital camera. I sure would like to be able to develop my website of static-html pages using an editor on Linux, but from the review I just read, the possibility of having my ideal environment is dismal unless I develop the app myself.

My other option would be to use a wiki or blog-based site instead of static-html, but does any one know of a web-site hosting service out there that offers $0/month hosting with scripting?

#

This story has been archived. Comments can no longer be posted.



 
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya