Junior PHP developer.

2d
accepted Collection - Model usage for JSON response?
May
26
comment Collection - Model usage for JSON response?
No, because I am not using REST style, I am using Sync to make a POST request and want to consume its response
May
26
asked Collection - Model usage for JSON response?
May
24
comment Iterating through Models Attributes in Backbone?
I changed my approach to this and used a collection of building models.
May
24
accepted Iterating through Models Attributes in Backbone?
May
24
accepted Body-parse in Node.js not escaping new line chars in request body ? JSON
May
24
comment Body-parse in Node.js not escaping new line chars in request body ? JSON
Just followed this tutorial, you have to explicitly set the encoding fabiouechi.blogspot.co.uk/2011/03/…
May
24
comment Body-parse in Node.js not escaping new line chars in request body ? JSON
Hmmm, maybe it is a problem with JMeter which I am using to send mock HTTP requests to my node server
May
24
comment Body-parse in Node.js not escaping new line chars in request body ? JSON
JSON.parse is failing , it is not valid JSON when it is at server side.
May
24
comment Body-parse in Node.js not escaping new line chars in request body ? JSON
Thanks I tried that, it has solved the new line chars but not the additional brace { '{"lastRefreshedDateTime" : "2015-04-01","uid" : ""}': '' }
May
24
comment Body-parse in Node.js not escaping new line chars in request body ? JSON
Ninja edit, I added missing code
May
24
revised Body-parse in Node.js not escaping new line chars in request body ? JSON
added 265 characters in body
May
24
asked Body-parse in Node.js not escaping new line chars in request body ? JSON
May
22
comment Iterating through Models Attributes in Backbone?
Yes I did, the problem is the structure is like this when I look in the console. object { object {}, object{}, object{}}
May
22
comment Iterating through Models Attributes in Backbone?
Ok I tried this, but data.length is giving a value of zero. So the loop never executes. So I need to get the total amount of attributes before I can loop through them
May
22
comment Iterating through Models Attributes in Backbone?
Ok, I tried that code and got a length of zero console.log(Object.keys(this.model.attributes).length);
May
22
asked Iterating through Models Attributes in Backbone?
May
21
comment Non-RESTful HTTP POST with Backbone Model?
Thanks, just one question. Where does the data get stored after I run model.fetch() I checked the model object in the console and cant find my JSON response data?
May
21
accepted Non-RESTful HTTP POST with Backbone Model?
May
21
comment Non-RESTful HTTP POST with Backbone Model?
Thanks for this code. I will turn it into a helper class so I can use it for more than one request. What is your thoughts on that?
1 2 3 4 5