Zend Framework Book Review by Robert Bašić

Picture from robertbasic.com

Picture from robertbasic.com

Few days ago my friend Robert Bašić has posted his review of a book named “Zend Framework 1.8 Web Application Development” on his blog. Here is a short quote from that review:

The book starts off with a basic application (yep, “Hello world!”), explains the bootstrapping, configuring, working with action controllers, views and handling errors… The second chapter continues with explaining the MVC architecture, the front controller, router, dispatcher… It even has a nice flowchart about the whole dispatch process, great stuff.

It’s a not too long, but a well written and informative review. So, if you’re interested in whole review and what’s Robert saying about the book, I recommend you to visit his blog and read his nice post!

Clone VirtualBox vdi Image

virtualbox clone vdi imageFew words about VirtualBox

VirtualBox is an open source virtualization product for home and enterprise use. It gives you the power to work on some other OS than you’re running (Windows, Linux, Macintosh and Solaris as hosts), and it supports a great number of guest operating systems.

How to clone?

Let’s suppose you setup you guest OS, installed some applications, made updates, and now you wish to backup it if something goes wrong. The easiest solution will be to find directory where is your vdi file and copy it somewhere as backup, but that isn’t the good solution. You have to clone it!

There are few solutions how to do it, this one is when the host is a Windows OS. Run command prompt and enter the directory where is your VirtualBox applications installed (usually program files) and than execute a command.

C:\Program Files\Sun\VirtualBox>VBoxManager.exe clonevdi "source" "destination"

Suppose your vdi image is located on D: drive under directory VBox and named ubuntu910 and you want to make a vdi image clone named bckup_ubuntu910 on D: drive. That will look like this:

C:\Program Files\Sun\VirtualBox>VBoxManager.exe clonevdi "d:/VBox/ubuntu910.vdi" "d:/bckup_ubuntu910.vdi"

After execution of command you’ll see a percentage number of cloning status in command prompt, when it reaches 100% your vdi clone is ready. Clone has got new UUID (Universal Unique Identifier), so there will be no conflict if you decide to use both (original and the cloned one).

Using Multiple Firefox Profiles

firefoxTime since I discovered this little trick, I use it always. I like that I can have two Firefox profiles run at the same time, but they are totally different. They have separate directories created for profiles and as that they can have totally different extensions installed than each other. So, I have created recently one more profile for web developing, which contains all the extensions I need for it like Firebug, Web developer toolbar, some validators, etc. Now I have the default profile which is used for surfing over Internet with own extensions, browsing history, bookmarks, and web development profile with it own extensions.

How to create Firefox profile?

I won’t make a full descriptions of steps how to do it, I rather redirect you to some places where I also got knowledge about this. Just shortly, after you created your new Firefox profile you can make a shortcut for it, only what you have to do is to add few parameters in the target field. In my case it looked like the following line.

"C:\Program Files\Mozilla Firefox\firefox.exe" -P WebDev -no-remote

As you can suppose from the line above, my new profile name was “WebDev” before which is a parameter “-P” which means profile, so we call profile named “WebDev” and “-no-remote” parameter is which enables to run multiple profiles!

For further read I suggest to visit following links which explains in more details how goes the profile creation part and all together.

I think this is very handy, how about you?