Barrikor Posted August 28, 2013 Posted August 28, 2013 I tried that, but I was told not to do it, as it's a bad idea. If you only could pick one then you would need to pick Procedural, since the speed of the fetch functions will matter. Quote
Magictallguy Posted March 11, 2014 Posted March 11, 2014 I have always preferred OOP with procedural-style functions. Always have, always will. I have multiple arguments to support my preference, but I've recently had a tooth pulled - so I'm a little groggy :P Quote
Guest Posted March 11, 2014 Posted March 11, 2014 I have always preferred OOP with procedural-style functions. Always have, always will. I have multiple arguments to support my preference, but I've recently had a tooth pulled - so I'm a little groggy :P How can you have "procedural style functions"? Enlighten me? :) Quote
Magictallguy Posted March 11, 2014 Posted March 11, 2014 How can you have "procedural style functions"? Enlighten me? :) Again, I was/am groggy. That was bad phrasing, sorry about that. I meant $db = mysqli_connect('yada yada') instead of $db = new mysqli('yada yada'); Quote
sniko Posted March 11, 2014 Posted March 11, 2014 (edited) Again, I was/am groggy. That was bad phrasing, sorry about that. I meant $db = mysqli_connect('yada yada') instead of $db = new mysqli('yada yada'); Ew. [noparse]/IWantedToKeepItShortForEmphasisButForumSoftwareSaidNoNo:([/noparse] Edited March 11, 2014 by sniko Quote
Dave Posted March 19, 2014 Posted March 19, 2014 I'll always be an OO fan! Generally I'm working with some form of ORM so my need for straight up database interactions is small. I'd rather build a good ORM then use procedural functions but I am a PDO lover. Quote
Magictallguy Posted March 20, 2014 Posted March 20, 2014 I'll always be an OO fan! Generally I'm working with some form of ORM so my need for straight up database interactions is small. I'd rather build a good ORM then use procedural functions but I am a PDO lover. Have you tried RedBean? One of the best ORMs I've ever used! Quote
Djkanna Posted March 20, 2014 Posted March 20, 2014 Have you tried RedBean? One of the best ORMs I've ever used! Eloquent f.t.w Quote
john. Posted March 20, 2014 Posted March 20, 2014 Eloquent f.t.w Agreed. Eloquent is awesome and a brief to work with. Occasionally you may have some complex queries that can be tricky to solve with Eloquent, but usually not a issue. I've tried RedBean as well, it's certainly comforting to use when developing prototypes, have never used it in a released project or in work however. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.