Category Archives: Uncategorized

Install Composer + Twig for Windows 8

I use Wamp server and I had a problem with installing Composer. I have found this solution: You should enable php_openssl in the Wamp menu. After this you could open the php.ini and set ON the allow_url_fopen. So. After this … Continue reading

Posted in Uncategorized | Tagged , , | 2 Comments

Qunit —-> testing Ajax functions

If you need to test Ajax request you should do in this way. First you ought to create a HTML file It will be the test datafile therefore it contain only simple JSON data.data/test_ajax_data.html {“data”:”refreshed”,”val”:”1″} Then you can write your test: var … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Client-side JavaScript unit testing with qunit

I think the client-side JavaScript unit testing is as important as server-side unit testing. There are lot of programmers whom don’t think the the client-side unit testing is important. I don’t understand the reason…because client-side software developing and server-side developing are the … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

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