Sunday, November 19, 2006

Squeezing time

We're working on performance, now. The only visible modification (as of now), is that CollectionNavigator does not refresh the list on initialization (so you're able to set up as much as you want during a subclass initialization). Refresh is now on CollectionViewer initialization. Remember to add refresh to your collection initialization methods! (or changing some of the configuration ValueHolders, like te page size, or the starting point).

Labels:

Saturday, November 18, 2006

Goodbye delete_lambda()

Using the same technique than the one used with WeakReferences (sword of), we got rid of delete_lambda. Now, lambda function using is more direct.

Labels:

Wednesday, November 08, 2006

Modal Dialogs

Well, wee implemented modal dialogs (for those of you who don't know, they're those dialogs that block everything else until you answer them).

They're implemented only using Ajax rendering, and using the PromptDialog, QuestionDialog, NotificationDialog and ErrorDialog's class message create($message);

Enjoy them

Labels:

Wednesday, November 01, 2006

Weak References

Finally, after a lot of time, we decided and programmed the WeakReference, WeakFunctionObject and WeakCollection objects. We're hoping to improve the performance, now that the application doesn't need to keed track of listeners or anything.

For those of you who wonder how we did it, let me explain:

- Every object registers itself (at creation, and at wakeup times) in a global object table.
- Weak references only keep the position of the referenced object in the table.

This way, when an object has only weak references, php's garbage collector claims it, releasing the memory that's no longer being used.

We are already using it in listeners and observers, and we plan to use it in the page renderer.

Labels:

A Development Blog

Here we'll post about the improvements and advances we make in the dev of this Application Framework.

As it countinously evolves, and we can never keep up to date the docs, maybe posting every minor change someone can keep track of it, and even update the manual wiki.

Somewhere down the road we'll develop a forum2mail or even a forum2rss, and then we'll answer anyone's questions about the framework. Or maybe someone can point us to a decent forum with mail|rss integration?

Labels: