summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (pluto.buetow.org) <paul@buetow.org>2013-09-07 17:49:45 +0200
committerPaul Buetow (pluto.buetow.org) <paul@buetow.org>2013-09-07 17:49:45 +0200
commitb89757bad726bb9869e9a8492c0b2de89a35a43b (patch)
treea291ac67dff0bf729be8200deec8afb893d0a0a2
parente9b840ee20c12f9b5698eb1403ce38eb18ead62f (diff)
remove obsolete file
-rw-r--r--README68
-rw-r--r--TODO1
2 files changed, 0 insertions, 69 deletions
diff --git a/README b/README
deleted file mode 100644
index 7a6d984..0000000
--- a/README
+++ /dev/null
@@ -1,68 +0,0 @@
-Always do:
-
-- Pragmatic modules ALWAYS to use in ALL packages:
-
- use strict;
- use warnings;
-
-- Only for packages for including package UNIVERSAL definitions
-
- use Xerl::Page::Base;
-
-- Object oriented coding style
-
-- Always use method prototypes if possible
-
- sub foo($;$) { .... }
-
-- Explicit object typing if possible
-
- my Class::Name::Here $foo = Class::Name::Here->new();
-
-- If no real ret val, set undef; explicitly
-
- sub foo() {
- # Do some stuff
- ...
- # Set explicit undef ret value
- return undef;
- }
-
-- Private subs use _ as its prefix and are called only from the current package.
-
- package Xerl::Foo::Bla;
- .
- .
-
- sub _iamprivate($) {
- my Xerl::Foo:Bla $self = $_[0];
- .
- .
- }
-
- sub iampublic($) {
- my Xerl::Foo:Bla $self = $_[0];
- $self->_iamprivate();
- return undef;
- }
-
-- Static subs (not OOP) are in CAPITAL letters.
-
- sub IAMSTATIC($) {
- print shift;
- return 'Hello World';
- }
-
- sub iamdynamic($) {
- my Xerl::Foo:Bla $self = $_[0];
- return Xerl::Foo::Bla::IAMSTATIC( $self->get_somevalue() );
- }
-
-- Static private subs start with _ and are written in CAPITAL letters
-
- sub _IAMSTATICPRIVATE() {
- .
- .
- }
-
-- Use Pidy to automaically restyle the code! (make pidy)
diff --git a/TODO b/TODO
index 51acded..e159ca7 100644
--- a/TODO
+++ b/TODO
@@ -2,5 +2,4 @@ Hint: Run 'make todo' to see everything in every file what is to do!
TODO: - Documentation of all features/options
TODO: - Fix <foo><bar></bar></foo> bug
-TODO: - Rename config.txt into xerl.conf
TODO: - Remove logging