Magento PHP developer’s guide

It really was a long time since my last review of books about Magento, in the meanwhile some of you may know that I’ve been to a Magento U class in Berlin and I’ve taken 3 of the 4 Magento certifications. I’ve been through some really busy months but now I should be back on track. Continue reading

P4A 4.0 update

Just a quick update on the development, please follow quicker on p4a’s facebook page:

  • products catalog is acting as a skeleton application from now on, so it’s been moved to a separate repository: https://github.com/fballiano/p4a-products-catalog
  • products catalog now has full composer support to install zend framework and autloading everything (check composer.json if you need to add things)
  • p4a’s repository has been stripped down removing applications/icons and some other thigs
  • at the moment i suggest you not to clone p4a’s repository cause i’m heavily moving things and refactoring so it’s really difficult for anyone to make an application run

we’re moving, we’re moving, expect more info soon!

Instant Magento performance optimization howto

I just finished reading the Instant Magento performance optimization howto¬†ebook by Packt and I’m about to write a quick review.

First of all this book is short (50 pages), quick and easy to read. Don’t misunderstand me, for me this is a big plus: Magento is a big universe and for me it’s better to have more specialized books instead of one big book covering everything (which is actually impossible).

Performance are also a big trouble for everyone who works with Magento so anyway this book is a little investment for a nice and complete (also if not very deep) reading (but also a practical manual) on Magento performance overview.

The book covers all the aspects of the optimizations, from CSS/Javascript compression to logging to compiling etc. It also covers some advanced topics like mysql configurations and clustering but here I would have liked to see more details (on mysql tuning we probably need more than just a my.cnf sample and on clustering we’d need to talk about percona, how to configure mysql clusters with practical configurations or link to video tutorials).

I’d rate this book 7.5/10, as an advanced developer I would have liked more advanced details but probably this should have gone beyond the scope of the book itself so at the end… it’s totally worth its money and most of all it’s a good read for all the kind of Magento workers, from designers to coders to system managers.

So you want PayPal Express Checkout on Magento 1.3?

And you get some weird errors…
open your app/code/core/Mage/Paypal/Model/Api/Nvp.php file and search for SOLUTIONTYPE, change its value to “mark”.

Edit your PayPal preferences from Magento backend and use this PayPal Url:
https://www.paypal.com/au/cgi-bin/webscr?cmd=_express-checkout&useraction=commit&token=

You should be done.
Good luck.