// Define a destination
$destination = new Address([
'number' => 313,
'zipcode' => '1016EE',
'country' => 'NL'
]);
// Item to ship
$item = new Item([
'title' => 'iPhone 5S 16GB Champagne',
'description' => 'Full featured smartphone in gold',
'sku' => 'ABC12345',
'quantity' => 1,
'weight' => 112, // gram
'width' => 58.6, // mm
'height' => 123.8,
'depth' => 7.6,
'price' => new Price([
'priceIncl' => 725,
'priceExcl' => 599,
'priceTax' => 126,
])
]);
// Create the package
$package = new Package();
// Add the item to the package
$package->addItem($item);
// Initialise a shipment
$shipment = Shipment::create($package)->to($destination);
// Find the carrier with the lowest rates
$carrier = $shipment->getCarrierWithLowestRates();
// And send it off
$shipment->send($carrier);
I love solving problems using simple logic and a gentle touch of technical skills.
Simplify and automate. Take the time to actually think about what your doing, and do it better.
Designing cloud architectures is one of my greater interests. It's just plain awesome.
Lets take a detailed look into the Service Oriented Architecture (SOA) to see if it can be applied to Awesome Industries (a generic SaaS company) and what the advantages are.
Read more.A while ago Apple announced the iPhone 6 and the world was watching or.. so they tried. The livestream provided by Apple was working poorly due to technical difficulties.
Read more.You have been building your architecture to be fast, redundant and cost-effective. It has helped you grow and scale your startup. You can deploy new patches with the push of a button and opened SSH so you can change things when needed. But where is the security, bro?
Read more.Bij het (door)ontwikkelen van een systeem is het belangrijk om een gestructureerd testproces te hanteren. Een voorbeeld hiervan is TMap.
Read more.You have an awesome application and everything is running very smoothly. You get more users by the hour and your sitting in the sun enjoying the great times. But suddenly you get a call from a friend saying your application is offline?!
Read more.While architecting your system, you could take a few example scenario’s and see how your architecture is protected against them. Every component needs to be automatically replaceable.
Read more.What exactly is Cloud Computing and what are the advantages in comparison to traditional datacenter hosting. Is the term “Cloud” a non-sense term or does it really represent a new revolution?
Read more.