Reference/example component/plugin/module implementations for Joomla! 3

94 views
Skip to first unread message

Alessandro Pasotti

unread,
Nov 5, 2012, 8:32:24 AM11/5/12
to joomla-...@googlegroups.com
Hi,

I'm having an hard time to find a reference component for Joomla! 3.0. 

I'm not sure if I got it right but extending *Legacy is just a temporary solution and native 3.x component should extend *Base abstract classes. Many components shipped with J3 uses the legacy classes: do they are in the process of being migrated or what?

Does anybody know where I can find an example component/module/plugin whis uses the new API?

Is it just too early to start thinking about migrating components to J3?

--
Alessandro Pasotti
w3:   www.itopen.it

Michael Babker

unread,
Nov 5, 2012, 7:48:41 AM11/5/12
to joomla-...@googlegroups.com
Using the *Legacy MVC classes is just fine, they'll be present through the 3.x series.

Right now, you could implement the new MVC if you wanted to, but you'd have to write a lot of support methods for yourself that you'd find in the legacy MVC structure.

For the tracker app, we're building out an entire application on the Platform (meaning not using the CMS as is), but a lot of concepts are carried over from the CMS structure, such as components.  Have a look at this code - https://github.com/JTracker/jissues/tree/master/components – There's two components here, one's the tracker we're building and the other is com_users from the CMS converted to the new MVC structure.  You'll see we built some model classes to replicate the legacy MVC models (I think there's some good code in there still), but we've stayed true to the intent of controllers in the new structure in that each class is a single method.

--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To post to this group, send an email to joomla-...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-cm...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.
Reply all
Reply to author
Forward
0 new messages