Developing New Paths

The Mojavi Project

Archive for December, 2008

December-28-08

Reliable hosting

posted by admin

Finding a reliable hosting company can be quite a complicated task and there are many factors to consider. You can find web hosting tutorials online to help navigate all the choices and help to simplify your choices. Since most companies you find online are now offering unlimited bandwidth, storage, and other features you will want to understand what each of these really mean and how they will affect you and your blog or website.

You can always find cheap web hosting but remember that you get what you pay for.

December-19-08

What is Wi-Fi?

posted by admin

Not to be confused with mobile broadband , Wi-Fi requires an Internet signal to be in range for connectivity. In addition to being used at home and offices, Wi-Fi can be accessible through ‘hotspots’. Restaurants, airports and hotels often offer free hotspots to attract and retain customers, especially in the Internet driven world we live in today.

December-8-08

Mojavi 2.0 migration

posted by admin

* File Formats

Prerequisites

You should have a decent grasp of Mojavi2 and PHP5 before trying to upgrade to Mojavi3.

If you want a quick crash course of Mojavi 3, see Creating Your First Module 2.
First Things First

Before you begin transferring your applications over from Mojavi2, make sure whatever host you’re using supports PHP5. You can figure out if your host supports PHP5 by running

phpinfo();

Furthermore, you need to download and install the Mojavi3 package, which can be attained by going to this location.
The Context

Probably the most important new and powerful aspect of Mojavi3 is the Context object. Once I figured out what this thing did, I fell in love with it. Basically, it is a sort of catalyst/storage object that allows you to access:

* The $request object via getRequest()
* The $controller object via getController()
* The $user object via getUser()
* The Current Action/Module names via getModuleName() and getActionName()
* And finally the Current module’s directory

More or less, most classes that are exposed to the user/developer (you) are going to have a getContext() function, which will allow you to access this file extension. And with the recent addition of cascading calls, you can perform operations that you were unable to in php4, for example:

The Old Way:

$obj =& $request->getAttribute(’myobj’);
$anotherobj =& $obj->doSomethingSpecial();
$anotherobj -> execute();

December-5-08

Fuel efficient rides are they worth the cost

posted by admin

We just recently ordered a brand Toyota Hybrid for my company car and I really excited about having a new car and one that is supposed to be better for the environment. Now that gas prices have come down to under $2 per gallon I wondered how much extra I would be saving in fuel costs. It turns out that the cost savings in fuel is not as a dramatic as it was 3 months ago, but the other benefits of owning a hybrid car should be beneficial overall.

One of the things that I noticed when ordering our new car is that some of the features available on the non-hybrid model were non-existent on the hybrid model. So this got me to thinking about a post we did early for those holiday shoppers out there looking for something creative to get that special one who is a proud owner of a hybird vehicle. At juicedhybrid.com they carry a great selection of accessories for most of the major manufacturers of hybrid models. And if you are not sure then there are always gift cards to their site so that they can pick out exactly what they want. So why not go green this Christmas and purchase something that they will be able to enjoy year round and actually do some good for the environment.

Tags: