- Posts: 846
- Thank you received: 92
design pattern
11 years 4 months ago - 11 years 4 months ago #202206
by lionel75
design pattern was created by lionel75
-- 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 ?
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
-- 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 .
- 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 )
- JFactory follows the Registry Pattern & Abstract Factory Pattern
- 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
Last edit: 11 years 4 months ago by lionel75.
Please Log in or Create an account to join the conversation.
11 years 4 months ago #202207
by nicolas
Replied by nicolas on topic design pattern
Hi,
HikaShop uses the MVC model, as Joomla does :
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/
www.sparxsystems.com.au/products/ea/index.html
HikaShop uses the MVC model, as Joomla does :
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/
www.sparxsystems.com.au/products/ea/index.html
The following user(s) said Thank You: lionel75
Please Log in or Create an account to join the conversation.
Time to create page: 0.163 seconds