I must've been converted to a Pastafarian along the way, but I must say, my code looks and is 'orrible.
I thought to convert my SQL abstraction (not the ORM part) from native functions to PDO, which is PHP's own data-access abstraction. I simply noticed that Models and that sql.php is way too intertwined. But I'm the first to admit that my code is a mess, but I'm partly blaming the differences between RDMBS:es.
Nevertheless, I'm starting to think that I've chomped into something too big to swallow. If I ever want to release a first official release, even if it would be a developer release, I need to dumb down the framework - cut out features - or I'll end up rewriting the code 'till my fingers bleed. So, yes, despair is on the rise. It feels like I'm treading water but just sinking deeper by each kick.
It would be SO neat to get a release on LightFrame. A working release, that, while maybe crude, would be a working framework with a rigid set of features. UMTV, ORM, all kinds of buzzwords. Heck, maybe even get PHP's name out of the mud (although I might, now, have something to say about this).
Maybe a good pause in coding (again) would do the trick. I could browse the code, see what could be done better (yes yes, my coding methodology bit me in the ass. Har. Har.) and just post tickets for a while.
Crap. I need to be up in a few hours. I need an off-switch...
Monday, April 28, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment