I just realized I am over organized.
Posted: Fri Nov 26, 2004 10:33 am
I just realized I am over organized.
I almost have more folders than files in my picture archive. I do so because I like things easy to find. But hey... If I just turn my head away from the screen it seems the opposite. Hmmm.
I have been OOPing in PHP for a year now and have come up with a very nice but complex framework that lets the XHTML templates decide what the system should do. It can take a static (XHTML) site and start automating it without any PHP coding, just by some template commands within the XHTML. Nice! It IS nice! It allows me to let any moron do the automation without getting to control the server completely. But it has taken very long to accomplish this... I think it is like four months or something... and the only thing I can do this far on the running web site is to browse some news. I can't even log in yet! I must be either incompetent, a genius, an idiot or a sad case... or all of it... And my boss is WAY too patient! It's like he never cared about result.
The latest dumb thing I have so nicely organized is to split parts of the same system into several CVS modules, since different modules and themes are for different customers/applications - yet everything depends on the same nice framework. Listen now: I did it because I might forget NOT to install a certain module/theme on a site... How likely is that? It has only one profit. It can save me some trouble when updating from CVS.
Then OOP:
PHP isn't really that good for OOP solutions. I mean, structures and reusing code are handled sufficiently well, but any time a script ends, the objects disappear... How useful is that if you like to build an application which keeps data continuously as objects. So we have the session array, and Yes, I love it. But PHP still destroys every object after each execution. But hey, I<-idiot don't think that's a problem, so I UUUUUSE objects and structures from the darkest part of my brain all the time, which makes browsing around in this code a greater pain every day. Wasn't OOP supposed to make it better? Well... Okay, I actually have accomplished things that made a .NET using friend say nice things about my framework, and I think the features are great. I won't go back either. I wanted this. Now I got it... but I can't stand it!
Maybe I just need some rest. But one thing's for sure. I don't think the perfect framework exists. Not in terms of cost, effort and application. I am an idiot. Yet I can't see any better approach.
Deadline 1 dec...
Let's just hope that the reason I feel like this is because I just need to climb over the current abstract threshold and things will start to run more smoothly for me. It really is really really fun occationally, because the system really is well thought of (seen from a distance, maybe not in it's exact and current implementation). One benefit I will draw from this though - that I can exchange parts of this system to make things better without editing too many files. That I like. It's my poor brain that bugs me. I do things kind'a the right way but soon it'll cause my eyes to catch fire.
PFFFT! - good feeling to vent this. Thank God for General discussion phora.