Disabling View And Layout

If you are using MVC components of Zend Framework, you will come across situations where you will have to disable view and layout. To do so you use the viewRenderer and layout action helpers and call the setNoRenderer() and disableLayout() methods respectively.

How to disable the view?

In your controller action

FOSS Project: 
Content Type: 

Configure Virtual Hosts Using Apache And Ubuntu

One of my friends had trouble configuring Apache2 on Ubuntu. I suggested my friend these steps to fix the problem. Configuring Virtual host in Apache2 is very straight forward. It is easy to find what you need in Ubuntu documentation. The below link clearly explains how to configure Apache2.


These are the least steps required to configure virtual host in Apache2. If you run into problems please refer the online Ubuntu documentation or Apache2 documentation.

To install Apache use the command
"sudo apt-get install apache2"

Taxonomy upgrade extras: 

12 Red Hat/Fedora/CentOS And Ubuntu Cross Reference Commands And Configuration Files

  • Have you used Fedora/Red Hat/CentOS before and looking for equivalent commands in Ubuntu?
  • Are you a Fedora/Red Hat/CentOS user looking for configuration files location in Ubuntu?
  • Vice-versa?

If you answered yes to any of the above, read on. I am trying to help you start using Ubuntu without much Googling.

This post provides a brief introduction on available Fedora/Red Hat/CentOS equivalent commands in Ubuntu. This will also be handy for Ubuntu users that have delved into the Red Hat/Fedora/CentOS world.

Taxonomy upgrade extras: 

Using A Graphical FTP Client

FTP is an acronym that stands for File Transfer Protocol. As the name suggests, FTP is used to transfer data from one computer to another over Internet or through a network. By default, FTP servers listen on port 21 for incoming connections from FTP clients.

An FTP client is a program that allows you to easily move files from your computer to FTP server.

For example, FTP can used to upload Web page files. Those files are normally created on a author's computer and then uploaded to a Web server.

Taxonomy upgrade extras: 

Remote Desktop

Remote Desktop, a software included with Fedora, enables you to connect to remote computer over the internet. Remote desktop will allow you to see and control your connected PC as though you were sitting directly in front of it. In this post, I will discuss how to set up remote desktop on Fedora 9. Here, I will refer to local system as

Taxonomy upgrade extras: 


ImageMagick is a software suite used for image manipulation and display, supporting many image formats. ImageMagick software mainly uses command line interface for image manipulation. You can use this software to do tasks such as rotate, scale, resize, flip, shear, display and many more. You can do the image manipulation job much faster using command line interface and it is easier to use.

Now, I will walk you through the steps to install ImageMagick software suite. I assume you are running Fedora 8 on your computer.

1. Launch the terminal by clicking

Taxonomy upgrade extras: 

How To Access Windows Drives From Linux?

This one's a quick how-to about mounting Windows drives from Linux(Fedora 7).

From the Fdisk manual pages:

"Hard disks can be divided into one or more logical disks called partitions. This division is described in the partition table found in sector 0 of the disk. There may be reasons of security, ease of administration and backup, or testing, to use more than the minimum number of partitions".

Taxonomy upgrade extras: 

Add A Cool Date Picker With 2 Lines Of JavaScript

We have all seen drop down date pickers in web pages that are really convenient for the user. Let us see how we can build one with just 2 lines of JavaScript code. Yes, you read it right. 2 lines of JavaScript. You don't even have to know JavaScript to build a date picker in your web page.

For the impatient: Demo is here

Before: Traditional HTML form with input field
Visit the above link and take a look at the HTML only form fields that collect date information from the user. If you don't use a server side scripting language to generate the form fields you have to type a lot of select options to make it easier for the user. Populating the select fields with the desired option, especially in the case of failed validation, takes a bit more server side code. Most of you would agree that the user hates these kind of forms.

Taxonomy upgrade extras: