<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-flowed" style="font-size: 16px;" lang="x-western">[...]
<br>
<blockquote type="cite">How would you recommend to do this? Create a
separate package
<br>
and copy everything (under GPL conditions) and then modify the
<br>
necessary parts? Or maybe even extends some Templateone
<br>
classes in a separate package and override only some functions?
<br>
</blockquote>
<br>
Hi,
<br>
<br>
It depends on how strongly you want to modify the existing code, I
think.
<br>
I would say that whatever functionality is VERY different from the
original, should be implemented independently.
<br>
<br>
If you can re-use a great deal of an existing class, then why not to
use the code as it is and subclass from the existing classes where
necessary.
<br>
<br>
But of course, if you extend the original classes, you have to be
careful, whenever in the future you import a newer version of the
original module.
<br>
On the other hand you might also benefit from improved functionality.
So if you care about any future improvements of the original template
and if you don't want to deviate too much, then probably subclassing
the existing code makes more sense.
<br>
<br>
Only otherwise I would copy everything over into a different package.
<br>
<br>
Hope that helps,
<br>
Regards
<br>
Christian
<br>
<br>
</div>
</body>
</html>