There is a little conflict in terms here because “modules” are not the same to Kohana as they are to Zend Framework and Yii Framework, which both have support for modular directory structures. In Kohana, modules are like plugins to the framework which can change or add functionality to the core to be made use of in the application. The “Conventional Modular” Directory Structure in Zend Framework is a configuration option, and modules are more like sub-applications; essentially just a neat way to organize various components of an application.
Read more…
Programming kohana, php, zend framework
Today I’d like to present my own rendition of an Event Delegator class based on Prototype. Event Delegation can be used to improve performance and code simplicity by observing one parent element and triggering events on the children when applicable rather than observing each child element individually.
Read more…
Programming javascript, prototype
While working at Seelab at The University of Tennessee in 2006 one of my first tasks was to rename every function in what is now the Visualization CookBook, but was previously another name. We developed a simple Document for API Modification and called it the DAM document. I then wrote a Perl script to apply the DAM document to user’s source code to ease the pains of a major API modification and we named it “DAMit”. Yes, we too thought it was funny.
Read more…
Programming api, perl
Due to a recent request about my Ajax.DoubleCombo class, I have updated it to support automatic updates trickling down when the server returns a “selected” value or the default value is non-void. In the process, I added some Prototype 1.6 custom events, namely doubleCombo:update and doubleCombo:clearSlaves which in turn added support for what I will call “branching”. That is, support for multiple slave selects at each level. I don’t know if anyone has a use for this but it is now supported…
Here is the page with the code, docs and demo: Ajax.DoubleCombo
Programming javascript, prototype
I like Subversion, and think it is useful for the various group projects I’ve done at the University of Tennessee in the EECS department. I figured some other students on a unix-based network with limited privileges might also, and could use a quick tutorial for setting up Subversion on one member’s user account in such a way that is secure, doesn’t require labstaff adding any groups, and is still easy for fellow classmates to access while maintaining user identity in the Subversion logs. The only downside is one user has to be the host, so everyone run quota and the sucker with the most free space gets to host the repository… :(
Read more…
Programming subversion, version control
Ok, so what kind of web developer doesn’t have a website? Me, but not anymore. :)
Uncategorized