BIRT 3.7
Written by: Michael Williams
Featured Refcardz: Top Refcardz:
  1. Scrum
  2. Apache Maven 2
  3. Essential MySQL
  4. Node.js
  5. Groovy
  1. jQuery Selectors
  2. Ajax
  3. Java
  4. Spring Config.
  5. Java Concurrency

Link Details

Link 749541 thumbnail
User 355617 avatar

By piccoloprincipe
via css.dzone.com
Published: Feb 22 2012 / 08:23

Let's look at the new features and score them on two metrics: usefulness, and potential for abuse. I'll try to avoid discussing non-language related matters.
  • 9
  • 0
  • 449
  • 969

Comments

Add your comment
User 772345 avatar

stefano.luchetti replied ago:

0 votes Vote down Vote up Reply

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. :-)

User 355617 avatar

piccoloprincipe replied ago:

0 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)