Difference between revisions of "Development Policies"

From OpenEMR Project Wiki
 
Line 1: Line 1:
= Submitting Patches to Upstream =
== Submitting Patches to Upstream ==
Place the patch in the [http://sourceforge.net/tracker/?group_id=60081&atid=493003 tracker's patches section], with an explanation. Please also place an explanation of the patch in the [http://sourceforge.net/forum/forum.php?forum_id=202506 developer forum] so we know its in the tracker.
Place the patch in the [http://sourceforge.net/tracker/?group_id=60081&atid=493003 tracker's patches section], with an explanation. Please also place an explanation of the patch in the [http://sourceforge.net/forum/forum.php?forum_id=202506 developer forum] so we know its in the tracker.


= Carriage Returns / Line Feeds =
== Carriage Returns / Line Feeds ==
All text files for the project should have Unix-style line endings (i.e. no carriage returns). Developers who use a Windows desktop should also use a suitable text editor that respects this (last checked, EditPad Lite was one free example).
All text files for the project should have Unix-style line endings (i.e. no carriage returns). Developers who use a Windows desktop should also use a suitable text editor that respects this (last checked, EditPad Lite was one free example).


=PHP Sessions and Browser Windows=
==PHP Sessions and Browser Windows==
You must include a JavaScript call to top.restoreSession() wherever you invoke a PHP script that requires current session data (which is most of them). This is discussed in more detail in the [[OpenEMR System Architecture#PHP_Sessions_and_Browser_Windows|architecture discussion]] wiki page.
You must include a JavaScript call to top.restoreSession() wherever you invoke a PHP script that requires current session data (which is most of them). This is discussed in more detail in the [[OpenEMR System Architecture#PHP_Sessions_and_Browser_Windows|architecture discussion]] wiki page.

Revision as of 07:04, 4 December 2009

Submitting Patches to Upstream

Place the patch in the tracker's patches section, with an explanation. Please also place an explanation of the patch in the developer forum so we know its in the tracker.

Carriage Returns / Line Feeds

All text files for the project should have Unix-style line endings (i.e. no carriage returns). Developers who use a Windows desktop should also use a suitable text editor that respects this (last checked, EditPad Lite was one free example).

PHP Sessions and Browser Windows

You must include a JavaScript call to top.restoreSession() wherever you invoke a PHP script that requires current session data (which is most of them). This is discussed in more detail in the architecture discussion wiki page.