The site I work on is almost entirely in Javascript, it just goes back (via Ajax
ID: 659608 • Letter: T
Question
The site I work on is almost entirely in Javascript, it just goes back (via Ajax) to the server for authentication, database access, things like that. My boss would like me to add blogging, forum, and commenting capabilities. I don't want to implement it from scratch and I certainly don't want to integrate some HTML-generating PHP atrocity.
Ideal, I'm looking for a package that does all the backend work and offers ReST interface so I can write a Javascript-based UI that integrates nicely with the existing site. Does such a thing exist?
Explanation / Answer
There's always AtomPub, which is designed exactly for this use case. There is an open source Java AtomPub server by Apache called Abdera. Since all you care about is something which has a RESTful API, you may be able to find AtomPub servers implemented in other languages. Then all the work you have to do is to display the items you receive from the server as you wish. We did this once before, I believe we were using the AtomPub capabilities of Roller.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.