LocalStorage with Store.js
Apr13

LocalStorage with Store.js

To use or not to use LocalStorage with Store.js You may remember that not so long ago we tried using local storage to improve magento’s speed and while this approach is particulary useful, it inherits some of the same problems you would encounter when using LocalStorage for everything else that is: how do I store something other than strings? As you may recall: storage.setItem("user_data", {name:"Luis Tineo",...

Read More

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

Install Apache Thrift and Cassandra in Ubuntu

How to install apache thrift and cassandra in ubuntu What is thrift? The Apache Thrift software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml and Delphi and other languages. To install Thrift in Ubuntu...

Read More
Setting up my own cloud service
Aug04

Setting up my own cloud service

Setting up my own cloud service has become my current hobby I own a Motorola Razr and together with motocast is simply awesome because it syncs all of my files directly to my pc. I can stream music from my computer, pictures, videos and modify files, you know all that beauty. I love motocast so much that I even have a computer with Windows installed on it (granted there are other reasons for it but that is almost a sin for a Linux guy...

Read More