Changes between Version 1 and Version 2 of PadrePluginCookbookRecipie05


Ignore:
Timestamp:
08/04/11 18:03:19 (3 years ago)
Author:
bowtie
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PadrePluginCookbookRecipie05

    v1 v2  
    77---- 
    88 
    9  
     9The above is as a result of analysing Plugins for this page. 
    1010---- 
    11 == Compliance 
     11== Outline 
    1212Initial thoughts, of what a {{{Padre::Plugin}}} should provide, critiques welcome. 
    13  
    14 * Plugin Loads 
    15  * Plugin Manager can load plugin 
    16   * For compliance you will need to have a version in your Padre::Plugin::Name.pm. 
     13=== Plug-in Compliance 
     14Things to do to make your Plug-in Load 
     15* Plugin Manager can load plugin 
     16 * For compliance you will need to have a version in your Padre::Plugin::Name.pm. 
    1717{{{#!perl 
    1818our $VERSION = '0.01'; 
    1919}}} 
    20  * Plugin builds so it can be install in local repository 
    21   * We recommend using {{{Module::Include}}}, and suggest following in Makefile.PL 
    22 {{{#!perl 
    23 use inc::Module::Install 1.01; 
    24 }}} 
    25  * Plugin must it's **Interfaces**, all Padre Modules should be included 
    26   * Don't forget to include the following sub. 
    27   * Use the version number of Padre you are developing against, as shown below. 
     20 
     21* Plugin must it's **Interfaces**, all Padre Modules should be included 
     22 * Don't forget to include the following sub. 
     23 * Use the version number of Padre you are developing against, as shown below. 
    2824{{{#!perl 
    2925####### 
     
    11811412:36 bowtie     Alias_, you are so happy it must be your un-Birthday again :), thanks 
    119115}}} 
    120  * Plugin can be loaded and unloaded repeatedly 
    121   * Don't forget to include the following sub. 
     116* Plugin can be loaded and unloaded repeatedly 
     117 * Don't forget to include the following sub. 
    122118{{{#!perl 
    123119sub plugin_disable { 
     
    125121} 
    126122}}} 
    127 * POD 
     123 
     124---- 
     125=== POD 
    128126 * Fail: Padre POD viewer displays an error 
    129127 * Poor: Fail < Poor < Min 
     
    131129 * acceptable: Min < acceptable < Good 
    132130 * Good, contains: VERSION, BUGS AND LIMITATIONS, DEPENDENCIES. Passes xt/pod.t and xt/podcoverage.t for all Plugin files. 
     131---- 
     132=== DEBUG 
     133This is cool 
     134* now I can keep my say(print) statments, but turn then on when I want, with out littering the terminal :) 
    133135 
    134 * Additional documentation 
    135  * trac wiki 
    136  * blogg 
    137  
    138 * CPAN 
    139  * public repository 
    140  * about dialog 
    141  * plugin has icon 
    142  
     136try the following 
     137{{{#!sh 
     138perl dev -a -t Padre::Plugin::Swarm::Transport::Global::WxSocket 
     139}}} 
     140or 
     141{{{#!sh 
     142perl dev -a -t Padre::Plugin::Cookbook::Recipe04::Main 
     143}}} 
     144---- 
     145=== Translations 
     146* [http://padre.perlide.org/trac/wiki/TranslationIntro Intro To Translation] 
    143147* Language Support [http://perlide.org/translations/ translations update] 
    144148 * English 
    145149 * etc.. 
     150---- 
     151=== OS Support, 
     152don't forget to consider, your Plug-in should work ideal on all of the following platforms 
     153* Linux 
     154 * 64 bit 
     155 * i386/i686 
     156* Microsoft 
     157 * Vista 
     158 * XP 
     159* Apple 
     160 * Lion 
     161 * Snow Leopard 
     162 * Leopard 
     163---- 
    146164 
    147 * OS Support 
    148  * Linux 
    149   * 64 bit 
    150   * i386/i686 
    151  * Microsoft 
    152   * Vista 
    153   * XP 
    154  * Apple 
    155   * Lion 
    156   * Snow Leopard 
    157   * Leopard 
     165* Plugin builds so it can be install in local repository 
     166 * We recommend using {{{Module::Include}}}, and suggest following in Makefile.PL 
     167{{{#!perl 
     168use inc::Module::Install 1.01; 
     169}}} 
     170---- 
     171=== CPAN 
     172this is probably your end goal. 
     173* public repository 
     174* about dialog 
     175* plugin has icon 
     176---- 
     177=== Additional documentation 
     178or Marketing your Plug-in 
     179* trac wiki 
     180* blogg 
    158181 
    159  
    160 The above is as a result of analysing Plugins for this page. 
    161182---- 
    162183== Tickets 
    163184New Tickets 
    164  * start summary with {{{Padre::Plugin::....}}} 
    165  * set component = plugins 
     185* start summary with {{{Padre::Plugin::....}}} 
     186* set component = plugins 
    166187 
    167188