Update your Magento SQLite3 database with Vala

  Let’s update our magento SQLite3 database Remember when we were trying to help Magento’s autoload with a SQLite3 database? I mentioned that I was going to show you how to use Vala to help read and write to that database and offload the operation to the system instead of PHP. Make sure that you have the dependencies to compile the code, in Ubuntu: sudo apt-get install libsqlite Here is the code: using GLib; using...

Read More
Use SQLite3 with Magento
Sep02

Use SQLite3 with Magento

  Why would you want to use SQLite3 with Magento? Just for fun… well actually there is a good reason. The reason is that Magento spends a lot of time in the autoload finding files. Do this in your terminal: strace -c php index.php That should have given you a lot of information, here is an excerpt of mine: % time seconds usecs/call calls errors syscall ------ ----------- ----------- --------- --------- ----------------...

Read More
Magento Developers Toolbox – Magento PHP Console
Aug22

Magento Developers Toolbox – Magento PHP Console

  Let’s add another wrench to our magneto developer toolbox console php How many hours a week does the average Magento developer spend editing a test file, refreshing the page, and editing the code again to fix one more thing? I am always trying to find new tips and trick to speed up Magento development whether using MageTool or code wrappers/snippets in PHPStorm. Even those tools have their limits. XDebug can really help...

Read More

Trustworthy Bash to the rescue

Linux’s Bash is trustworthy and awesome!!! Today was a very strange day as I was trying to clear/refresh varnish’s cache. PHP’s cUrl was not working as fast as I wanted if it bothered to work at all. JMeter wasn’t working, siege was not working and netbeans was not working (this had nothing to do with anything but couldn’t help but mention it). So in the middle of so much unworkingness I decided to turn...

Read More
Magento developer toolbox
Aug19

Magento developer toolbox

  Why do you need to create your own Magento developer toolbox? Essentially, if you work from a standard toolbox and use best practices you can, to a certain degree, expect a persistent level of quality out of each application that you develop. For instance, if you know what the php code smells are, you can ensure better code quality. But  what if the problem is not just the code, but how the application is set up?...

Read More