Monday, August 13, 2007

Install gPHPEdit in Ubuntu, a good PHP editor review

gPHPEdit is not the most complete editor that you will ever use and has a simple and unclutered interface which makes writing code easy. Its based on the Scintilla editor and takes it a step further than SciTE and uses Gnome 2. What it lacks in features it makes up with pure speed. It’s opened at exactly the last place you left it before you can blink your eye. The main features are:
  1. Syntax highlighting for all functions up to PHP 4.3
  2. Code assistance (function, parameter assistance PHP 4.3 only)
  3. Syntax checking
  4. Tabbed viewing
  5. Support for HTML and CSS
syntax highlighting works but if you’re like me as you can tell from the site I like to work with a black background (otherwise after a while I have very sore eyes) and after changing all the setting there still remained some portions of the code with the default white background. On searching the site this bug has been fixed and will be included for the 1.0 release or can be downloaded via cvs. Another thing working with a black background when selecting text that is white you can’t read it anymore as there is no way to change the hight lighting color.

The PHP code assistance is great and just like the application is displayed very quickly and can be adjusted. The syntax checker is manual and has to be called using the menu or F9 this can be quite annoying and it does not check any functions or parameters within the file.

The search facilities are very basic in that only one file can be searched and the searching only highlights the first occurrence at the top of the file and you must continue through each occurance within the file. This can be quite tedious for large files with many partial matches.

If you’re working on a large project with multiple folders navigation can be quite tedious although on smaller projects where all files are in a small number of folders the handy list of classes with their functions can be displayed on the left of the screen for easy navigation but beware of files that have functions only as they will be listed so a folder containing numerous files of this type can be very difficult to navigate.

Overall, this editor is quick and easy to work with but without some more advanced features it feels a bit naked, the lack of automated indentation and auto syntax checking become more and more frustrating after long term use. Quick folder navigation would be an enormous improvement and these three feature would alone push this application onto the desktop of many more developers. Despite the lack of more advanced features it isn’t a tool I would quickly uninstall. If you’re an Eclipse user for example and you want to quickly open a couple of files to view and perform small edits this is where it excels. In the time that eclipse starts you can open edit and save and be doing something else. This application is reaching version 1.0 and is showing the some good signs that with some further development and added features would be a much more useful application.

Download gPHPedit source for Ubuntu here.

Các bạn có thể xem bài dịch tiếng Việt http://binkun-linux.blogspot.com/2007/08/hng-dn-ci-gphpedit-lp-trnh-php-trong.html.

Hướng dẫn cài gPHPEdit để lập trình PHP trong Ubuntu dễ dàng

gPHPedit không như hầu hết các trình biên tập( tạm dịch editor như vậy) hoàn chỉnh mà bạn đã từng xài. Có một giao diện đơn giản và không fức tạp, một điều thật tuyệt để code. Nó thiết kế trên nền Scintilla editor, là một bước tiến so với SciTE và dùng Gnome 2. Nó mở file chính xác theo lần cuối mà đóng trước trong nháy mắt.

Những chức năng chính của gPHPedit :

  • Làm nổi bật các hàm trong PHP 4.3.
  • Hỗ trợ code( hỗ trợ các hàm, tham số chỉ trong PHP 4.3).
  • Kiểm tra cú pháp.
  • Hỗ trợ kiểu cửa sổ Tab( mở nhiều tài liệu cùng 1 cửa sổ, nhưng các tài liệu trên các phiếu khác nhau).
  • Hỗ trợ cho cả CSS và HTML nữa.
Sự hỗ trợ cho code PHP thì thật tuyệt và giống như gPHPedit, nó hiển thị rất nhanh chóng và có thể chỉnh sửa. Tiện ích kiểm tra cú pháp( syntax) đươc chạy thủ công fải được gọi bằng menu hay nhấn F9 để gọi, điều này có lẽ khá khó chịu nhưng nó sẽ không check bất cứ hàm hay tham số nào trong file.
Tiện ích tìm kiếm từ là rất cơ bản trong các chương trình hỗ trợ lập trình, nhưng gPHPedit chỉ tìm trên một file thôi, điều này thật khó chịu cho ai làm việc với các project nhìu file hay các file wá lớn.
Sau cùng, chương trình này làm việc rất nhanh chóng và dễ dàng. Nhưng nếu như không có các tiện ích ưu việt hơn nó sẽ trở nên khá đơn điệu, thiếu hỗ trợ thụt đầu dòng và tự động kiểm tra lỗi cú pháp sẽ gây khó khăn cho việc sử dụng lâu dài sau này. Việc thíu một số tính năng hấp dẫn có thể sẽ làm bạn nhanh chóng gỡ bỏ nó, nhưng khoan đó lại là ưu điểm của nó đó bạn. Khi bạn cần chỉnh sửa chi tiết nhỏ một file nó sẽ rất hữu ích, như NotePad trong Window OS hay gEdit trong Ubuntu này, nó thật vô vị bù lại "nhỏ mà có zõ".
Các bạn có thể xem bài gốc tiếng Anh tại đây : http://binkun-linux.blogspot.com/2007/08/install-gphpedit-in-ubuntu-good-php.html
Và download gPHPedit tại đây.

Install wxDownloadFast in Ubuntu to fastly download

wxDownload Fast (also known as wxDFast) is an open source download manager.

It is a multi-threaded download manager. This means that it can split a file into several pieces and download the pieces simultaneously.
Some features are:

Faster downloads
Download resuming
Available in multiple languages and easily translated.
Connection to HTTP/FTP servers which require a password
Calculates the MD5/SHA1 checksum of downloaded files so they can be easily verified
Firefox integration through FlashGot
and more.

You open Terminal window, then type there :
sudo apt-get install build-essential libwxgtk2.6-0 libmad0 libsndfile1 libwxgtk2.6-dev gettext
wget http://nchc.dl.sourceforge.net/sourceforge/dfast/wxdfast_0.6.0-1_ubuntu_i386.deb
sudo dpkg -i wxdfast_0.6.0-1_ubuntu_i386.deb
The first line get some necessary library.
Home page: http://dfast.sourceforge.net/
Bạn có thể xem bài dịch tiếng Việt tại đây : http://binkun-linux.blogspot.com/2007/08/install-wxdownload-fast-to-fastly.html