Recently I had to write an HTTP client to fetch some data from a remote website and parse it.

I ain’t a perl-fan, for this kind of problem I prefer PHP as development tool, so I was looking for some rock-solid PHP-framework that was:

  • object-oriented developed
  • able to manage an authentication (basic, digest, …)
  • capable to issue any HTTP method (GET, POST, DELETE, …)
  • (possibly) managed by composer
Read on →

I’m currently working on a Symfony2-based project which makes also use of the great JMSSecurityExtraBundle by Johannes Schmitt, in order to address method security authorization.

Everything work fine, but deploying in production, I ran into this problem:

1
2
3
% app/console cache:clear --env=prod
Clearing the cache for the prod environment with debug false
PHP Fatal error:  Cannot redeclare class EnhancedProxy_.... on line 64
Read on →

It’s very common for an application to import and export data to other programs, granting intercommunicability and flexibility. This kind of operation should be executed in background, so that your application UI remains reactive. Under Cocoa and, specifically, with CoreData there are a lot of available options to implement background operations, as much as a lot of literature and best practices about it.

Read on →

Since 2008 NSViewController are considered an incomplete implementation, most of all if compared to its counterpart NSWindowController (for example NSViewController doesn’t ensure that its view is added into the responder chain).

Some days ago, I encountered another issue about view controllers which completely drove me crazy; in my application I’ve a left sidebar and a right subview based on selection of the first one: each time the user makes a selection, a new subview is loaded by an equivalent NSViewController and presented to the user.

Read on →

ASExplorer is a tool useful to browse resources exposed by an application server, such as Weblogic or JBoss; especially useful if you’re enforcing security.

Main features:

  • built-in support for Weblogic and JBoss<
  • JNDI resources browsing
  • automatic discovering of SQL datasource
  • automatic loading of external libraries (JARs) to interact with AS
  • interaction with SQL datasources
  • easy to extend
Read on →

Continua la serie di progetti sviluppati a scopi didattici per l’Università di Urbino “Carlo Bo”.

Specifica del problema

Scrivere un programma multithread che consenta di valutare le performance, in termini di numero di page fault, di algoritmi di rimpiazzamento delle pagine per la gestione della memoria virtuale.

Il programma dovrà essere costituito da un’entità principale che operi come una Memory Management Unit (MMU), un numero arbitrario (n) di thread, ove ogni thread emuli un singolo processo (PROCESSO) e, infine, da un’entità che emuli un dispositivo di I/O (DISPOSITIVO I/O).

Read on →

Another post about a project developed for Urbino University: consider it as didactic purpose only.

Problem specifications

The aim of this project is to realize an e-commerce tool, along with its database, for the final client who wishes to buy some product.

The first need is classifying technology products, such as computers, monitors, accessories and so on. To make products browsing easier, it is advisable to split items into categories, so that customers will be able to find what they’re looking for faster and easier; for each product it is known the id, the name and its description, as far as its price together with its availability.

Read on →

Apple have recently released the beta version of new MobileMe Calendar: it’s cool, of course, but all calendars on your Mac won’t be local anymore, as they are replaced by CalDav ones. Unfortunately the Calendar Framework provided by Cocoa doesn’t fully support CalDav: then YABI tries to recreate the calendar, a new local calendar is created instead of a CalDav one.

I’ve already wrote the solution to this bug and soon I’ll release the new version which also includes a way to exclude person from sync.

Note!

I’m sorry to announce that YABI has been discontinued.

I’d like to thank you all for the support and the great opportunity you gave to enjoy Mac world.