In this interview, we would like to introduce you to Darko Goles, our Magento Certified Developer and first book author at Inchoo. He recently completed writing of “Magento Mobile How-to” book – a practical, easy to follow, complete guide for unleashing the power of Magento Mobile. In the interview Darko speaks about his work on Symfony, switch to Magento and motives to dive into writing.Read more
WARNING: this is a fully linux-based tutorial. I’m pretty sure that this is possible on Micro$oft Windows and OS/X, but unfortunately I’m not using them, neither I know a good DNS server for them and the impact on XAMPP and MAMP.
As you probably already know, one of the main problems when you’re doing multiple projects is to organize them properly, first for fast local testing of changes, second for your own sake, to not get lost on your own computer.
One more problem are the testing local domains. Well, the easiest way when you create a project is to create a new project folder, put a new domain (and every subdomain you’ll use) into your /etc/hosts file, create a new virtual host in the apache config, run a2ensite #### (or however you enable a new site on your distribution), restart the webserver… Which means, you need to do that everytime when you’re creating a new project. Not a very convenient way if you ask me, as you’re bloating your /etc/hosts file and your Apache2 virtualHost file(s).
So, one day, I was thinking about that and looking for a solution for it. I’m sure there are a bunch of ways to get rid of this problem, and this solution which I’ll show you is how I managed to do it.Read more
This post is intended for all Magento developers who use PhpStorm as their IDE. It’s about Magicento – free PhpStorm plugin for Magento developers.Read more
It is well known that iPhone has nice set of native controls for UI elements. Basically, when my colleagues worked on Magentic iPhone application I wanted to make one for Android too. But on Android platform, I don’t have same type user interface controls, so I decided to explore power of Android native options in order to create my custom UI.
Of course that we can use these steps to make any custom UI element for Android application.
Magento meets jQuery mobile (ver 1.1.0), before we start please note this is only experiment, use this theme on your own, this is not (yet) production ready. In a nutshell we have “package” under which we place all edited files. For start we use magento iphone theme and then add some “extra stuff”.Read more
When trying to access Magento SOAP web services v2 from Android, after some searching on web, I found that ksoap2-android project could be useful to implement SOAP client in android project. (Ksoap2-android is lightweight and efficient SOAP client library for android platform).
Next step was to figure-out how to use it.
After some additional investigation, I found that it is pretty simple to use, when you get used to it once.
Core Plot is a plotting framework for iOS and OS X. You can download the latest zip file from here. I’m using CorePlot_1.0. After unzipping it go to CorePlot_1.0/Binaries/iOS, there you can find CorePlotHeaders folder and libCorePlot-CocoaTouch.a, add them to your project. Add QuartzCore.framework, go to Build Settings and add -ObjC -all_load to Other Linker Flags.Read more
Have you ever been in a situation where you needed to extend class with additional property but for some organizational reason you didn’t want to change default source class file? For example, when you add Xcode sub-project which you want to keep untouched and up-to date with it’s version control, but still you want to make certain default implementation changes in sub-project.Read more
In past few years I’ve been working on variety of different applications but never on one that includes consuming web services such as SOAP. That’s mostly because SOAP is considered outdated comparing to REST today – totally wrong assumption (comparing apples and oranges).Read more
If there is one thing I hate in PHP world then that’s PEAR. With full respect to it, but it simply does not work for me. I usually jump around from Linux, Windows, OSX on a monthly basis and honestly I have never had it work out of the box. There where always some installation issues with PEAR itself then with the packages. Experience I’m describing here is completely subjective so please do not look at it as me trashing the PEAR. If it works for you, then great. If not, then here is s little HowTo on installing the PHPUnit manually without PEAR.Read more
This time, I played a little with Threads and I tried to implement somekind of simple-test separate thread and start it inside main activity and also return results from separate Thread so it can be used to update UI for example.Read more
Let’s play a little with BroadcastReceiver: we will try to send a message from Android service we made to Activity and log that message.
Let’s use our Android service tutorial project from one of my earlier articles.
First of all we need to define private variable in our Activity:Read more
Sometimes we need to define global variables accesible from inside our android application to hold some shared values.
Simplest way to implement this is to subclass Android.app.Application class and define static variables that will hold our data.
When you look at my posts on this blog, you will, besides few posts about WordPress and Zend find most articles about Symfony2 development.
Well, now things are about to change slightly.
When developing web services for mobile devices to handle user log-in, I had to make it persistent somehow, so the user should not log-in each time when starts mobile application, but I rather wanted log in to be permanent somehow while user does not log-out manually.Read more