18th October 2010
in Coding
Html purifier is a Joomla plugin based on the HTML Purifier library.
I developed the plugin in late 2007 with Matteo Maria Baccano, another PHP programmer I was working with at that time and now I just updated the plugin after a long time.
continue reading "HTML Purifier Plugin for Joomla"
3rd October 2010
in Coding
If you use Django you will surely know that its url routing is quite strict regarding the prettiness of its URLS but there are still cases in we need to handle query string parameters, like when dealing with external services that return a URL like: callback?verification_code=088145235648fs689sa56h&userid=854 . What to do in this case?
continue reading "Django: How to Retrieve Query String Parameters"
1st October 2010
in Accessibility
Skip links, also known as "Skip Navigation Links", are a good way to improve the accessibility of a website, providing an important shortcut for keyboard users and screen readers to browse the website, without forcing them to tab (or worse read) through the whole page before getting to the content they're interested in.
Unfortunately, many designers forget to include this element in their design. Some of them do not want to use it for an aesthetic reason, some others simply ignore it. For both cases there is an easy way to fix this!
continue reading "Nice Skip Links Appearing on :focus with CSS"
30th September 2010
in Coding
The standard Django FileFields assume you want to upload a file in a subdirectory of MEDIA_ROOT, what if you want to upload the file in a private directory above the web root, not accessible via http?
How can you serve the files then?
continue reading "Django: Private File Upload and Serving"
24th September 2010
in Coding
Immagine that you need to add the possibility to upload a PDF or Zip file in the django admin, but you want to be sure your client will upload only these two filetypes and not other ones.
You might also need the same functionality in the frontend, so why not use "ModelForm" and have just one validation for both applications (admin and frontend)?
In this short post I'll share with you my simple solution.
continue reading "Django: FileField with ContentType and File Size Validation"
18th September 2010
in Coding
Every time I update my Ubuntu machine compiz stops working. I don't know very well the reason, also because I don't have so much time to investigate, I just know that by reinstalling the nvidia drivers the things get back working.
continue reading "How to reinstall Nvidia drivers on Ubuntu"
15th September 2010
in Photography
Es Vedrà is a giant rock island situated in the south-west part of Ibiza, a true natural spectacle that became one of the symbols of the beautiful white island.
Is very well known to be a place with a very strong magnetic field and for this reason it became subject of many legends and myths, like saints having revelations while meditating, UFO sighting just to name a few.
continue reading "50+ Stunning Photos of Es Vedrà, Ibiza"
25th July 2010
in Design
If you don't have experience with the print world you might find out that your business card you just printed might look quite different than what you saw in photoshop (or any other software you use). If you have been smart enough, the print you just got is just a proof and now you can make some corrections to your design and send it to print again for another proof.
Im this post I want to share with you some tips I just learnt from designing my card.
continue reading "10 Effective Business Card Design Tips"
9th June 2010
in Thoughts
The web-world evolves and grow esponentially every day, web-designers and web-developers have to stay up to date in order to be competitive in their field. But designers and developers are not the only professionals who work in the web industry and no I am not talking about SEOs, Social Media Experts or whatever new definition has just come out.
In this post I want to talk about lamers. Did you think about it? Lamers also got to stay up to date with the continous growing of the web! Infact they just joined twitter and if you also received a mail like this one below it means that...
continue reading "When Lamers get Social: Fake Twitter Mails"
6th June 2010
in Inspiration
This round-up is a best-of lists dedicated to the creative use of the water element and contains web-site designs, logos, photos, textures, photoshop brushes and tutorials.
Even if some of the lists share similar content I thought it's good to link them anyway since they contain information and comments viewed from a different point of view.
continue reading "Water Inspiration Round up"