Developers

Create API for existing PHP project using Apigility

In the previous article we showed how to create a new RESTful API service using Apigility, now we want to interact with an existing PHP application to publish an API. The goal is to interact with the business logic ...

read more by Enrico Zimuel in Developers

Iteration between ngModel, $scope and direvtives

Imagine you need to include in a project AngularJs, the Bootstrap Datepicker: first of all you need to create your boilerplate with relevant restrictions and configurations. ##code-javascript## Then on top of the input ...

read more by Gianluca Arbezzano in Developers

AngularJS and Basic Auth

One of the simplest and most diffused tools to authenticate operations between clients (e. g. a browser) and servers (e

read more by Gabriele Mittica in Developers

Symfony and AngularJs manage routes

The main risk for an application using both symfony and angularjs is the duplication of    information.   Both frameworks have their own methods to handle routing

read more by Alessandro Nuzzo in Developers

How to set headers in Angular $http

When inquiring a remote endpoint, from a javascript application, you are usually performing an http call (GET, POST. .

read more by Gabriele Mittica in Developers

Symfony and AngularJs twig integration

Symfony and angularjs are two frameworks widely used on the web, also together. Today we'll discuss how to solve problems when they are used together, ie when angularjs is  used inside of the templating engine ...

read more by Alessandro Nuzzo in Developers

Using spies in your tests with PHPUnit

When developing a complex system, you often need to be sure that a given dependency is checked by the encapsulating entity, in a precise manner. For example, the wrapper of a HTTP Client needs to check that, at invocation ...

read more by Walter Dal Mut in Developers

Test API with ZendTest

Zend Framework 2 is one of the more famous MVC and modular PHP frameworks. One of the components provided by this tool, is ZendTest, a set of tools useful to test the applications designed with this framework

read more by Gianluca Arbezzano in Developers

Writing a custom filter with AngularJs

AngularJS filters are simple javascript functions registered via a filter factory function. The factory returns a function taking as first parameter the filter input and any other parameter possibly passed is used as fur...

read more by Antonello Pasella in Developers

Package.json hooks and scripts

Every javascript project worthy of mention, contains a file for managing dependencies, allowing it to be quickly integrated inside other applications via NPM, Node Package Manager, the dependency manager of node

read more by Gianluca Arbezzano in Developers

cloudparty

Follow Us