Pundit ftw! - and UniteIT status

I’ve been hard at work trying to code the new version of UniteIT - and of course I’m using Pundit. And can I just say - its a charm working with it. I have found some bugs and added a few features since the Introducing-post. The most prominent changed I’ve done is actually making PunditModel::save() work when the model has variables of the PUNDIT_DTYPE_PUNDITMODEL type. Yay for improvement - actually making something work, and not just throwing exceptions because the feature havent been made yet.

So far most of the features are actually done for UniteIT (okay - not most, but as far as the functions exposed via the web, done) and I’ve just passed the 800-line mark for the application-specific php-code. Yeah, you read it right - 800 lines only. Pundit on the other hand has just passed the 3500-line mark. But 3500 lines for a framework really isn’t really a lot if you ask me. So all in all Pundit is a pretty lightweight (when it comes to lines of code at least) framework just begging for some easy hacking.

How much custom extending of Pundit have I done for the UniteIT project? Well, really not much. I have made a pundit/Uniteit dir where my new pundit-specific addons go, and it contains only 3 files: pundit/Uniteit/Runner/Standard.php, pundit/Uniteit/Uniteit.php & pundit/Uniteit/Modifiers.php. And of those only the new Runner is actually Pundit-related. The other files are “only” places there for ease of use (Pundit::locateClass is able to find them if they are placed there).

UniteIT status

So far I have centered on the website-specific pages, and of those only “register user” has no work done it so far. Some other parts like “edit user” needs more work - but they are generally there.
The design has a long way to catch up with the code, but the “question”-page is pretty much done, and I’m very happy with how it turned out.

So whats up next? Well, I need to finish up on the public pages first. Then there is all the rss/atom-feeds that needs work. And after that’s done I have to create the public API - ‘cus you need one of those, thats for sure.

If you have no idea what UniteIT is, as most of you want, dont worry - I’ll write a post about what UniteIT is in a not so distant future. And when the design nears completion I will reveal that too. But for now you’ll only have these boring posts instead of a live working beta..

-fangel

September 24th, 2006 | Pundit, UniteIT

No comments

Post comment