Success

User tests: Successful: Unsuccessful:

avatar Chraneco
Chraneco
29 Jun 2013

This adds the generic Json response class that is located at the helpers of the languages component as a new CMS library class with the name JResponseJson. so it can easily also be used by other extensions also because it is auto-loadable now.

Tracker:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31289

avatar Chraneco Chraneco - open - 29 Jun 2013
avatar piotr-cz
piotr-cz - comment - 31 Aug 2013

Thank you, @Chraneco, I appreciate your patience.
Do you think we should make a docs page for this? I didn't notice that this has been merged and I think this could help others.
Attaching a link with some information: Joomla-Platform: Moving JResponse to its own package and adding JResponseJson

avatar Chraneco
Chraneco - comment - 9 Sep 2013

Yes, I think that would be good. If I find some time in the next few days I will create a Wiki page for that.

avatar piotr-cz
piotr-cz - comment - 11 Sep 2013

I'm not sure if you are aware - there's discussion about the design of com_ajax in Joomla 3.2 : JGEN: Joomla Ajax Interface

I've suggested to use JResponseJson, but I'm not completely sure I've got it right: #1960

avatar Chraneco
Chraneco - comment - 11 Sep 2013

Thanks for the hint. I left a comment at pull request.

Maybe I start transitioning other places in favour of JResponseJson, too.
This way, it would actually become a simple standard way.

avatar Chraneco
Chraneco - comment - 27 Sep 2013

I added a documentation article about JResponseJson now:
http://docs.joomla.org/JSON_Responses_with_JResponseJson
Any feedback is very welcome.

avatar piotr-cz
piotr-cz - comment - 28 Sep 2013

Good job.
Maybe the javascript examples should be using jQuery now when MooTools is being phased out.
But I can't help here, I'm not a fan of it.

avatar betweenbrain
betweenbrain - comment - 28 Sep 2013

Very nice! I'm not able to do this at the moment, but you can feel free to
use the JavaScript from
https://github.com/betweenbrain/Ajax-Session-Module/blob/master/mod_session.phpas
a jQuery example.

Best,

Matt Thomas
Founder betweenbrain™
Lead Developer Construct Template Development Framework
Phone: 203.632.9322
Twitter: @betweenbrain
Github: https://github.com/betweenbrain

Sent from mobile. Please excuse any typos and brevity.
On Sep 28, 2013 1:11 PM, "Piotr" notifications@github.com wrote:

Good job.
Maybe the javascript examples should be using jQuery now when MooTools is
being phased out.
But I can't help here, I'm not a fan of it.

—
Reply to this email directly or view it on GitHub#1383 (comment)
.

Add a Comment

Login with GitHub to post a comment