Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Development Differences .76x -> .8
  • Posted: 31.10.2006, 18:35
     
    csteelatgburg
    rank:
    Helper Helper
    registered:
     October 2002
    Status:
    offline
    last visit:
    23.01.07
    Posts:
    192
    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.
  • Posted: 31.10.2006, 20:41
     
    rgasch
    rank:
    Professional Professional
    registered:
     January 2003
    Status:
    offline
    last visit:
    26.11.08
    Posts:
    568
    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
  • Posted: 01.11.2006, 18:27
     
    csteelatgburg
    rank:
    Helper Helper
    registered:
     October 2002
    Status:
    offline
    last visit:
    23.01.07
    Posts:
    192
    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!

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula