The facts expressed here belong to everybody, the opinions to me. The distinction is yours to draw.
Everything is just great!
Check it out at http://nooku.org !

CREATE TABLE IF NOT EXISTS `#__harbour_boattypes` ( `harbour_boattype_id` bigint(20) unsigned NOT NULL auto_increment, `title` varchar(255) NOT NULL, `enabled` tinyint(1) NOT NULL DEFAULT '1', ... `description` text COMMENT '@Filter("html, tidy")', # We are not pleased! ... `locked_on` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `locked_by` int(11) NOT NULL DEFAULT 0, PRIMARY KEY ( `harbour_boattype_id` ) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
An example: some Java code
@SuppressWarnings("fallthrough") void myMethod(myVar) { switch(myVar) { case 1: doSomething(); default: doNothing(); } }
<?php $reflectionClass = new ReflectionClass("TestClass"); $methods = $reflectionClass->getMethods(); $properties = $reflectionClass->getProperties(ReflectionProperty::IS_PRIVATE); $docblock = $reflectionClass->getDocComment(); /* Just what we need! */
So the following can now be validated properly:
<?php class ComArticlesDatabaseTableArticles extends KDatabaseRowAbstract { /** @filter("html", "tidy") */ protected $introtext; ..
But we can go even further :
<?php /** * My Nooku class representing a certain entity. * * @path("http://www.flickr.com/services/feeds/photos_public.gne?format=json") * @JSONP({callback="handle_data"}) * @POST * @Persistent(false) * @Cachable(false) * @Behaviors('executable', 'orderable', 'nestable') * @deprecated */
Roll your own!
<?php if($this->hasAnnotation('Shark')) { switch($this->getAnnotationValue('Shark')) { case 'hungry': $this->makeMostCodeObsolete(); // this transatlantic flight break; default: $this->keepSwimming(); break; } }
Do you feel like this when writing end-user documentation?



| Table of Contents | t |
|---|---|
| Exposé | ESC |
| Full screen slides | e |
| Presenter View | p |
| Source Files | s |
| Slide Numbers | n |
| Toggle screen blanking | b |
| Show/hide slide context | c |
| Notes | 2 |
| Help | h |