List of MVC components
- OSFreak
- Joomla! Enthusiast
- Posts: 222
- Joined: Fri Aug 26, 2005 12:14 pm
- Location: Belgium
- Contact:
List of MVC components
Hello World.
I searched, but didn't found it. A List of Joomla! 1.5 components build on the MVC pattern.
So other developers can learn from it.
This is a incomplete list of components i found.
RedEVENT
Simplelist
League Results
Messaging
Joomla Estate Agency
If you know other components, feel free to add.
I searched, but didn't found it. A List of Joomla! 1.5 components build on the MVC pattern.
So other developers can learn from it.
This is a incomplete list of components i found.
RedEVENT
Simplelist
League Results
Messaging
Joomla Estate Agency
If you know other components, feel free to add.
New: Joomla! 1.5 Component Code Generator v0.8 : http://www.joomlafreak.be/joomla_compon ... generator/
Online Joomla! 1.5 CSS Guide http://www.joomlafreak.be/joomla_free_cssguide
"Joomla! is not a product, it's a project!" - Peter Russell
Online Joomla! 1.5 CSS Guide http://www.joomlafreak.be/joomla_free_cssguide
"Joomla! is not a product, it's a project!" - Peter Russell
- David-Andrew
- Joomla! Enthusiast
- Posts: 237
- Joined: Thu Mar 20, 2008 3:37 pm
- Location: The Netherlands
- Contact:
Re: List of MVC components
ccNewsletter
Awesome Joomla! Extensions by Chill Creations http://www.chillcreations.com
cciDEAL, ccInvoices, ccNewsletter
cciDEAL, ccInvoices, ccNewsletter
- dam-man
- Joomla! Exemplar
- Posts: 7961
- Joined: Fri Sep 09, 2005 2:13 pm
- Location: The Netherlands
- Contact:
Re: List of MVC components
RD-Autos Free and Pro version are both written in MVC structure.
http://www.rd-media.org
http://www.rd-media.org
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards
Dutch Boards | Joomla Coding Boards | English Support Boards
-
- Joomla! Apprentice
- Posts: 15
- Joined: Wed Jan 18, 2006 3:08 pm
Re: List of MVC components
There's no JRequest::getVar inModels ?
Last edited by alteiis on Sun May 17, 2009 3:28 pm, edited 1 time in total.
- dam-man
- Joomla! Exemplar
- Posts: 7961
- Joined: Fri Sep 09, 2005 2:13 pm
- Location: The Netherlands
- Contact:
Re: List of MVC components
Has nothing to do with the MVC sturucture, you have to construct those requests in your modelsalteiis wrote:There's no JReFor this components there's no JRequest::getVar inModels ?
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards
Dutch Boards | Joomla Coding Boards | English Support Boards
-
- Joomla! Apprentice
- Posts: 15
- Joined: Wed Jan 18, 2006 3:08 pm
Re: List of MVC components
Absoluty false...In MVC all http request should be handle in controller and passed to model. Perhaps, if you consider JResquest class as a model class (very strange !?!!!). By you using that, models and controllers are tightly coupled and if you want to change request environment (command line, soap,etc.), you have to change the model and the purpose of MVC is to avoid that.
It's particulary strange for Java programmers accustomed to object, mvc, design pattern architecture or framework...
This thing is clear in Sun documentation and all major MVC implantations.
I know, it's choice for *pragmatic* implantations, probably in major part because of 3 layers models / MVC2 confusion...
Once more sorry for my bad english :/
It's particulary strange for Java programmers accustomed to object, mvc, design pattern architecture or framework...
This thing is clear in Sun documentation and all major MVC implantations.
I know, it's choice for *pragmatic* implantations, probably in major part because of 3 layers models / MVC2 confusion...
Once more sorry for my bad english :/
-
- Joomla! Apprentice
- Posts: 15
- Joined: Wed Jan 18, 2006 3:08 pm
Re: List of MVC components
It seems there is a lot of changes in Joomla 16's code :
- no more ten thousand globals (globals are very bad from the OO point of view), less of $mainframe, $option, etc. It's cool and most devs could do that in their 1.5 components.
- less direct use of POST/GET from models and views, e.g. admin code for categories implementation is very well coded !
Is there a summary of architectural or coding rules changes and evolution ?
Thanks
- no more ten thousand globals (globals are very bad from the OO point of view), less of $mainframe, $option, etc. It's cool and most devs could do that in their 1.5 components.
- less direct use of POST/GET from models and views, e.g. admin code for categories implementation is very well coded !
Is there a summary of architectural or coding rules changes and evolution ?
Thanks
- dam-man
- Joomla! Exemplar
- Posts: 7961
- Joined: Fri Sep 09, 2005 2:13 pm
- Location: The Netherlands
- Contact:
Re: List of MVC components
If yo take a look at the weblinks administrator model:
There is constructor where you can see the JRequest::getVar statements.
That where I ve learned this. If it's diffrent it's OK with me.
I've learned OOP here with Joomla! (I do only have studied normal PHP without OO
Code: Select all
function __construct()
{
parent::__construct();
$array = JRequest::getVar('cid', array(0), '', 'array');
$edit = JRequest::getVar('edit',true);
if($edit)
$this->setId((int)$array[0]);
}
That where I ve learned this. If it's diffrent it's OK with me.
I've learned OOP here with Joomla! (I do only have studied normal PHP without OO
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards
Dutch Boards | Joomla Coding Boards | English Support Boards
- dam-man
- Joomla! Exemplar
- Posts: 7961
- Joined: Fri Sep 09, 2005 2:13 pm
- Location: The Netherlands
- Contact:
Re: List of MVC components
Let's go on topic now
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards
Dutch Boards | Joomla Coding Boards | English Support Boards
-
- Joomla! Apprentice
- Posts: 15
- Joined: Wed Jan 18, 2006 3:08 pm
Re: List of MVC components
lol,
I tried to explain than the new J1.6 categorie component implementation is different from the J1.5 one and far better (take a look at categories implementation)...
I already post about this problem in J1.5 here http://forum.joomla.org/viewtopic.php?f=304&t=315198, with explanations.
In 2002, I have made a lot of tutos about MVC1/MVC2 for my students but in french...there was in part based on several very goods articles from Sun :
Sun => Excellent all devs should read chapter 8
Sun Mvc1 with clear diagram
Sun: Very good discussion about mvc1 / mvc2 comparaison
Apple from cocoa doc mvc1)
Another
My poor english (In late 80's / early 90's, French university prefers mathematics to foreign languages :/) does not allow me to participate like I want.
I tried to explain than the new J1.6 categorie component implementation is different from the J1.5 one and far better (take a look at categories implementation)...
I already post about this problem in J1.5 here http://forum.joomla.org/viewtopic.php?f=304&t=315198, with explanations.
In 2002, I have made a lot of tutos about MVC1/MVC2 for my students but in french...there was in part based on several very goods articles from Sun :
Sun => Excellent all devs should read chapter 8
Sun Mvc1 with clear diagram
Sun: Very good discussion about mvc1 / mvc2 comparaison
Apple from cocoa doc mvc1)
Another
My poor english (In late 80's / early 90's, French university prefers mathematics to foreign languages :/) does not allow me to participate like I want.