On Thu, Sep 24, 2009 at 3:54 PM, Steven Roussey <[email protected]> wrote:
>
> OK, I posted some of my changes to add parameter handling, .if type
> sections with predicates, and misc other stuff. I put broke up the
> code across multiple messages -- I hope it is more clear that way.
> We'll see. It does make it easier to comment on though.
>
> I have some changes for PHP also, but can leave that for another day.

For the parameter handling, see my mail about the template-file
formatter.  I have had this conversation unsuccessfully before -- I
guess the higher order programming is unconventional to some, but if
you look at the Java version, you'll see what it looks like just using
plain classes.

Basically JSON Template supports arguments, but it does not
*implement* them.  It's done by user code via
more_formatters/more_predicates, so that people can choose their own
argument style.  This is important to understand about the design.

And I also posted an alternative to {.if} that is more flexible.

The third thing is that code is a lot more useful as patches (created
with svn diff).  And I would like to use a code review tool, see here:
http://code.google.com/p/json-template/wiki/DevelopingJsonTemplate

Also, the development necessarily has to be pretty test driven, since
there are multiple implementations that should pass the same tests.
Have you run the tests yet?

Andy

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JSON 
Template" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/json-template?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to