Go to Stubbles Homepage
Stubbles examples
Please select the desired example:
Core functions
Using the error handler
(
show PHP source
)
Using the exception handler
(
Result with net.stubbles.mode=test
) (
show PHP source
)
Loading classes from foreign resources with the Stubbles class loader
Logging data
Reflection
Defining annotations
(
show PHP source
)
Request handling
Using the request broker
(
show PHP source
)
Event handling
Simple example
Queued events
JSON-RPC
Out-of-the-box AJAX with the JSON-RPC processor
(
show HTML/PHP source
,
show service source
)
Connecting Stubbles JSON-RPC with the Dojo toolkit
(
show HTML/PHP source
)
Processors
Memphis processor
(
show PHP source
)
XML processor
(
show PHP source
)
XML processor with Form
(
show PHP source
)
XML handling
stubXMLStreamWriter
(
show PHP source
)
stubXMLSerializer
(
show PHP source
)
Misc features
Using variants
(
show PHP source
)
Conference examples
The following examples have been created for various conferences.
Declarative Development with Annotations
at the International PHP 2007 Conference in Ludwigsburg
Serializing to XML
(
show PHP source
)
Serializing to CSV
(
show PHP source
)