AngularJs crAcl component focus on directive and test

What we are going to do in the next lines is sharing a small section of crAcl componet: the crGranted directive. First at all, what can we use this for? Well, I usually use this directive to compile or not section of pag...

read more by Gianluca Arbezzano in Developers

Meter objects, Php Design Pattern

Long running operations are not necessarily a bad thing, for example to slowly import or export data on the boundary between two systems without causing a huge load on one of them

read more by Giorgio Sironi in Developers

AngularJs test directive with Karma and Jasmine

Any AngularJs application, needed to create re-using procedures for DOM manipulation, implements dedicated directives: they are code parts capable to execute actions inside a page, once called via classes, new attributes, ...

read more by Gianluca Arbezzano in Developers

Git history merge with Subtree

While developing an application, it may be the case that, what in the beginning seemed an external module, perfect to be used independently on the application being developed, may become part of the business logic and can ...

read more by Gianluca Arbezzano in Developers

Write your first PHP Class in C

To write a PHP Class in C you need to deal with the zend_class_entry, a data structure that will contain your object methods, properties and so on. To declare a class you have to declare it in your file and registe...

read more by Lorenzo Fontana in Developers

Bisecting your code with Git in order to identifies regressions with PHPUnit

It is often the case when an application shows a Bug, not present in previous revisions, involving a function not really new but quite used. So it may be useful to own the code revision history to search the exact moment, ...

read more by Walter Dal Mut in Developers

File minification in AngularJS

Minification is a very important tool to reduce transmission time of code pieces. There is a wrong and diffused use not to apply code minification and to concatenate code, obliging clients to download all JavaScript depend...

read more by Antonello Pasella in Developers

Creation of a unit test for an AngularJS filter

With reference to the filter created in a previous article, now we want to create a test. The test can be used both to check the proper filter working and as a function specification document

read more by Antonello Pasella in Developers

Esxplose your translation to javascript client

This article discusses how to expose the translation system of symfony, so that it is made  available to your javacript scripts.   For translation handling purposes in symfony, we suggest to install JMSTranslat...

read more by Alessandro Nuzzo in Developers

Symfony Accesss Control made easy by route tagging ad voters

Symfony 2 ships with a powerful Security Component that can be used to manage user authorization and authentication, handling all the common facilities from the user login to the access control

read more by Giorgio Cefaro in Developers


Follow Us