Blog

Catch up on the latest news and updates.

Laravel 5.3 add multi-language functionality

by luigi laezza | 5th October 2020 | Web Development | Laravel, Locale, Middleware

During a recent project, we faced the issue of adding a multi-language functionality to our application.We store our Laravel applications on DigitalOcean, but this tutorial will work basically on any other hosting company.Using Laravel middlewares we found a quite easy and straightforward solution.In this tutorial, we will show you how to easily create your own.ADD AVAILABLE LOCALES IN THE CONFIGURATIONSIn order to allow only certain locales to work, simply add right below the locale key  in config/app.php the following array:'locales' => [ 'en' => 'English', 'it' => 'Italiano'],CREATE A CUSTOM MIDDLEWAREFirst, let’s create a custom middleware running the following command.php...

Co-working in Sanur, Indonesia

by luigi laezza | 5th October 2020 | Coworking | coworking, sanur, bali, sasia

CO-WORKING, WHAT IS IT?This is my first article about co-working, therefore I will do a small intro. I have been always a big fan of this concept and the people that gravitate around these places, but what co-working really means?Co-working is a way of working that involves a shared working environment, often an office. Unlike in a typical office environment, that co-working is usually not employed by the same organization.Typically it attracts professionals that work from home, independent contractors, freelancers, and people who travel often.Co-working is also the social gathering of a group of people who are still working independently,...

Magento form validation

by luigi laezza | 5th October 2020 | Uncategorised

VALIDATION CLASSESI often found myself looking on the net for the right classes to validate forms using the Prototype library that comes with Magento and finally decided to write a small post about validations.Using these validations is as easy as using the following classes to the form fields in your forms.'validate-no-html-tags' => 'HTML tags are not allowed''validate-select' => 'Please select an option.''required-entry' => 'This is a required field.''validate-number' => 'Please enter a valid number in this field.''validate-number-range' => 'The value is not within the specified range.''validate-digits' => 'Please use numbers only in this field. Please avoid spaces or other characters...

Sonic PI, Start Coding Music!

by luigi laezza | 5th October 2020 | Software | raspberry pi, music, development, software

Sam Aaron and the Sonic Pi Core Team created at the University of Cambridge Computer Laboratory Sonic Pi a free software that will allow you to code music. Ah did I forget to mention that is free?Composing music has never been so geeky, download Sonic Pi,  and you are ready to unleash your creativity.Starting it’s easy and the key to coding with Sonic Pi is understanding and mastering the live_loopThe key to living to code with Sonic Pi is mastering the live_loop.Here an example:loop :bells do sample :perc_bell sleep 0.5 end There are four core concepts to a live_loop.The first...

SoipoServices just opened a new coderdojo codename terra delle sirene

by luigi laezza | 5th October 2020 | Events

CoderDojo is a global movement of free, volunteer-led, community-based programming clubs for young people.SoipoServices in partnership with the Comune of Piano has started the CoderDojo Terra Delle Sirene, where young people,  learn how to code, develop websites, apps, programs, games and explore technology in an informal and creative environment. In addition to learning to code attendees meet like-minded people and are exposed to the possibilities of technology.Within the CoderDojo Movement, there is a focus on community, peer learning, youth mentoring, and self-led learning,  with an emphasis on showing how coding is a force for change in the world.During our first...

Watch googles I/O keynote live

by luigi laezza | 5th October 2020 | Uncategorised | google, streaming

Today is the big day for Google, the annual I/O developer conference is about to start. The conference starts at 7 p.m. Central European Time and you can watch the live stream directly down below. Looking forward to checking what Google is work on.

Sulu CMF

by luigi laezza | 5th October 2020 | Web Development | Symfony, CMF

Today I would like to talk about SULU CMF, which is at version 2.o.Sulu is a  is a fantastic project based on Symfony 2 full stack and other open-source application like PHPCR, Doctrine, Backbone.js, and Require.js.It is meant to help developers create multi-platform, multi-language, and multi-channel sites giving some boilerplate functionalities.Ah did I mention that it works great and it looks sleek ?! Check the gallery below and don’t forget to download the project to give it a try.INSTALLATIONTo begin with, you will need the code, which can be cloned from the sulu-standard repository on GitHub.$ git clone https://github.com/sulu-io/sulu-standard.gitAfter the...

Laravel Spark

by luigi laezza | 5th October 2020 | Web Development | Scaffolding, Subscription, Laravel

I am more of a Symfony developer, but I have to admit that this project is pretty cool.Spark is a Laravel package that provides scaffolding for subscription billing, invoices, user management, etc.It is a great starting point for most of the projects out there.Spark has two plans $99 per Site or $299 for unlimited sites and extensive documentationI have looked at some demos and videos and it seems to be a very promising project, the next step is obvious, give it a try.Stay tuned for a step to step guide. Meanwhile, check the spark project site for more info.

Translation for J2T rewards points csv file for magento

by luigi laezza | 5th October 2020 | Magento | E-Commerce, Magento, j2t, reward

TRANSLATION FOR J2T REWARD POINTS CSV FILE FOR MAGENTO.J2T Reward Points + Referral program VA is an excellent extension for Magento that overcomes the limitation of Magento on this matter.The plugin works like a charm, on 1.7.0 till 1.8.1.0, and I have been using it on countless projects. It is not a free extension but 47$ is well worth this application.I have created a translation file for the Italian locale, and I will add more as I will progress with it.To install simply upload the file in the related folder, eg. : app/locale/it_It/rewardpoints.csv for the Italian one.it_ITThanks, Dario for the...