migrating a 1.5 componet to 3.6x

74 views
Skip to first unread message

becyn82

unread,
Dec 21, 2016, 4:27:14 AM12/21/16
to Joomla! General Development
Hello,
I'm new to this list as I was instructed to post these kind of questions here.
Here it is:

There seems to be substantial differences in the name spaces and methodology between 1.5 and 3.6.
I wrote this specialized form component for 1.5 that I want to continue using, but a lot has changed since I wrote it.
Has anyone tried to upgrade an old component or should I scrap it and and start from scratch again?

What say you?

Anibal

unread,
Dec 21, 2016, 6:04:44 AM12/21/16
to Joomla! General Development

Walt Sorensen aka photodude

unread,
Jan 2, 2017, 1:23:37 PM1/2/17
to Joomla! General Development


TechJoomla has a good article on making this kind of change, I used this and the official docs to convert a custom component. https://techjoomla.com/developers-blogs/joomla-development/joomla-30-conversion-changes-needed-when-converting-a-common-installable-package-for-joomla-15x-a-25x-to-joomla-30.html

If you do decide to start over I would suggest looking at using FOF3 https://github.com/akeeba/fof to help you build it quickly. I created a hello world type tutorial to show the general concept https://github.com/photodude/FOF3-Basic

becyn82

unread,
Jan 3, 2017, 10:34:56 AM1/3/17
to Joomla! General Development
FOF3 looks like a whole other learning curve. Being a "weekend warrior" programmer, I have all I can do to keep up with Joomlacode. The blog was a very good encapsulation of the changes for the most used functions.

I haven't done much coding since 2009, so I'm a bit rusty...

Walt Sorensen aka photodude

unread,
Jan 12, 2017, 11:59:36 AM1/12/17
to Joomla! General Development
FOF3 is a whole other learning curve. It does give some additional items like a DI container, Separation of data-bound and plain views, Better database mapping. more data model tools and is a framework for Rapid Application Development (the tutorial I built shows how to get started by using the RAD features)

If you want to stay totally in the Joomla realm without the additional layer of FOF3, I also recommend The Joomla! Component Creator https://www.component-creator.com even without the paid subscription it will help you quickly build a component shell that you can expand into a more fully developed component.

I do agree the blog I referenced is a very good encapsulation of the changes for the most used functions for migrating a component between Joomla versions.
Reply all
Reply to author
Forward
0 new messages