Development reference: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
Line 23: Line 23:
! eclipse Java project layout format
! eclipse Java project layout format
|- Eclipse uses a workspace which holds projects.  Java apps written with Eclipse are organized as follows:
|- Eclipse uses a workspace which holds projects.  Java apps written with Eclipse are organized as follows:
* Eclipse workspace (can also be the top version-control folder)
| * Eclipse workspace (can also be the top version-control folder)
** project folder (typically one "app" that you can "run")
| ** project folder (typically one "app" that you can "run")
*** package(s) (named something like "com.developer.project.application")
| *** package(s) (named something like "com.developer.project.application")
**** classes (each class is contained in one file)
| **** classes (each class is contained in one file)
|}
|}
== Mediawiki ==
== Mediawiki ==
{| class="mw-collapsible mw-collapsed wikitable"
{| class="mw-collapsible mw-collapsed wikitable"
! collapsible skeleton
! collapsible skeleton

Revision as of 14:37, 30 September 2012

C++

reverse iterator skeleton
From SGI...
reverse_iterator rfirst(V.end());
reverse_iterator rlast(V.begin());

while (rfirst != rlast) 
{
    cout << *rfirst << endl;
    ...
    rfirst++;
}

Reading a binary file

Java

eclipse Java project layout format
* Eclipse workspace (can also be the top version-control folder) ** project folder (typically one "app" that you can "run") *** package(s) (named something like "com.developer.project.application") **** classes (each class is contained in one file)

Mediawiki

collapsible skeleton
collapsible example
DJs are kept on the active Active djs are maintained Active djs are maintained Active djs are maintained Active djs are maintained Active djs are maintained Active djs are maintained djs list when both the server and the dj are enabled.
All djs are shown in the prefs djs list.

Line 2

Line 3

All djs are shown in the prefs djs list.All djs are shown in the prefs djs list.All djs are shown in the prefs djs list.All djs are shown in the prefs djs list.All djs are shown in the prefs djs list.

cd /var/www/localhost/htdocs/mediawiki
emacs LocalSettings_redirector.php (to hardcode each site)
php maintenance/update.php
(repeat for each site)
emacs LocalSettings_redirector.php (to reset dynamic behavior)