skip to Main Content
+971 55 881 1725 hmimthiaz @ imthi.com

ORM Designer 2 – Why do you need it?

For sometime now I have been busy working with Symfony 2. The more I work with this framework the more I am falling in love with it. There are so many features for which I love Symfony. One such is tight integration with Doctrine ORM.

Symfony comes with set of command line tools which helps you with your ORM entites creation. But it was not visual and is a one shot creation tool and if you need to update or make any changes it was not possible, you need to edit these files definations manually. I was in hunt for a good tool which will make my life easier for managing my entities and its relations. So I was Googling and I found this great tool ORM Designer.

logo_header

This tool has an amazing intergration with Symfony. You can import the existing entities into the designer and make any changes to the one and export the same back to the project. It supports YAML, XML and best part of all Annotation.

Why do you need it?

  • To be honest it saves a lot of time editing your entities and easily exporting it
  • You get clear view of what you are dealing with and how your relationships are mapped
  • You don’t have to remember all the annotation and it’s constraints
  • Avoid relationships mistakes which I do all the time
  • Error free definitions

Pros

  • Easy import of existing Symfony projects
  • Visualisation of Entities and their relationships
  • Organising Entities by Bundles
  • Easy export of modifications back to your Symfony2 project

Cons

  • Editors needs more shortcuts and easy to copy paste fields across entities
  • Drag and Drop Features
  • Should remember the imported source file, and facility to update modification from the source file
  • They should be seriously thinking of a different pricing model. USD 400 is lot of money !! Make it cheaper so that It can reach more developers.

Why do you start using ORM Designer today as they offer 14 days fully functional trial version. Share your feedback how it goes 😉

Dropbox Vs Google Drive – Why Dropbox is better !!

If you are planning for a online storage which simply works and if you really wish to have peace of mind, Go for Dropbox.

For a very long time I have been a loyal free user for Dropbox. I used it very extensively between work and home to sync my currently working project related files. I currently have around 4 GB space in Dropbox and It was not enough to backup my large photo collection around 30 GB.

Yesterday I started the hunt for online drive with 100 GB space

  1. Google Drive – $4.99 / month
  2. Dropbox – $9.99 / month
  3. Amazon S3 direct upload – $12.50 / month
  4. SugarSync – $14.99 / month

Out of these options I strongly believed option 3 & 4 as not an option, since it is way too expensive. The sync tool provided by these are way too slow and not fast enough.

I took for granted that Google Drive as an ideal choice for the following reason,

  • It is the cheapest of all the available storage options
  • Done by super cool team so it must be really optimized (This is where I took Google for granted :-()

I bought the package, and I installed the Google Drive on my home mac, my frustration started.

  • It crashes often, it is not able to handle large collection of files, in my case I had around 28,000 images to be uploaded.
  • Everytime it crashes, the sync goes nuts, It totally screws up and cannot sync a damm file and says completed sync locally but only 100 files were uploaded
  • It does not allow you to select the folder which has files, it cannot cross compare and sync files

Verdict: Google these days are very much passionate about copying technologies which are very successful. They clearly prooving that they cannot handle any other product better other than their search. Even their current search is getting screwed up in the name of Social Media and personalization. It was a big mistake choosing Google drive over Dropbox.

If you are planning for a online storage which simply works and if you really wish to have peace of mind, Go for Dropbox.

VirtualBox web interface with phpVirtualBox

This weekend I had some time to spend with VirtualBox. VirtualBox is a cross-platform virtualization application. This helps you to run various operating system as virtual machine. This is the concept that is adapted by most of the companies which offer us cloud computing. Recently I came to know that VirtualBox has built in Web service with which we can control the virtual instances remotely. My immediate reaction was to search for some open source solution which uses web service of VirtualBox. phpVirtualBox came to rescue. It has full fledged features which can be use used to control VirtualBox installed in a server.

phpVirtualBox – An open source, AJAX implementation of the VirtualBox user interface written in PHP. As a modern web interface, it allows you to access and control remote VirtualBox instances. Much of its verbage and some of its code is based on the (inactive) vboxweb project. phpVirtualBox was created for people (like me) who prefer not to have to log in to their headless VirtualBox host to administer their virtual machines.



To make it work in Mac I had to install the latest beta version of phpVirtualBox (4.1-1b) for VirtualBox (4.1.2). The current stable version had some issues with authentication. However, phpVirtualBox has wiki which helps to install and configure the web application. If you encounter any issues please refer to common errors in phpVirtualBox wiki.

Happy journey with virtualization 🙂

Restore to iPhone OS 3.1.3 Firmware from iPhone OS 4.0 Beta1

I know so many people with lot of excitement upgraded their iPhone to OS 4.0 Beta1. After few minutes of discovering the new features you will realize most of your old application are crashing and not running as it is supposed to work. Many of my favorite applications did the same and I got really annoyed. I cannot really blame Apple for OS 4.0 as it is still in beta.

I decided to restore my iPhone to previous 3.1.3 firmware and I kept getting this annoying error 1015. After searching almost a day I found this method which helped me to get back to 3.1.3 firmware. I hope this will help you all

Pre-requisites

Step #1 Download and install the library “libusb”.

Step #2 Download and copy the application “iRecovery” to the desktop

Step #2 Open iTunes, click the ALT key + Restore and manually load the original 3.1.3 firmware.

Step #3 During the restore process, you’ll notice a pop up with error 1015, neglect it.

Step #4 Click Ok to close the pop-ups and close iTunes.

Step #5 Now open the terminal and type the following commands:

cd Desktop
. /iRecovery -s
setenv auto-boot true
saveenv
fsboot
exit

Step #6 Wait a few seconds and disconnect the iPhone from the cable, then reboot the phone by clicking Home + Power buttons simultaneously.

Step #7 Once you connect the phone via USB and proceed normally, the Apple logo appears on the display.

My sincere thanks to Chris Martin for translating this original article.

Back To Top