CodeIgniter Forums
Design Patterns in PHP - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: Design Patterns in PHP (/showthread.php?tid=507)



Design Patterns in PHP - sv3tli0 - 12-11-2014

Hi

I found one very useful github repository: https://github.com/domnikl/DesignPatternsPHP
Where there are good tutorials for most of the possible patterns in PHP language. 

Perhaps for the next CI 4 we can use this information to build a better / faster / more flexible CodeIgniter version Smile


RE: Design Patterns in PHP - _this - 12-11-2014

Hello sv3tli0,

Can you please explain what is a DesignPattern for newbies ?

I'm not a PHP nor CI newbie but I heard of DesignPatterns and their time saving performance but don't know what is it really !

Thanks !


RE: Design Patterns in PHP - sv3tli0 - 12-11-2014

(12-11-2014, 03:38 AM)$this Wrote: Hello sv3tli0,

Can you please explain what is a DesignPattern for newbies ?

I'm not a PHP nor CI newbie but I heard of DesignPatterns and their time saving performance but don't know what is it really !

Thanks !

I can't just explain you what is Design Pattern - you need to read some documentation http://en.wikipedia.org/wiki/Software_design_pattern and perhaps even some books to understand what is that. Smile

But as its written in the wiki "design pattern is a general reusable solution to a commonly occurring problem within a given context in software design."


RE: Design Patterns in PHP - trentramseyer - 12-11-2014

Nice Find.


RE: Design Patterns in PHP - Rufnex - 12-11-2014

Thanks for sharing!