[Skip to main content](#vessel-content)

#   design pattern

##

- **[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")**
- [![lionel75's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/11856-lionel75 "View lionel75's Profile") Topic Author
- [ Offline](/forum/user/11856-lionel75)

Less More

- Posts: 846
- Thank you received: 92
-
-

11 years 5 months ago -  11 years 5 months ago [\#202206](#202206) by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")  *[design pattern](/forum/31-development/877060-design-pattern#202206 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.8 -- PHP version -- : 5.5.8  Hi i begin to learn php and because i find hks forum more supportive than joomla ....the best is study hks code rather than joomla. I read from developper that understand /detect design pattern ( gang of four) in php code help undertstand php code structure-interraction ; Does hikashop use some in they code ? Does uml diagram exist for joomla and hikashop ... Does it make sense to have documention about design pattern ?  &#42; plugin architecture follows the Observer / publisher/subscriber design pattern .  &#42; component architecture follows the MVC design pattern using JController, JModel and JView .  &#42; module architecture follows the design pattern.  &#42; JDatabase follow the Strategy Pattern ( before )  &#42; JFactory follows the Registry Pattern &amp; Abstract Factory Pattern  &#42; Template override follows the View/layout pattern template    www.safaribooksonline.com/library/view/p...0470133941/ch08.html    joomla.stackexchange.com/questions/7459/...terns-used-in-joomla    docs.google.com/document/d/1MsFW9GLbRv0j...lEaETQqE/edit?pli=1#  regard's")* was created by *[lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 2.5.8
-- PHP version -- : 5.5.8

Hi i begin to learn php and because i find hks forum more supportive than joomla ....the best is study hks code rather than joomla. I read from developper that understand /detect design pattern ( gang of four) in php code help undertstand php code structure-interraction ; Does hikashop use some in they code ? Does uml diagram exist for joomla and hikashop ... Does it make sense to have documention about design pattern ?

- plugin architecture follows the Observer / publisher/subscriber design pattern [ uc](http://network.convergenceservices.in/forum/12-joomla-development/2165-component-program-flow-in-joomla-uml-diagrams.html).
- component architecture follows the MVC design pattern using JController, JModel and JView .
- module architecture follows the ? design pattern.
- JDatabase follow the Strategy Pattern ( before [ singleton](http://magazine.joomla.org/issues/issue-july-2014/item/2182-why-the-poor-old-singleton-was-banned))
- JFactory follows the Registry Pattern &amp; Abstract Factory Pattern
- Template override follows the View/layout pattern
template

[ www.safaribooksonline.com/library/view/p...0470133941/ch08.html](https://www.safaribooksonline.com/library/view/professional-joomla/9780470133941/ch08.html)

[ joomla.stackexchange.com/questions/7459/...terns-used-in-joomla](http://joomla.stackexchange.com/questions/7459/what-are-the-design-patterns-used-in-joomla)

[ docs.google.com/document/d/1MsFW9GLbRv0j...lEaETQqE/edit?pli=1#](https://docs.google.com/document/d/1MsFW9GLbRv0juyqdbkD5bMBUmkk6ATnwcBklEaETQqE/edit?pli=1#)

regard's

Last edit: 11 years 5 months ago by [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg3NzA2MC1kZXNpZ24tcGF0dGVybj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

11 years 5 months ago [\#202207](#202207) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[design pattern](/forum/31-development/877060-design-pattern#202207 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 2.5.8 -- PHP version -- : 5.5.8  Hi i begin to learn php and because i find hks forum more supportive than joomla ....the best is study hks code rather than joomla. I read from developper that understand /detect design pattern ( gang of four) in php code help undertstand php code structure-interraction ; Does hikashop use some in they code ? Does uml diagram exist for joomla and hikashop ... Does it make sense to have documention about design pattern ?  &#42; plugin architecture follows the Observer / publisher/subscriber design pattern .  &#42; component architecture follows the MVC design pattern using JController, JModel and JView .  &#42; module architecture follows the design pattern.  &#42; JDatabase follow the Strategy Pattern ( before )  &#42; JFactory follows the Registry Pattern &amp; Abstract Factory Pattern  &#42; Template override follows the View/layout pattern template    www.safaribooksonline.com/library/view/p...0470133941/ch08.html    joomla.stackexchange.com/questions/7459/...terns-used-in-joomla    docs.google.com/document/d/1MsFW9GLbRv0j...lEaETQqE/edit?pli=1#  regard's")*

Hi,

HikaShop uses the MVC model, as Joomla does :
[ docs.joomla.org/Model-View-Controller](https://docs.joomla.org/Model-View-Controller)

We don't have any UML diagram. If you want to generate UML diagrams out of PHP code here are a few links:
[ www.bouml.fr/](http://www.bouml.fr/)
[ www.sparxsystems.com.au/products/ea/index.html](http://www.sparxsystems.com.au/products/ea/index.html)

The following user(s) said Thank You: [lionel75](/forum/user/11856-lionel75 "View lionel75's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg3NzA2MC1kZXNpZ24tcGF0dGVybj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.070 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
