Archive for March, 2009

Why Young People Will Benefit Greatly from the Recession

The consumer confidence index, the measure of how individuals feel about the current state of the US economy, has hit a new all time low since the 2008 recession began. Consumers are worried about their jobs, their investments and their home values. Some are wondering if they will ever be able to retire. However, the 2008-2009 recession will actually benefit many young people. If you are in your 20’s or 30’s you can take advantage of lower prices on homes, cars, and investments. When the economy recovers a few years down the line, you could find yourself in a much better position than if the recession had never happened.

First, let’s look at the housing market. Home values typically appreciate at around 6% per years, which is essentially the rate of inflation plus one or two percentage points. In the last decade, the price of homes increased much more than that because of speculation and increased demand. The prices of home values started increasing substantially making it very difficult for first-time homebuyers to purchase a home. Since the real estate market started to slow down, prices have essentially fallen back to about where they were in 2003, making it so that individuals who don’t own a home, can buy one for much less than they would have been able to two years ago.

When it comes to investments, young people can also buy stocks and mutual funds at a discounted price. If a share of stock was worth $100.00 a year ago, and is now worth $50.00, you will get two stocks for your $100.00 when a year ago, you would have only gotten one. When the stock market recovers, as it appears that it is beginning to, you’ll see significant appreciation on the stocks or mutual funds that you purchased while the stock market was near the bottom.

Automobile prices have also seen a significant decline. Individuals are increasingly keeping vehicles around longer when they would have otherwise purchased a new vehicle. This means that the demand for new and used cars is down and prices have dropped accordingly. Other expensive consumer products, such as high-end electronics, have seen a similar decline in prices.

Students will also benefit from depressed college costs. Although tuition has traditionally increased at 7% per year, but many universities are adopting a new sense of discipline to control costs and make the educational experience much more cost effective. Some universities that are focused on research are moving towards focusing on teaching to reduce costs.

Costs for just about everything are lower. If you have a job and are still investing and buying consumer products, just about everything that you are buying is available at a discount.

Source: Fine Tuned Finanaces

CakePHP – Models Part 2

Callback Methods

If you want to sneak in some logic just before or after a CakePHP model operation, use model callbacks. These functions can be defined in model classes (including your AppModel) class. Be sure to note the expected return values for each of these special functions.

Read more

CakePHP – Models Part 1

Naming

  • Ingredient
  • extends AppModel
  • ingredient.php

The Model is automatically available to the Controller when the name matches

function index() {
//grab all ingredients and pass it to the view:
$ingredients = $this->Ingredient->find(‘all’);
$this->set(‘ingredients’, $ingredients);
}


Read more

CakePHP – Components

Naming:

  • MathComponent
  • extends Object
  • /app/controllers/components/math.php

Initialising:

var $components = array(‘Math’, ‘Session’);

When including Components in a Controller you can also declare a set of parameters that will be passed on to the Component’s initialize() method. These parameters can then be handled by the Component.
var $components = array(
‘Math’ => array(
‘precision’ => 2,
‘randomGenerator’ => ’srand’
),
‘Session’, ‘Auth’
);


Read more

CakePHP – Controllers

Naming conventions:

  • RecipesController
  • recipes_controller.php
  • extends AppController

Different Variables

var $name = ‘Recipes’;
var $uses = array(‘Recipe’, ‘User’);
var $helpers = array(‘Ajax’);
var $components = array(‘Email’);

Read more

Plasma vs LCD

Which one to Buy

Plasma

Plasma

  1. Viewing angle of 178 deg (Sitting at the extreme right or left corner of the screen, you will be able to see a clear picture).
  2. Heavy due to intrinsic internal components. Best place is a Table/TV trolley. Mounting on the wall req. additional support.
  3. Heats up Real fast. So, Some also come with a fan inserted at the back.
  4. Life Span is between 30,000 to 60,000 hours.
  5. Major problem is burn-in. It is a process in which prolonged display of the graphical elements can create a permanent ghost-like image on the screen. This happens over the time when phosphor loses its luminosity, levaing faint images of the menu or other frequently used areas of the screen visible to the eye, even when other images are playing out on the screen.
  6. When it comes to Colour and Contrast – Best.

LCD

LCD

  1. full HD support.
  2. Available from 14inches to 108inches.
  3. Viewing angle of 175 deg.
  4. Life Span is between 40,000 to 60,000 hours.
  5. No burn-in.
  6. Thinner than plasma. Easily mounted on the wall.
  7. Refresh rates are as low as 8ms. So its good for movies and games.
  8. Consumes less power

Final Word.

A head-to-head comparison of Plasma and LCD indicates that LCD have a better edge over the gas displays. Though LCDs make your wallet a lot lighter, they also give much more to the viewer – the highest resolution, good picture quality, lower power costs. If you think that TV’s in short term and plan upgrades every few years, then plasma’s are the way to go.

When and Why: Plasma vs LCD

SIZE

Plasma’s are not available in sizes lower than 32inches. So, if you want a Tv for a smaller space – LCD

RESOLUTION

If you want to enjoy HD movies and games, LCD supports 1080p resolution. Remember, the world is moving towards Blu-Ray tech

PRICE

LCD’s are more expensive compared to Plasma’s of the same size.

POWER CONSUMPTION

The bigger the size of the flat panel the more power it consumes.LCDs win here again. Tehy consume 30% less power.