Wiki words
Any phrase surrounded by double brackets or parentheses is a wiki word (camel-case wiki words are not supported for good reasons, one being that some languages don't have the concept of case).
Wiki words: [[C++]], [[Let's rock!]] ((easy to type))
Not wiki words: HomePage, IBM, School
By default, a wiki word will reference it's children. To reference a sibling, you can do [[../Node]], or to reference a toplevel node do [[/Node]]
Markdown help
| Text Formatting | |
|---|---|
| Text in italics | *italic* or _italic_ |
| Text in bold | **bold** or __bold__ |
| Links | |
| Link to Another Page |
[[Page Name Here]] |
| Links to Other Sites: |
[example](http://example.com/)is formatted as: example |
[example](http://example.com/ "Link Title")is formatted as: example hover over the link to see the title |
|
| Headers | |
| Main Header | Main Header |
| Main Header | # Main Header |
| Sub Header | Sub Header |
| Sub Header | ## Sub Headeroptionally, you can add the same number of trailing # marks |
| Sub Sub ... Header up to 6 levels of headers |
###### Sub Sub ... Header |
| Lists | |
To get:
|
Write:
* FooNOTE: you need a blank line before and after the list |
For numbered lists, just use numbers instead of asterisks 1. Foo |
|
For nested lists, indent each level by 3 spaces
|
* Item 1 |
| Block quotes | |
> Just like email quoting! |
|
| Horizontal Rules (<hr>) | |
| 3 or more dashes or asterisks: --- or *** or * * * |
Creates: |
| Code | |
| `<code>` blocks are wrapped in backticks. | |
| Nested backticks: | `` just use `2` `` in the wrapping block |
| Preformatted Code Blocks (<pre>) | |
Simply indent every line of a code block by 4:
Normal paragraph
Spaces on the left
render text in monospace
like this example
Going back to normal formatting Note that for programming language code, it may be better to use the Syntax highlight plugin. |
|
| Footnotes (details) | |
| As detailed in the book[^footnote1], we will now show that... ...later in the document... [^footnote1]: Conway, Damian - Perl Best Practices, p. 117 |
|
| Images | |
| Inline |  |
Plugin syntax
| To get | Write |
|---|---|
| table of contents | {{toc [level1]-[level2]}} Examples: {{toc}}, {{toc 2-}}, {{toc 2-4}} |
| include this page | {{http://your/url}} |
| include this rss feed | {{feed://your/url}} |
| Show this product | {{http://amazon/url}} |
| Enable comments on this page. | {{comments}} |
| Format content until {{end}} as plain old documentation | {{pod}} |
Madcow - the PHP web framework
Madcow is the PHP web framework that leaves your application alone and only focuses on binding components together.
State
The project is currently in its early birth. The source code is now available on Github.
Technical
Madcow takes care of configuration, URL routing and page templating.
It is a MVC framework that allows you to write your application in your own way. You use Madcow to tie it all together as a web application.
Written in PHP 5. Comes with a Smarty view. Configuration in YAML.
A SQL database model will be available coming soon.
History
Madcow is a product of a web site I have been working on for the last year. One of the requirements of the project was to write the web application in PHP. Since none of the current PHP web frameworks, that I could find, were flexible enough for this project, I started on scratch.
It started out as a single project, but at a period of the project, it became clear to me that the infrastructure of the application should be factored out to a new library.
Madcow is very much inspired by the Perl web application framework Catalyst. What I like most about Catalyst is the support for chained actions, multiple models and multiple views. And because of that, these things are what I have focused on and implemented in Madcow.
License
The license of Madcow is a MIT compitable license.
Author
Madcow is developed by Knut-Olav Hoven.
Other
Internal MojoMojo: Need some assistance?
Check out our Help section.