Tag Archives: development
1234

Configuring Magento for development

Configuring Magento for development

New to the Magento or just used to doing things one way? Here are few tips for configuring Magento for development, in case you overlooked them. Please note, the more proper title of this article would be something like: Configuring Magento for development on local machine (after installation config). Meaning the tips outlined here only apply after the Magento is already installed. Read more

7

Creating simple Symfony2 service

Creating simple Symfony2 service

I am not talking about web services, but I am talking about symfony2 service container and the way of basic creating services inside Symfony2 project that are accessible from all other bundles via service container.

Why do I need to make some part of code like service inside Symfony2 anyway?

There is one possible problem: Read more

7

Creating your own web shop – Part 1: Where to start

Creating your own web shop – Part 1: Where to start

Creating your own web shop can be a tedious task, both technically and time consuming. Not to mention there are tens of quality PHP based web shop systems out there available for free. One of the best if you ask me is Magento, which exceeds the term web shop system by even bigger term “platform”. However, regardless of how some much a given system/platform is feature rich there are always those special clients with special requests which exceed the possibilities of even the mightiest eCommerce systems/platforms out there. Read more

4

Doctrine DBAL with Symfony2

Doctrine DBAL with Symfony2

I regularly use Doctrine ORM for database operations in my Symfony2 project, but there was one situation that I had to write database importer from SQLITE database into projects Mysql database. Importer should run only once and I didn’t want to make new entity classes for importer, but just make code to work while import is not finished. Read more

2

Symfony2 writing data-fixtures

Symfony2 writing data-fixtures

In last article about fixtures I wrote about manual setup for using data-fixtures with your Symfony2 project.
Now it’s time to write first data fixture. Read more

0

Symfony2 CLI

Symfony2 CLI

As someone of you know there is pretty good feature made in Symfony2 that is worth to mention: Console interface with commands that make our life easier to generate different sort of things in our Symfony2 application and execute many useful commands with Doctrine etc. Read more

4

TWIG with WordPress part1

TWIG with WordPress part1

Making TWIG autoload from WP plugin

Maybe someone will say: this is a crazy idea. Why would someone want to do that?
Maybe it really is crazy, but I would say: why not? Read more

0

Symfony2 – Internal server error 500

Symfony2 – Internal server error 500

Did you ever had problems with Internal server error 500 with symfony2? I did few days ago. When I open my web application in development mode (http://mysymfony2url/app_dev.php/something) It works OK, but when I tried to open it in ‘production’ mode I always got ‘Internal server error 500′ response, so I decided to look at error.log inside my localhost to see what is happening.
Here is what I saw there: Read more

1

Symfony2 Doctrine2 transactions

Symfony2 Doctrine2 transactions

Like everything else, using transactions in Symfony2 is easy task.
I had a case that I had to use transactions to make sure that everything or none is saved to database, because I didn’t wand anything to break at the half way and leave data unsaved. Read more

5

Symfony2 Forms – Entity field type

Symfony2 Forms – Entity field type

NOTE: Tested on Symfony2 Beta3. Might not work on later releases!

Symfony2 offers many prebuilt field types for using when creating forms. The one of them I found interesting is ‘EntityType’. There are just basic documentation about that.

I had one case recently that I had to use Entity field type for creating form, but except using it in simple way like documented I wanted to use it on little more advanced way. Read more

17
1234