implementing them in large scale applications. For instance, I am
working on a project that involves an enterprise management system
(service desk ticketing, knowledge base, asset management) which is
fairly large scale. Here I am using ORM. In the couple of blogging
applications I developed to learn Zend, I used direct database calls.
It really depends on your needs. If calling the database directly
suits you, then do it!
On Wed, Sep 3, 2008 at 10:00 AM, Jigal sanders <jigalroecha@gmail.com> wrote:
> Hello everyone.
>
> I'm confused. First I thought about writing my own class to talk to my
> (mysql) database. But then I thought, what Am I doing? Zend is actually
> doing this for me. So then i tried several things. And I ended up by just
> writing my full sql statement and then using $this->db->fetchAll($sql); But
> I have the feeling that this is not what Zend_Db was aiming for. I read in
> several places that the use of Zend_Db_Table is preferable.
> Can someone please help me out and thell me what the best thing is to do?
>
> Thanks in advance.
>
> J. Sanders
>
--
Andrew Sledge
没有评论:
发表评论