Codeigniter 2 und Doctrine 2 HowTo 1/5

Das könnte Sie auch interessieren …

Eine Antwort

  1. Azer sagt:

    Great tutorials. Thanks Burak!Question: I am a niwbee to MVC, CI and Doctrine, so maybe my question is not that relevant. But shouldnt the CRUD methods be located inside the Model rather than the Controller? I know we are not using the CI Models and hence putting the CRUD in Doctrine Model would cause complications. But I was wondering if the alternative of putting the CRUD code in the controller is a good practice or not?Cheers

Schreiben Sie einen Kommentar

Ihre E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert