Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
b3c4bdaa
Commit
b3c4bdaa
authored
Apr 05, 2011
by
Igor Wiedler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[docs] explain the purpose of the JsonUserPersister
parent
b37da111
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
doc/services.rst
doc/services.rst
+2
-1
No files found.
doc/services.rst
View file @
b3c4bdaa
...
@@ -17,7 +17,8 @@ to services instead of creating them from within the service or
...
@@ -17,7 +17,8 @@ to services instead of creating them from within the service or
relying on globals. This generally leads to code that is decoupled,
relying on globals. This generally leads to code that is decoupled,
re-usable, flexible and testable.
re-usable, flexible and testable.
Here is an example::
Here is an example of a class that takes a ``User`` object and stores
it as a file in JSON format::
class JsonUserPersister
class JsonUserPersister
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment