By piccoloprincipe
via css.dzone.com
Published: Feb 22 2012 / 08:23
![]() | |
| BIRT 3.7 | |
| Written by: Michael Williams | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By piccoloprincipe
via css.dzone.com
Published: Feb 22 2012 / 08:23
Comments
stefano.luchetti replied ago:
Hi Giorgio,
just a little thing that remains pretty much obscure to me.
"JsonSerializable" Paragraph.
The new property of json_encode implies that the function will call natively an
hypothetical method serialize2json (or something like that?) on the object passed in and which,
by contract, adheres to JsonSerializable interface by implementing that contract.
The question stands on your final assertion:
"I just hope it isn't implemented by domaIin objects and everything that moves."
What do you mean? Or what I'm not able to see inside your sentence? ... Is probably missing something big in my
knowledge luggage ;-) ???
Thx in advance. Stefano Luchetti. :-)
piccoloprincipe replied ago:
I mean that domain objects and other central points of the application shouldn't know the Json format is used in the application, nor that it exists at all; just as they shouldn't know which database or webserver you're using.
Voters For This Link (9)
Voters Against This Link (0)