Joomla 4 alpha 4

Be informed that this forum is not an official support forum for Joomla! 4.0. Any issues regarding Joomla! 4.0 must be reported at https://issues.joomla.org/.

Joomla! 4.0 is still in its Alpha stage. This forum should be used for sharing information about Joomla! 4.0.

Moderator: ooffick

Post Reply
KianWilliam
Joomla! Explorer
Joomla! Explorer
Posts: 406
Joined: Thu Jan 12, 2017 10:13 am

Joomla 4 alpha 4

Post by KianWilliam » Wed Oct 03, 2018 11:58 am

To whom it may concern:
I am developing a component extension, I would like to make it compitable with joomla 4alpha4, is there a tutorial to refer briefly to structure folders and major points I have to learn?
Kian William

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 10079
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK
Contact:

Re: Joomla 4 alpha 4

Post by toivo » Wed Oct 03, 2018 1:06 pm

If you already know the structure and classes of components in 3.x, the following checklist will help you get you started:
https://docs.joomla.org/Potential_backw ... oomla_4/en
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
troubleshooting smtp and other articles https://talikka.com/joomla

KianWilliam
Joomla! Explorer
Joomla! Explorer
Posts: 406
Joined: Thu Jan 12, 2017 10:13 am

Re: Joomla 4 alpha 4

Post by KianWilliam » Thu Oct 04, 2018 5:15 am

I know component structure in joomla 3.x and I already had a brief look on the link you introduced, I also viewed briefly an already designed component in 4alpha4, in structure it seems to be different, for example, in akeeba component structure, it has folder View and folder views, field folder is not under model folder any longer, in another 4alpha4 component, form folder is not under model folder too, These differences might be the developer's design and it might even work with joomla 3.x but I want to be sure, that is why I am in search of a tutorial to refer to main differences in structure of component.
I installed 4alpha4 and I uploaded a module designed for 3.x in it, it did not work.
I took a look at a 4alpha4 module, it did not have tmpl folder at all.
plugins seem to be the same,
I also had a brief look on core components and modules of 4alpha4 joomla,
There are some differences
Any tutorial? because going through designed modules and components are more time consuming.
Kian William

KianWilliam
Joomla! Explorer
Joomla! Explorer
Posts: 406
Joined: Thu Jan 12, 2017 10:13 am

Re: Joomla 4 alpha 4

Post by KianWilliam » Thu Oct 04, 2018 7:03 am

Nevermind tutorial, I just take a look at com_banner in alpha 4 joomla, it is just great. The classical structure is so easy. My next extension shall be compatible with alpha 4 too and I believe this structure shall work in joomla 3.x. Thanks for the response
Kian William

KianWilliam
Joomla! Explorer
Joomla! Explorer
Posts: 406
Joined: Thu Jan 12, 2017 10:13 am

Re: Joomla 4 alpha 4

Post by KianWilliam » Thu Oct 04, 2018 7:14 am

I believe layout override in html folder of template is the same as before,
Kian William

KianWilliam
Joomla! Explorer
Joomla! Explorer
Posts: 406
Joined: Thu Jan 12, 2017 10:13 am

Re: Joomla 4 alpha 4

Post by KianWilliam » Wed Oct 10, 2018 11:47 am

I just would like to add 4alpha4 accepts the regular folder structure in joomla along with the new structure.
There are classes that do not exist any more like JError, the developer should avoid them, the link mentioned above is useful to find those classes.
Kian William

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 10079
Joined: Thu Feb 15, 2007 5:48 am
Location: Oxford, UK
Contact:

Re: Joomla 4 alpha 4

Post by toivo » Wed Oct 10, 2018 6:56 pm

If you want to identify in your extension classes that are deprecated in 3.x, go to the plugin System - Debug, select 'Log Deprecated API' from the tab 'Logging' and turn on debugging. A list of deprecated calls can then be found from the file administrator/logs/deprecated.php. Works in 3.x and also in 4.0 alpha, where the log contains aliased and deprecated classes.

The JED Checker extension from https://extensions.joomla.org/extension/jedchecker/ also reports deprecated 3.x functions but runs only in 3.x.
Toivo Talikka, Global Moderator
my first programs were assembled and run in 16KB :)
troubleshooting smtp and other articles https://talikka.com/joomla

KianWilliam
Joomla! Explorer
Joomla! Explorer
Posts: 406
Joined: Thu Jan 12, 2017 10:13 am

Re: Joomla 4 alpha 4

Post by KianWilliam » Thu Oct 11, 2018 5:48 am

Exactly, thanks
Kian William


Post Reply

Return to “Joomla! 4 Related”