> I'd like to give away some of my code for BC-R1 (I am developing different
> administration modules, such as user admin, etc), but I just wonder
whether
> it will work with R2 as well. I hope there won't be very dramatic changes
on
> how it (the core, etc) works, at least from modules perspective...???
some questions for you:
-do your modules talk to the database?
-are you doing anything particularly strange (messing with sessions,
maybe relying on some of your own constants loaded from defined_constants,
etc.
the basic changes for modules are pretty simple:
-r1 modules with module_name() and module_name_print() will become
classes in r2, with two methods: Init(), Output(). The changes necessary to
get this working are minuscule, you only need to create a class out of your
existing files, and change the function names to methods.
-if you are doing database queries, we have space for r1 db connection
files, which will require a small amount of modification, but they should be
functional with very little trouble.
that's it.
now, to take full advantage of the system, you'll need to ditch the r1 db
code and move into entity/querymanager.
----
a note on user management, I expect to release a fairly extensive set of
code in the r2 distro for user management, with groups and roles.
for _anyone_ building modules you intend to release, please let the list
know, so we can coordinate and work on different things :)
_alex
|