I’m giving a presentation on Apache Pig at DataPhilly. For those who want to access the slides later, or those who were not able to make it in person, below is the presentation I’m using to keep my talk on track.
Posts Categorized: Web 2.0
AWS Signature v4 in Bash
The last step in signing the API request to AWS is calculating the signature using the secret key. Here is a subroutine to calculate it in a bash script. Make sure openssl is at least 1.0.0 function sign { kSecret=$(printf “AWS4$1” | xxd -p -c 256) kDate=$(printf “$2” | openssl dgst -binary -sha256 -mac HMAC… Read more »
Doctrine 2.0 Entity Serialization
Doctrine 2.0 documentation recommends against serializing entities. If you ignore the documentation, you will be faced with PHP notices, such as Notice: Unknown: “id” returned as member variable from __sleep() but does not exist in Unknown on line 0 as well as broken object relations on unserialized objects. But its very tempting to use the… Read more »
Bisna lib and Doctrine 2.1
Those of you using Bisna library to easily hook Doctrine 2 ORM into Zend Framework, may find that it is incompatible with Doctrine 2.1. The reason is the rewritten annotation reader in Doctrine 2.1, which Bisna doesn’t support. However, its easy to update it. In Bisna/Application/Container/DoctrineContainer.php, find the method startORMMetadata (should be the last method… Read more »
TYPO3 4.2 E-Commerce book review
I was recently asked to review a new book from Packt Publishing, TYPO3 4.2 E-Commerce, written by Inese Liberte and Edgars Karlsons. TYPO3 is an excellent content management system designed for all types of websites, but there is very little information about building e-commerce shops – until now that is. While my TYPO3 experience is… Read more »