Unus PHP Framework

Coding Critique is the place to post source code for peer review by other members of DevNetwork. Any kind of code can be posted. Code posted does not have to be limited to PHP. All members are invited to contribute constructive criticism with the goal of improving the code. Posted code should include some background information about it and what areas you specifically would like help with.

Popular code excerpts may be moved to "Code Snippets" by the moderators.

Moderator: General Moderators

Post Reply
nwhiting
Forum Newbie
Posts: 18
Joined: Sun May 03, 2009 8:30 pm

Unus PHP Framework

Post by nwhiting »

Hello,

Download Link
----------------------------
https://sourceforge.net/projects/unusframework/

Unus is a PHP framework that uses the Zend Framework as a library to create a rapid php development application, which aims to developers complete control over their applications.
Unus comes packed with features that are simple to use, but very powerful to start the list this is brief and only what is used in the Beta

Unus Core - The heart of the framework and provides a link for interaction for all sections of an application from the Controller, Models, Views and Plugins.

Unus Session - A advanced session handling system based on namespacing that gives developers the ability to store concurrent session information on the filesystem; tightening security given the user no access to their session information.

Unus User - User system that is built barebone to provide a structure for more advanced functionality based on developers needs;

Unus View - A intelligent view system that uses a theme based architecture

Unus Plugins - Plugin system which can dispatches plugins to modify/perform logic within any section of a application

Unus Model - A barebone database model that extends Zend_Db that allows developers to intelligently load database information and handle it / pass it to plugins, controllers or views
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Unus PHP Framework

Post by Benjamin »

nwhiting wrote:(...) to create a rapid php development application, which aims to developers complete control
Can you tell me a little how this is accomplished?
nwhiting
Forum Newbie
Posts: 18
Joined: Sun May 03, 2009 8:30 pm

Re: Unus PHP Framework

Post by nwhiting »

In simple terms overloading properties to a registry for access throughout the entire framework using optimized intelligent logic

Example

Code: Select all

 
// Unus_User_Controller extended from Unus_Action
$this->agreeTerms = $postData['terms'];
Unus::dispatchEvent('user_submit_terms');
 
// Terms Observer extending from Unus_Event_Observer
// has no communication with the User_Controller and doesnt know it exists
if ($this->agreeTerms == true) {
   echo 'We agree';
}
// But it knows that the property agreeTerms has been set somewhere within the application and can be modified/used/destroyed/overwritten
 
// This works with all areas of the framework Models, Controllers, View, Plugins (Observers), Helpers
 
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Unus PHP Framework

Post by Benjamin »

I like symfony because it creates database tables and CRUD objects from simple yaml files. Does your framework implement anything similar?
nwhiting
Forum Newbie
Posts: 18
Joined: Sun May 03, 2009 8:30 pm

Re: Unus PHP Framework

Post by nwhiting »

No it does not,
If this was a highly requested feature then it would be something to implement.

Unus is set to provide a combination of more complex design patterns for developing applications into a simple to use framework, as it is right now it focuses more on the logic handling rather than the model, as I said if this is something that becomes high-demand than it can be implemented, but as of now it does not.
Post Reply