Monthly Archives: March 2013

Symfony2 quick tips: How to create “filter” in the controller?

Do you remember in the Symfony 1.x preExecute and postExecute methods? 🙂 Yes? They were  cool but the Symfony2 has another (and a lot nicer) event manager . It name is Event Dispatcher. The Event Dispatcher is flexible and well-designed component and easy to use. You … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Symfony2: The CRUD problem.

This blog post will be short and quick. 🙂 I was testing some Symfony2 CRUD and Admin bundles: Sonata Admin KunstmaanAdminListBundle CrudGeneratorBundle PUGXGeneratorBundle CrudGenBundle SnowcapAdminBundle AdmingeneratorGeneratorBundle The result of the tests? 🙂 Well, I don’t want to write negative things. So, … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

Symfony2 quick tips: How to generate bundle and how to create simple entity + CRUD?

Step 1. What is the Symfony bundle? “A bundle is nothing more than a directory that houses everything related to a specific feature, including PHP classes, configuration, and even stylesheets and Javascript files…” It’s just a quote from a Symfony2 … Continue reading

Posted in Uncategorized | Tagged , , | 1 Comment

cgSceneGraph (CGSG) JavaScript HTML5 Canvas framework

cgSceneGraph is a great JS HTML5 canvas framework. It is relatively new project and it is not so well-known like KineticJS but I think cgSceneGraph is impressive. The cgSceneGraph is fully objectum-oriented framework, it supports complex scenes, it is cross platform … Continue reading

Posted in Uncategorized | Tagged , , , | 2 Comments

Compound.js + Backbone.js + doT.js

I like the minimalist and clean solutions and I always look for something like this… hmm, for example doT.js. It is really cool JS template engine. It is quick and small, and user friendly. So, the Backbone.js is very popular framework. It … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Compound.js – file uploading

The file uploading process (upload, remove uploaded file etc.) is easy with Node.js and Compound.js. I used ejs template engine and Ubuntu Linux. 1. I added two new routing into the routes.js: map.get(‘upload_form’, ‘upload_controller#upload_form’); map.post(‘upload_file’, ‘upload_controller#upload_file’); 2. I added into … Continue reading

Posted in Uncategorized | Tagged , , , , | 2 Comments

Install Doctrine2 using Composer

Doctrine2 is one of the top PHP 5.2+ ORM, or rather, it is an Object Document Mapper (OrientDB), Database Abstraction Layer, Migration tool, Object Relational Mapper. I most frequently use Doctrine2 with Symfony2 but it’s possible to use it without Symfony2. I would like to … Continue reading

Posted in Uncategorized | 2 Comments