thank you for answer.

Exactly, i created a view in my database to show a table with details (join between several tables).

By model i mean an entity, a model, a controller to show that view (without an update or delete action because is a DB view)

I hope I have clarified the questions, sorry my english.

thanx again

El 06/01/2014 02:28 p.m., Er Galvao Abbott escribió:
I think by "view" he means a Database View, not a view as in MVC.

Er Galvão Abbott
http://www.galvao.eti.br/

On 01/06/2014 02:44 PM, Julian Vidal wrote:
Diego,

Model can mean many things. When you say "model for every table" do you
mean a RowGateway object for every table?
Also, when you say "i created a view un my data base" do you mean that
you
stored the actual HTML/PHP in a particular column on your database?
It will be easier for me to help you if you could answer these two
questions and maybe post a couple of what you call models.


On Mon, Jan 6, 2014 at 9:05 AM, Diego
Garcia<dgar...@dasu.com.ar>  wrote:

Hi everyone

I created one model for every table i have in my data base, then i
created
a view un my data base... what is the best practice in ZF2? do i have to
create a model for the view the same way i did it for the tables?

thanx


--
List:fw-general@lists.zend.com
Info:http://framework.zend.com/archives
Unsubscribe:fw-general-unsubscr...@lists.zend.com









--
List: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to