237 reputation
211
bio website time.ly
location Milan, Italy
age 38
visits member for 3 years, 6 months
seen 21 hours ago

I'm the #44 user on the site to get a gold badge in jQuery! :)

My profile on linkedin and on stackoverflow Careers and a link to my radio show to twitter and to my new blog

I started programming when i was 16 because i loved Computers. I started studying C++ all by myself and found my first jobs (mainly C++ and Access works).

I studied medicine (took 48 exams out of 52) but that wasn't my dream job. My first job as a full time programmer was for the Politecnico (the most important engeineering University in Italy), where i worked with software and industrial engeineers that taught me everything about the software lifecycle and agile methodologies like Scrum, so even if i didn't study computer science i've got a good background on software engeineering.

After two years and a half of full-time development with PHP/jQuery, i did Java/Oracle for six months to strengthen up my OOP skills. I'm back to PHP/jQuery right now.

I worked 14 years in the night life of Milan, managing clubs and bars while djing a lot, both for clubs and radio stations. I also did a lot of freelance LAMP developement during those times.

Right now, i'm a technology freak who really loves coding. I'm really passionate about what i do.

I used SCRUM in all of my projects and also did a little Project Management

I'd love to work on new tecnologies (node.js for example, or Android), but it's something that's very difficult to do here in italy


Jul
22
comment I need to generate the CSS for my plugin from a function, how do i map a request to a function in the front-end?
@Otto maybe it's because i didn't explain fully my problem :). I generate my CSS with less, and i'm giving to the end user the possibility to change the value of some variables. After the variables are changed, i recompile the Css and store it somewhere ( APC if present, file-system or db ) and so i must generate the CSS in the way i wrote in my question. So it's 4.000 lines of CSS. Do you have a better way to do this?
Jul
20
accepted I need to generate the CSS for my plugin from a function, how do i map a request to a function in the front-end?
Jul
20
comment I need to generate the CSS for my plugin from a function, how do i map a request to a function in the front-end?
@Otto i totally agrre with the answer provided here, the solution is to get caching right, not putting 4.000 CSS lines inline. And this would be true even with 500 lines of CSS.
Jul
20
revised I need to generate the CSS for my plugin from a function, how do i map a request to a function in the front-end?
added 9 characters in body
Jul
20
comment I need to generate the CSS for my plugin from a function, how do i map a request to a function in the front-end?
@Otto but in this way i couldn't cache the CSS, right?
Jul
19
comment I need to generate the CSS for my plugin from a function, how do i map a request to a function in the front-end?
Actually i'm working on a plugin so i would have to make some checks to see if etags are on or off. Do you think that there is no performance gain in pointing to a single file?So that i do not have to bootstrap Wordpress just to grab the CSS?
Jul
19
asked I need to generate the CSS for my plugin from a function, how do i map a request to a function in the front-end?
Jul
17
comment Using wp-cron in backpress - problems with wp_remote_post, fsockopen error
HAve you fixed this?I have the same problem and i need this to work both with cUrl and streams, because it's possible that people doesn't have cUrl installed
Jun
29
comment Has anyone used require.js for handling plugin scripts?
I found some resources, there are some options available, it depends on how you are structuring your app, take a look here requirejs.org/docs/faq-advanced.html#rename
Jun
29
comment Has anyone used require.js for handling plugin scripts?
Just to know, how do you handle the possibility that another plugin might use requirejs?
Jun
22
awarded  Commentator
Jun
22
comment Has anyone used require.js for handling plugin scripts?
I'me almost done with the refactoring and i'm quite happy about it. I managed to load jQuery and do not touch wordpress version, in this way my plugin use my version of jQuery and it's totally indipendent from the wordpress version it's running on.
Jun
6
comment How to add defer=“defer” tag in plugin javascripts?
This is perfect also to use with data-main in requirejs
Jun
5
comment Has anyone used require.js for handling plugin scripts?
@goldenapples requirejs should handle multiple version of jQuery with a few lines of code leaving the orginal jQuery intact. After that there should be nothing to worry about as everything i loaded into anonymous function and i'm loading everything i need, and of course i would rely on wordpress api only to load the main.js file. But i was asking if anyone else did it because maybe this is a terrible idea
Jun
5
asked Has anyone used require.js for handling plugin scripts?
May
30
answered Edit the Publish Widget Options
May
22
answered How to set-up multiple cron task with wp_schedule_event so that they do not overlap?
May
22
asked How to set-up multiple cron task with wp_schedule_event so that they do not overlap?
May
8
comment How do i specify a url to which to redirect the user after he logs out from facebook?
@Joseph i edited my answer
May
8
revised How do i specify a url to which to redirect the user after he logs out from facebook?
added 577 characters in body