5/14/04
<< 72 Squared Weblog72 Squared developed with mojavi
I completely rebuilt this site in less than 24 hours. The reason? A php development framework called Mojavi.I started last night at around 7 PM and worked until 2 AM. By then, I had created a dynamic, data driven site, with very little effort. The best part is, I can add on to it easily!
About
a month ago I came across the best Model-View-Controller (MVC)
implementation in PHP. I was researching the Java Struts Project and
looking for a port of the project into PHP which is my web development
language of choice.
Up to that point, I had relied on my own
framework which was suffering from some performance problems as the
site traffic increased. I first tried out PHPMVC which is a
pretty close port of the Jakarta struts project. It worked fine, but
was not intuitive to use and it suffered from one main problem: it
tried to create object persistence that Java does so well. PHP sucks at
this. It was not engineered to create objects and hold the information
in memory for extended periods of time. Each time a page loads, PHPMVC
had re-parse the XML file and set up it's object persistent stores in
memory. Result? Bad performance.
Then I was bouncing around
google and I came across Mojavi. The programming is brilliant! The
develper, nicknamed FETI, uses the file directory structure to do the
Model of the MVC architecture. This makes it super easy to find the
correct module and action. On top of it, it is incredibly lightweight
and the OOP methodology is flawless. The framework has opened my eyes
to a whole new way of thinking about programming. The mojavi framework
is in many ways an improvement on the original JAVA implementation.
More on this later ...
See: http://mojavi.org