[fw-general] query the database. Uhh..where do those go?

2010-09-23 Thread Shawn
Greetings all, I went through the Zend 1.10 quick-start tutorial without any issues, Yeah! Now I would like to query the database to return specific data. For a simple example SELECT comment, email FROM Guestbook; Where would that go? The controller?, or the Mapper models/guestbookMapper.php,

Re: [fw-general] query the database. Uhh..where do those go?

2010-09-23 Thread Ralph Schindler
Hey Shawn, Now I would like to query the database to return specific data. For a simple example SELECT comment, email FROM Guestbook; Where would that go? The controller?, or the Mapper models/guestbookMapper.php, The model maybe? It's ok, common question. Your answer? It depends. If