Revision history for Perl extension Maypole
Revision history for Perl extension Maypole
+1.4 Fri Apr 16 18:11:41 BST 2004
+ - Much, much more documentation
+ - CLI debugging mode
+ - CGI frontend (CGI::Maypole)
+ - Beginnings of a test suite
+ - Maypole::Constants module to remove dependency on Apache
+ - Refactoring of view classes to base/module-specific modules
+ - HTML::Mason view class
+ - Various small template bug fixes and enhancements
+
1.3 Fri Mar 26 19:16:33 GMT 2004
- Fix serious order/CDBI::Page interaction bug.
- Die if model/view class can't be compiled.
1.3 Fri Mar 26 19:16:33 GMT 2004
- Fix serious order/CDBI::Page interaction bug.
- Die if model/view class can't be compiled.
Changes
doc/About.pod
doc/Beer.pod
Changes
doc/About.pod
doc/Beer.pod
doc/Flox.pod
doc/Model.pod
doc/Overview.pod
doc/Request.pod
doc/StandardTemplates.pod
doc/View.pod
doc/Flox.pod
doc/Model.pod
doc/Overview.pod
doc/Request.pod
doc/StandardTemplates.pod
doc/View.pod
doc/makedoc.pl
ex/BeerDB.pm
doc/makedoc.pl
ex/BeerDB.pm
lib/Maypole/CLI.pm
lib/Maypole/Constants.pm
lib/Maypole/Model/Base.pm
lib/Maypole/CLI.pm
lib/Maypole/Constants.pm
lib/Maypole/Model/Base.pm
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Maypole
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Maypole
version_from: lib/Maypole.pm
installdirs: site
requires:
version_from: lib/Maypole.pm
installdirs: site
requires:
Template => 0,
}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
Template => 0,
}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
- (ABSTRACT_FROM => 'lib/Apache/MVC.pm', # retrieve abstract from module
+ (ABSTRACT_FROM => 'lib/Maypole.pm', # retrieve abstract from module
AUTHOR => 'Simon Cozens <simon@simon-cozens.org>') : ()),
);
AUTHOR => 'Simon Cozens <simon@simon-cozens.org>') : ()),
);
distinguish between the tabs that anyone can see and those than only an
admin can see, but we'll come back to it later. Still, 104 lines, eh?
distinguish between the tabs that anyone can see and those than only an
admin can see, but we'll come back to it later. Still, 104 lines, eh?
-The actual tab list is presented here:
+The actual tab list is presented here: (reformated slightly for sanity)
- <asp:datalist id="tabs" cssclass="OtherTabsBg" repeatdirection="horizontal" ItemStyle-Height="25" SelectedItemStyle-CssClass="TabBg" ItemStyle-BorderWidth="1" EnableViewState="false" runat="server">
+ <asp:datalist id="tabs" cssclass="OtherTabsBg"
+ repeatdirection="horizontal" ItemStyle-Height="25"
+ SelectedItemStyle-CssClass="TabBg" ItemStyle-BorderWidth="1"
+ EnableViewState="false" runat="server">
- <a href='<%= Request.ApplicationPath %>/DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=<%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs"><%# ((TabStripDetails) Container.DataItem).TabName %></a>
+ <a href='<%= Request.ApplicationPath %>/
+ DesktopDefault.aspx?tabindex=<%# Container.ItemIndex %>&tabid=
+ <%# ((TabStripDetails) Container.DataItem).TabId %>' class="OtherTabs">
+ <%# ((TabStripDetails) Container.DataItem).TabName %></a>
</ItemTemplate>
<SelectedItemTemplate>
</ItemTemplate>
<SelectedItemTemplate>
- <span class="SelectedTab"><%# ((TabStripDetails) Container.DataItem).TabName %></span>
+ <span class="SelectedTab">
+ <%# ((TabStripDetails) Container.DataItem).TabName %></span>
</SelectedItemTemplate>
</asp:datalist>
</td>
</SelectedItemTemplate>
</asp:datalist>
</td>
<span class="SelectedTab">[%tab.name%]</span>
[% ELSE %]
<td height="25">
<span class="SelectedTab">[%tab.name%]</span>
[% ELSE %]
<td height="25">
- <a href='[%base%]DesktopDefault.aspx?tabid=[%a_tab.id%]' class="OtherTabs">[%a_tab.name%]</a>
+ <a href='[%base%]DesktopDefault.aspx?tabid=[%a_tab.id%]'
+ class="OtherTabs">[%a_tab.name%]</a>
[% END %]
</td>
[% END %]
[% END %]
</td>
[% END %]
use UNIVERSAL::require;
use strict;
use warnings;
use UNIVERSAL::require;
use strict;
use warnings;
__PACKAGE__->mk_classdata($_) for qw( config init_done view_object );
__PACKAGE__->mk_accessors ( qw( ar params query objects model_class
args action template ));
__PACKAGE__->mk_classdata($_) for qw( config init_done view_object );
__PACKAGE__->mk_accessors ( qw( ar params query objects model_class
args action template ));