Skip to main content

Should i buy a Macbook?

I tend to admire each apple product when it arrives, for their design and astethic sense. The ipad2 or macbook pro or the thinner macbook air - apple just seem to bring up one lovely product after another. The techie kid inside me wants to desperately own a macbook.

Every few days i have an itch to buy a macbook pro or a macbook air for my drupal/php development, I must add I started as a windows fan and used to scoff at apple afficionados, and felt apple owners are a bunch of kids bragging about their toys while apple goes to the bank laughing. Well not a lot has changed about how i feel about Apple as a marketing company.

For instance if you look at the current offerings for macbook pro, we have a core2duo, i5 & i7 processors. As far as core2duo goes, this is a 4 year old processor and at that it is selling at around £984 Core2Duo Macbook Pro on Amazon.co.uk whereas I had bought a core2duo based windows laptop approximately 3 years ago at £500 pounds looks like this macbook is overcharged.

i5 & i7 macbooks are available but cost much more than windows counter parts, atleast by over 300-400 pounds, for example the sony viao laptop with i5 is costing around £619 but a similar spec Apple Macbook Pro is available for £887.90 while the apple store sells it for £999 this is a good 300 pounds for a premium to own a apple.

The general consensus is Apple build quaility and stuff that goes into make the macbooks are different and better quality products, well maybe not quite. since apple started using intel processors these have changed and there is not a lot of diference in how both type of laptops are made. they use the same processor, memory, hdd, usb etc albeit the graphics may be a tad better but you can get windows laptops with similar graphics options and the would still be atleast 200 pounds cheaper.

The other argument is most of the stuff you require to work with is already included in a mac. Well again you will have to pay for ms office if you want for mac, outlook for mac, photoshop if you work with graphics etc. so may be the argument doesnt hold true yet.

It is not like 'I like a ferrari but cannot afford it' but i am still struggling with my logical mind should i make a plunge and buy an overpriced good looking laptop? my mind keeps telling me no for now.

I know this is just not a windows laptop wrapped in tin foil with a picture of a fruit on the lid. There is the OS X factor and other small tid bits that make working on a Apple macbook worthwhile but i am not yet ready to pay a premium of 300 pounds on that yet.

Comments

Popular posts from this blog

Create a drupal development environment using docker.

Currently at work i am using docker to streamline and speedup of development and deployment to testing and production, I am using symfony currently and our app is dockerised, i wanted to do the same for drupal based apps.

I searched for a official drupal docker repo and i did find this. https://www.drupal.org/node/2538074

Unfortunately there was very terse explanation but pretty much worked, i found a few hiccups along the way so wanted to share what i did.

Pre-requisite:
Install docker for your environment. Lots of details are available at https://docs.docker.com/ explaing docker and installing docker for your environment.

The docker repo holds the drupal container at https://hub.docker.com/_/drupal/, following the instructions this is how to create the drupal container:

In order to use my code base we need to mount the volume with the -v directive as below, we do this in one command:

docker run -v /$HOME/work/drupal8:/var/www/html -p 8080:80 --name mydrupal -d drupal

this will create…

Use feeds module to import XML data in Drupal 7

Recently i had to setup a xml import process to import data from an external supplier on a regular basis, the filename and format was not changing and i could choose where to store the file. Following is how i set it up.

First we need to download the following modules

feeds
feeds admin ui
feeds_xpathparser
ctools
job_scheduler

enable the above modules.

We will need a sample XML so this will be the one we will use for this demonstration:

<?xml version="1.0" encoding="utf-8" ?>
<!-- Sample for demonstration of processing XML feeds with feeds module -->
<Orders>
<Order>
<CustomerID>10</CustomerID>
<Order_Number>1</Order_Number>
<Order_Total>100</Order_Total>
<Currency>£</Currency>
</Order>
<Order>
<CustomerID>11</CustomerID>
<Order_Number>2</Order_Number>
<Order_Total>40</Order_Total>
<Currency>$</Currency>
</Order>
</Orders>


How do you expose your legacy database tables to views in drupal 6 Part 1

This is a 2 part post, that shows how I exposed a legacy table to views in drupal and used the incredible power of views to create many combinations static and conditional views. This was very helpful for my client.

I had a requirement that warranted exposing existing database table to views, so that views can contain data from this table.  To enable this to happen, the following steps need to be taken.
In a custom module you need to first define the views_api hook as following:
function candidate_views_api(){ $view = array(); $view = array('api' => 2, 'path' => drupal_get_path('module','candidate'). '/views'); return$view; }
candidate module was a custom module which I already had, so it made sense to add this hook here. 
The important bit here is telling the drupal sub-system where the views file will reside. 
Then create a file with your <modulename>.views.inc in my case it was candidate.views.inc, this file should have two hooks, one …