Re: getting started developping a joomla 3.0 component

1,531 views
Skip to first unread message

Nils Rückmann

unread,
Oct 5, 2012, 3:54:09 PM10/5/12
to joomla-de...@googlegroups.com
Look at you're installation ;) There are a few com_content, com_banner, and so on.

Ganesh Kumar

unread,
Oct 5, 2012, 4:07:38 PM10/5/12
to joomla-de...@googlegroups.com
There is no luck with the default components in Joomla 3.0,  All of them made with Legacy classes.

On Fri, Oct 5, 2012 at 9:54 PM, Nils Rückmann <in...@nils-rueckmann.de> wrote:
Look at you're installation ;) There are a few com_content, com_banner, and so on.

--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-general/-/Z-aBLzgq87EJ.

To post to this group, send an email to joomla-de...@googlegroups.com.
To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.


Nils Rückmann

unread,
Oct 5, 2012, 9:19:50 PM10/5/12
to joomla-de...@googlegroups.com
So you want to create a component with the new mvc structure and not only joomla 3.0 ? In this case we had a discussion the last days: https://groups.google.com/d/topic/joomla-dev-general/KwdM5dKB8qI/discussion

Cliff Ford

unread,
Oct 6, 2012, 7:42:47 AM10/6/12
to joomla-de...@googlegroups.com
Working on a pure Joomla 3.0 component (completely avoiding legacy
classes) seems to need patience and familiarity with legacy classes. I
keep running into issues that leave me scratching my head. For example,
getUserState, setUserState and getUserStateFromRequest have been removed
from the Application class. They are needed to set up a form or list and
I am currently wondering whether to roll my own functions, and if so
where, or whether the required functionality is there somewhere in
another class, if so I haven't found it. Still scratching!

Cliff
> --
> You received this message because you are subscribed to the Google
> Groups "Joomla! General Development" group.
> To view this discussion on the web, visit
> https://groups.google.com/d/msg/joomla-dev-general/-/vpHz2G9wkkQJ.

Nick Savov

unread,
Oct 6, 2012, 11:43:56 AM10/6/12
to joomla-de...@googlegroups.com
Hi Bruce,

You should be fine using the Legacy classes for quite a while. If I
understand things properly, a lot of the new classes aren't completed yet
and won't be for a while. Someone can correct me on the last statement,
but either way should be fine using the Legacy classes for quite a while.

Kind regards,
Nick

>
>> Look at you're installation ;) There are a few com_content, com_banner,
>> and so on.
> thanks Nils, for now I found com_ola which has everything but I can see
> the author used:
> class OlaController extends JControllerLegacy, it works but I don't know
> if the Legacy objects will work in the future...
>
>

Nick Savov

unread,
Oct 6, 2012, 11:51:14 AM10/6/12
to joomla-de...@googlegroups.com
Hi Cliff,

It might be too hard at this point to completely avoid legacy classes
(unless you want to write a lot of your own functions). Maybe just post
each issue that you're having in a separate topic and someone can point
you in the right direction, rather than you wasting too much time on it.

If you have the time, it would be great if you document while you're
working through this all. Joomla 3 is desperately in need of
documentation and pioneers are the best ones to initially create the
documentation :) In case you're not familiar with it, we use a wiki for
the documentation that anyone can edit and add information/pages to:
http://docs.joomla.org/Developers

Also, if you create new classes, might as well submit them to the core :)
so that you can re-use them easily later and that others can help maintain
and improve what you've written.

Kind regards,
Nick
Reply all
Reply to author
Forward
0 new messages