Library tutorials & articles
Eocene: An OO Web Development Framework
- Introduction
- The Eocene Framework
- Front Controller Design Pattern
- Model-View-Controller (MVC) Architecture
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.
Related articles
Related discussion
-
Create this kind of website
by maidentv (1 replies)
-
PHP London July Meetup
by webdeveloperit (1 replies)
-
Binary Studio | software development outsourcing Ukraine
by shane124 (4 replies)
-
SOFTWARE PHP WORK
by synctel (0 replies)
-
London PHP / MySQL Superstar needed!
by gatewaytechnolabs (1 replies)
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
-
Dec
3
The Auckland PHP December meetup
Auckland, New Zealand
Topic: Magento E-Commerce platform Speaker: Robert Popovic, LERO9, Robert is the Technical Director and co-founder of LERO9. Robert attended the Electrotechnical Faculty at The University of Belgrade where he graduated with a Masters in Computer Science and Information Technology. Robert has worked exclusively in the field of web and software development throughout his career.
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
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?
To get the source code, you need to download the framework from www.eocene.net
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?
http://www.developerfusion.com/show/3224/1/redir/
Those are just images.. no source code or i'm unable to get ?
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.
This thread is for discussions of Eocene: An OO Web Development Framework.