How many times did get issues back with new bugs?. Do you think that is possible to avoid new bugs while you are coding or solving a bug related issue?. Probably is easy enough to consider that the application, depending on its architecture have several layers to observe. I do not mean layers at server side, but looking on a minimum layer overview, we have at least server side and client side, where both can be decomposed in data collecting and data processing, processed data display and presentation display, respectively.
web developer & system programmer
coder . cl
ramblings and rants on software development...
standard check-list for web developers
by Daniel Molina Wegener on 2012.01.07posted in: development, programming, tips
decorated template tags in django
by Daniel Molina Wegener on 2012.01.06posted in: development, programming, python, tips
Django provides an API to create custom template tags for those applications mounted over this nice Web Application Framework. Sometimes we need to decorate our functions, but you cannot decorate a function registered as tag in Django. The most elegant solution to solve this problem is to use a closure which will wrap the template tag function to be used decorated template tag.
page specific jquery
by Daniel Molina Wegener on 2012.01.04posted in: development, programming, tips
JQuery is cool, it is a well known JavaScript framework that allows you to create DHTML nicely using selector and method goodies. The problem with jQuery, seems that some developers are messing the code a little bit, so many of them are using inline JavaScript to handle some events. This is a very bad practice, so you should centralise all events in JavaScript files, rather than placing the inline <script/> tag. So, the first step is to create a separate JavaScript files to leave a clean and plain HTML files on the server. Then you can handle a page specific configuration and jQuery event handlers using a very simple and object oriented technique.
programming practice 1991-c, part 2
by Daniel Molina Wegener on 2012.01.01posted in: development, haskell, programming, tips
As you know I am learning Haskell and doing small exercises based on the ACM ICPC problem archive. I am using those problem sets as my Haskell practice. The task presented on the problem 1991-c is related to a small DSL which handles concurrency simulations, using two simple instruction called lock and unlock to switch between running and ready states. The DSL defined for this problem seems to be simple. I have used the Parsec Haskell package to build the language parser. Where on my last post about this problem I have created the program parser, and now I build the interpreter.
the market is killing the programming advocacy
by Daniel Molina Wegener on 2011.12.27posted in: development, programming, rants, tips
I see many programmers leaving their career as programmers to start a career as project managers. At certain age, they leave his work as programmers to start another stage on their career, but I think that most of them do not get bored of programming, I think that they just leave the programming career because the salary is not the same as project managers. So, along the time and reaching the higher point of a programmer salary, they decide to leave all programming activities. So, you have skilled programmers not doing good programming because their career seems to be truncated by the market driven salary.



