CI 2 with Doctrine 2 integration. Any help with this? |
[eluser]José León[/eluser]
I'm looking a way to integrate CI2 with Doctrine2 with full functionalities. Did anyone do it? Thanks in advance.
[eluser]anaxamaxan[/eluser]
Did you see this one? Doctrine 1.2 I think, but it might be useful. http://d.pr/92kR
[eluser]lexusgs430[/eluser]
If you are not specifically looking for doctrine 2, https://github.com/jasonayre/bravenewignition uses doctrine 1.something, just updated it today for official release of CI 2.0.
[eluser]bl4z[/eluser]
another ci 2 and doctrine 1.2 int howto https://sites.google.com/a/vigred.com/co...-doctrine/
[eluser]Ricardo Martins[/eluser]
These are great links that helped me a little bit. I've never used Doctrine, but i'm in trouble of how to use it with cmd.exe (Windows). Another link that helped me a little is http://www.phpandstuff.com/articles/code...-and-setup It is a series of Screencasts.
[eluser]José León[/eluser]
Thanks for reply! I tried all, but I'm looking for more information. Because Doctrine doesn't work with full functionalities. I put this in the model: $this->hasColumn('username', 'string', 128, array( 'type' => 'string', 'notnull' => true, 'unique' => true, 'nospace' => true, 'length' => 128, 'minlength' => 5, 'regexp' => '/[a-zA-Z0-9]/' )); And for example, even if I put "minlength" to 5 the restriction It won't apply. At least in my case, maybe I'm doing something wrong. I worked with Symfony, and everything works perfectly. But I prefer codeigniter because is quicker.
[eluser]tselaty[/eluser]
Hey all, I've been looking around for someone who has CodeIgniter 2 and Doctrine 2 integrated. I couldn't find any nice examples other than the one over at Wildly Inaccurate http://wildlyinaccurate.com/integrating-...igniter-2/. After getting Doctrine 2 and CodeIgniter 2 up and running together, I wrote and article and provided a quick-start ZIP for anyone else who wants to use CI2 and D2 together over at my website. http://www.tlswebsolutions.com/codeignit...neignited/ -Tim
|
Welcome Guest, Not a member yet? Register Sign In |