Boundaries in code
Posted by mkhairul - June 26, 2007 at 09:06:10 pm -Categories: blog
Ah, first comment in years. I’m glad I got criticised about my code. Opened up my eyes (barely, it’s hard to open with pseudomembrane in it) to it and put some thought into it.
Time after time, hacking away at the source code, I got disillusioned and went off on my search for the almost perfect way to build stuff. I tried using rapyd, didn’t work. Too much constraint or I’m too lazy to customise it. Either way, I build and build until I’ve blurred the boundaries between view and controller (application logic) in my code. I kept putting HTMLs in controller and by the time I realised it, the file is bloated beyond belief.
"The CSS were horrendous", said my boss. "Yeah". I keep building stuff and hack away to find compatibility and consistency between browsers, and that is the result, HORRENDOUS CSS (or maybe its because I didn’t take some time out and take an overview on stuffs). It’s hard, with all of the adjust it now, here and there. Ah, so much stuff to do (and yet I’m blogging).
There’s one time, on a very small project (memo system). The dude keep pushing me to finish it, my eyes can barely open (I was sick at that time), and errors keep popping out after it is finished. Script tags without php (<?) in it raises errors all over the place on easyphp, oddly enough xampp doesn’t raise any errors (maybe it’s a bit forgiving, by setting the error level a bit low).
Note to self: When engulfed, take a step back and take a look at it, an overview of things and Unwind the spaghetti!
No Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress with GimpStyle Theme design by Horacio Bella.
Entries and comments feeds.
Valid XHTML and CSS.

