Dev Talk

Symfony2 DBAL QueryBuilder

© ba1969@sxc.hu

Sometimes, when we have some relatively complex queries to write, it’s so long and inflexible statement that it’s pretty hard to understand few days after we wrote it, or we have to add some dynamic parameters or conditions that writing plain DBAL statement could be real nightmare …

Read more

Symfony2 DBAL array parameters

© wimster@sxc.hu

Few days ago I had to use DBAL statement that will execute SQL IN(somearray) statement.

Considering that I used Doctrine DBAL in this part of code, I had to find the proper way of doing it.
I wrote some basic things about using Doctrine DBAL inside Symfony2 project, but I didn’t ever need this one before until now …

Read more

Using custom php.ini file with php CLI

© pk2000@sxc.hu

Considering that I have never been real Linux user before, there was few things that I had to learn to successfully handle my code on server through SSH.

One of these things is forcing php CLI to use my custom php.ini file on server.

Let me start this story from beginning …

Read more

Configuring Symfony2 to use APC cache

© mmagallan@sxc.hu

Symfony2 support several caching systems and one of them is APC cache.

This article is going to be short …. but, everything in Symfony2 is so developer friendly that do not require some huge knowledge to accomplish …

Read more

Symfony2 global variables in TWIG

© personalfx@sxc.hu

Except well documented TWIG functions like: path(),  asset(), … and custom variables you pass into view from controller when rendering some TWIG template, Symfony2 provides an easy way to access some ‘global’ variables inside TWIG templates without explicitly sending those to the view from controller.

Read more

Create simple mobile ready search page

Idea is to create one page which will be ready for mobile devices and serve like mobile app. We will use google ajax search API and jQuery to enhance experience. Also we will have script which will notice visitors how to add shorcut for iOs devices and use search like standalone app.

Read more

Symfony2 force HTTPS with .htaccess

© CDWaldi@sxc.hu

Lots of posts are written on forcing HTTPS on routes, but I didn’t find one that is suitable for my Symfony2 installation, so I tried to write combination that will work for my project.

Read more

Symfony2 REST – reading data from PUT request

© Yello-Dog@sxc.hu

I know that this is not so advanced theme to write about, but let me write few articles about little things that can bother developers and take time for searching and googling.

This article is mostly general php and not strictly Symfony2, but sometimes you will find this useful in your project.

Just to be clear: there is native Symfony 2 way to do that with using:

$request->get('key')

and I am going to explain other possibilities here…

Read more

Android Magento mobile boilerplate

Recently I realized that there are many questions regarding my “Develop your own Magento mobile application” article, and many new articles need to be written to answer them all properly and to guide you further through developing this kind of an application.

That is why I would like to present you an Android application, developed for the purpose of utilizing Magento’s XMLConnect and exploring possible modularity of the future application – mainly only a concept.

Read more

New Croatian version of our website

Yesterday we launched a new, redesigned version of our Croatian website – inchoo.hr. The new design follows the inchoo.net’s look and feel with a little twist in the header to improve the differentiation of the two websites. The difference is obvious in the color scheme and contour of our hometown Osijek that can be seen in the header.

Read more