Topic: Development Differences .76x -> .8
csteelatgburg
avatar
Helper
Helper
Posts: 192

Posted:
31.Oct 2006 - 18:35

I am considering working on a new module and have some questions regarding differences between developing a module for .76x vs .8. In the past there were some major changes available, most notably, the addition of Smarty templates (after .72, I think). Will there be similar changes with the upgrade to .8?

If I code for .76, will the module work well with .8 (and possibly beyond)?

I don't have a large amount of time on my hands, and would rather not have to install .8 somewhere, if I can get away with programming on .76x.

Thanks.
rgasch
avatar
Professional
Professional
Posts: 573

Posted:
31.Oct 2006 - 20:41

If you write a 0.76x module to be API compliant, it will run on 0.8.

However: 0.8 features a ton of stuff which makes developing modules *much* easier. You'll like the productivity gains it gives you. I would not want to go back to the old way of writing PN code.

Tip: You may want to try the Openstar module generator (available at http://openstar.post…nc=main&cm=12&cb=16) which can save you a bunch of time in getting started. It can also generate modules which use all the new stuff, including component implemenations which are based on the new object model. You'll need the Openstar distro to run this in a 0.76x environment, but it'll carry over to 0.8 with minimal changes.

Greetings
R
csteelatgburg
avatar
Helper
Helper
Posts: 192

Posted:
1.Nov 2006 - 18:27

Thanks for the tip. I checked out the module generator last night, and that is one of the coolest things I've seen. I also setup a 0.8 install, which I'm glad I did, since there are some major changes to the look and feel (that I think are great).

Now it's just a matter of finding the time to work on the rest of the module!