-
Recent Posts
Categories
Subscribe via RSS
-
Join 31 other subscribers
Category Archives: Programming
Git: how to rewrite the branch history
Quick tip for those git users that, like me, make a lots of commits in their working branch and want to keep only the last one, before send the branch to production. Yes, the idea is to use this method … Continue reading
Posted in Programming, Tips
Tagged git, github, github rewrite history, history, rewrite, rewrite history
Leave a comment
Coding tips: accessing the data structure
I think it is really important keep the code more general and flexible as possible; one rule, that i would like to introduce here, is to use the right level of abstraction when accessing the data structure elements, trying to … Continue reading
Posted in Javascript, jQuery, Programming, Tips
Tagged abstraction, centralize, coding, common approach, data structure, delegate, good practice, javascript
Leave a comment
A “Class” function to define classes in Javascript with MooTools like syntax
Updated the 08/02/2013 I really enjoy to organize my Javascript code as objects and get profit by using inheritance. “Approaching Javascript as Javascript and not as Java”, i read that so many times; Javascript is / can be OOP and … Continue reading
Posted in Javascript, jQuery, My code, Programming
Tagged class, inheritance, javascript, jQuery, MooTools, OOP, pattern
7 Comments
A quick digression about the constructor property in Javascript
When i think about the constructor, i think about the function called when a class is instantiated. Well, that is true about Java but i would like to write about the constructor in Javascript. For me is a challenge write … Continue reading
jPaginator as paginator for the jQuery Datatable plugin
Recently, at work, i had to include the jPaginator as default paginator for the jQuery Datatable . The way to add a custom paginator to the Datatable is really clean: you can write your own paginator as stand alone module … Continue reading
Posted in Javascript, jQuery, My code, Programming
Tagged datatable, guide, jpaginator, jQuery, paginator, tutorial
Leave a comment
Multi select avoiding ctrl button, provided by pure select tag and jQuery
How many times we need to choose more than one item from a select tag? By default, it is possible to do that pressing the <ctrl> button. Holding down the ctrl button to select more values is considered not intuitive … Continue reading
Posted in Javascript, jQuery, My code, Programming
Tagged avoid, avoid ctrl, category, ctrl, javascript, jQuery, multi, multi selection, multiple, programming, select, selection, user interface
5 Comments