Re: [Postfixadmin-devel] postfixadmin with ldap
Brought to you by:
christian_boltz,
gingerdog
|
From: Christian B. <pos...@cb...> - 2015-02-03 12:31:55
|
Hello,
Am Montag, 2. Februar 2015 schrieb Vikas Parashar:
> Can someone guide me?
Yes, of course. Sorry for the delay!
> On Tue, Jan 27, 2015 at 8:29 PM, Vikas Parashar wrote:
> > I have written some thing as per our discussion, Could you please
> > guide me how & where i can show you that functionality and my code?
I think you are talking about uploading your changed files or patches.
The tracker on Sourceforge is probably the best place for this:
http://sourceforge.net/p/postfixadmin/patches/
(Feel free to use a tarball if you want to upload multiple files.)
> > As i am not a core programmer, could you please guide me(or give me
> > some pointer) to write good code. So that, i can execute my idea in
> > better way.
That's an interesting question ;-)
Short answer: for coding style, have a look at
http://sourceforge.net/p/postfixadmin/wiki/Coding_guidelines/
which lists some basic rules.
Besides that, we don't have written rules. Maybe the best question to
answer is : if someone forces you to change your code in a year, would
you happily do that or would you heavily protest? ;-)
If you are looking for some examples,
- model/*, edit.php and list.php are what I'd call "good" code
- most of the files in the main directory are, well, not so good. With
the exception of edit.php and list.php, those files contain "grown"
code which also collected quite some issues over the years that make
maintenance harder.
- also, older versions of PostfixAdmin contain some interesting[tm]
stuff I don't want to see again - especially lots of code duplication
with different bugs in each copy :-/
Regards,
Christian Boltz
--
Oh großer Meister! Darf man euch untertänigst darauf aufmerksam
machen, daß das diff'en von Postscriptfonts komplette Unterordner
synchronisiert und diff't, unter Berücksichtigung von Links? :-)
[Ratti in fontlinge-devel]
|