Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
MVC and service layer
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aleksandar Milincic  
View profile  
 More options Oct 16 2011, 2:24 pm
From: Aleksandar Milincic <milinca...@gmail.com>
Date: Sun, 16 Oct 2011 11:24:38 -0700 (PDT)
Local: Sun, Oct 16 2011 2:24 pm
Subject: MVC and service layer
When you use MVC concept and Zend framework, where do you put your
business logic.
Are you using fat model concept, or you preserve your logic in the
controller.
Based on my experience in asp.net ie c#, I like to have one more
layer, called service layer
to have logic in it. In that concept controller is used just to route
requests and for basic request handling,
and model ie mapper classes are used as some database abstraction
layer.
In that way I have clear separation of layers in my web application.
And one question more, about database abstraction, are you always use
some ORM like Doctrine or Propel
to have objective model in your application, and to make distinction
from procedural ie functional coding,
or you write your own classes outside application, forinstance in some
library to have your own object model.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »