Library tutorials & articles

Eocene: An OO Web Development Framework

Model-View-Controller (MVC) Architecture

The MVC design pattern uses three distinct groups of classes. Model classes represent application specific business objects and logic. View classes are responsible for rendering views to users in response to requests. Controller classes are responsible for interacting with users, view and model classes, coordinating user interactions with views and models. The MVC design decouples the three groups of classes for flexible software design. A well-designed application using the Eocene framework will lead to an MVC (model-view-controller) architecture. The Eocene framework separates controllers and views. A developer should implement application specific model classes. Figure 2 shows a schematic of the MVC architecture as implemented in an Eocene-based system.

Controller classes in the Eocene framework comprise of a front controller class, a base command class, and application specific command controller classes. The framework provides the front controller and base command classes. Application specific command classes are written by developers.  Of the view classes, the framework provides the TemplateEngine class that acts as a view processor. Application developers write their own templates which are html pages with tokens for generating dynamic contents. The framework also provides the DBConnect class to connect to a MySQL database. For other databases, the DBConnect class may have to be modified. Application developers also write application specific model classes. Figure 3 shows a schematic of the Eocene class diagram.

Conclusions

The Eocene framework introduces a pure Object Oriented methodology for Web application developments using PHP. It also uses the emerging trends of using xml-based application configuration files. The total size of all the class files used in the framework is approximately 50 KB. It uses a very fast and compact (less than 10 KB in size) template engine. I am currently using the framework in a site that creates dynamic contents for 1,000 unique visitors a day from a database of size 200 MB with more than half a million records.

Comments

  1. 13 Sep 2007 at 11:11

    I'm interested to source of eocene framework but ...

    the link at Eocene Web site in "An OO Web Development Framework - Introduction" page, linked site porn! Phishing action in progress or bad link?

    thanks

  2. 06 Nov 2004 at 07:40

    I am geting the following error message after I have downloaded and unziped and configured as directed. I am using MS IIS as my web server


    ERRORS:
    Error: Invalid command: galleryApplication. No information found in commands section of config file


    I unziped the eoceneGalleryApp.zip into the C:\Inetpub\wwwroot and it created the galleryApplication folder and I change the paths as directed to reflect the path where I unziped dowmloaded files.


    Why am I getting this error or don't it work with IIS web server?

  3. 11 Oct 2003 at 21:22

    To get the source code, you need to download the framework from www.eocene.net

  4. 01 Oct 2003 at 08:39

    Quote:
    [1]Posted by Thushan Fernando on 27 Sep 2003 04:56 AM[/1]
    erm its here:
    http://www.developerfusion.com/show/3224/1/redir/




    The source code is not available at this url. The zip-file contains only the gif-images of the architecture.
    So ... is the source code available anyway?

  5. 27 Sep 2003 at 04:56
  6. 27 Sep 2003 at 03:45
    Can't find your source code???
  7. 29 Aug 2003 at 09:27

    Those are just images.. no source code or i'm unable to get ?

  8. 22 Aug 2003 at 14:58

    I read the article then downloaded the software.  It is easy to use and I'm working with it now to improve a site.


    Many thanks.

  9. 01 Jan 1999 at 00:00

    This thread is for discussions of Eocene: An OO Web Development Framework.

Leave a comment

Sign in or Join us (it's free).

Deepak Dutta
AddThis

Related podcasts

  • EarthClassMail.com - Moving from LAMP to .NET 3.5

    Scott chats with Matt Davis, architect at EarthClassMail.com, about their move from a LAMP stack (Linux/Apache/mysql/PHP) to .NET 3.5. What's working, what's not, and what kinds of issues are they running into as their architect their solution.

Events coming up

  • Jul 18

    WordCamp UK 2009

    Cardiff, United Kingdom

    This is the second WordCamp UK - an informal annual gathering of WordPress publishers, designers and developers based in the United Kingdom.

Want to stay in touch with what's going on? Follow us on twitter!