Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
Thin Models
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
Tiny PHP ORM Framework
>
Tiny PHP ORM Framework package blog
>
PHP ORM Pros and Cons
>
All threads
>
Thin Models
>
(Un) Subscribe thread alerts
Subject:
Thin Models
Summary:
Thin Models
Messages:
3
Author:
Sean
Date:
2016-05-31 12:21:13
1. Thin Models
Reply
Report abuse
Sean - 2016-05-31 12:21:13
If Book->formatTitleForCustomerNewsletter() should never be part of the model, where should it go using a MVC approach?
Would it go in a helpers file or maybe a book library file?
2. Re: Thin Models
Reply
Report abuse
Manuel Lemos - 2016-05-31 18:50:53 -
In reply to
message 1
from Sean
If it is for display only, I think it should go to your view code.
3. Re: Thin Models
Reply
Report abuse
Victor Bolshov - 2016-06-01 14:58:47 -
In reply to
message 1
from Sean
A view helper is a good choice, IMO
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2024
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger