Dexlin Posted July 27, 2012 Share Posted July 27, 2012 Hi all, I am wondering how other companies use js to implement features that a client can use on there site. What i mean is that a company has a feature like facebook comments for instances and to use the feature you just reference as a js file then it renders the content without including other files. I want to know how it works as i have a comment system i'm building along with the site and instead of including files to call the function/class etc i would like to use js to render the comments form plus comments. I hope people understand what i'm saying as i can not see how it works. So you don't need to touch php at all to implement/embed the feature into a site, apart from making the backend code to create the function/class to do it. Many thanks Quote Link to comment Share on other sites More sharing options...
Mahngiel Posted July 27, 2012 Share Posted July 27, 2012 I am wondering how other companies use js to implement features that a client can use on there site. A public API request to your site yields the content for the JS to use / loop through. Typically this is done with either XML or JSON. Quote Link to comment Share on other sites More sharing options...
scootstah Posted July 28, 2012 Share Posted July 28, 2012 I'm having trouble understanding what exactly you're trying to do, but I THINK you're talking about AJAX. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.