Loading Twitter feed...
Random stuff that I love to share
Posted on
15 April 2013
Categories
Tags

Snippet: how to remove SVN information from a Folder

If you are familiar with large application development, probably you have to create different branch of an application or just to refactor it for different clients. Every time the problem is the same: how to remove every SVN file?

I've found a simple shell script that can help us in this bored action: I've tested it on my personal MacOSX, but I think it could be used (I suggest to test it before to use it on a production environment!) on any Linux machine.
What? Did you ask for Windows? Nice try...

Read more...
Posted on
06 February 2013
Categories
Tags

Using Dropbox as a Git repository

For my projects I need to use Git to manage the versioning of the files. At work we have a personal repository so I don't have any problem, but what about personal projects? Where can I found a reliable and free repository?

Surfing the web I've searched for a free alternative for my personal projects: results was negative because free solutions have a lot of limitations.

But at the end I found a very interesting article reading the personal blog of a friend and colleague that explains how to use Dropbox, a wonderful service that I've used for many years, as a Git repository.
Steps aren't explained in detail so, since I tend to forget what I learn discovering the web, I've decided to write my own tutorial.

Read more...
Posted on
03 December 2012
Categories
Tags

FuelPHP: i18n, internationalization of a web application

Working with large web application means paying attention to many factors like security, scalability, performance. There's another one that is usually not considered or is underestimated: internationalization.

Internationalization, usually shortened to "I18N" (meaning "I - eighteen letters - N"), is the process of designing, programming and implementing products and services so they can be easily adapted to various languages and regions without engineering changes.

This approach involves a great deal of attention in the development of 3 main area of a web application:

  1. Translation
  2. Number formatting
  3. Date and time formatting

This tutorial will cover only the first point, that is the most difficult, but before starting it is necessary to understand how it can be performed: how can I know which language do the user wants?

Read more...
Posted on
21 November 2012
Categories
Tags

FuelPHP: Separation between Back-End and Front-End

Every time I have to start a new project there is only one fixed-point: I'll have a Back-End section and a Front-End section. So, how can I create a good application that can be easily improved and extended?

The first thing to understand is this: there isn't a single way to accomplish that.
A separation can be:

  • Logical separation
    This means that there isn't a physical separation between two sections and if your application will grown, you can have some problems to maintain it.
     
  • Physical separation
    This means that there is a physical separation between two sections: the problem is that if some functionality are used in BE and FE, you have to pay attention in the way you define and use them.

My favorite is the second one: usually I have to create web applications where the BE is very different from the FE (functionality, template and more), so why don't create a new section?

Read more...
Posted on
09 September 2012
Categories
Tags

Welcome

The first post of a new blog is a fantastic feeling, especially if it is your own creation: It is with great pride that I welcome you in this personal space.

I wish I could say that behind the creation of this blog there are innovative and original ideas, but the reality is a little different: everything is born from the desire to have a place to save my "digital notes", i.e. all those solutions that I am forced to use everyday at work but I can't remember.

Read more...

TAGS