Backbonejs some notes

Look at this answer to this question: Understanding the internal structural dependencies of MVC in Backbone.js You really don’t need to spend so much time with the architecture – it’s a framework that can either be used to help put together using simple OO constructs or an event-based design. You basically have ONLY 4 sets of…

Rest webservice Jersey Backbone jquery

GET to retrieve and search data POST to add data PUT to update data DELETE to delete data A typical resource class: @Path(“/wines”) public class WineResource {     WineDAO dao = new WineDAO();     @GET     @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })     public List<Wine> findAll() {         return dao.findAll();     }     @GET @Path(“search/{query}”)     @Produces({ MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML })     public List<Wine> findByName(@PathParam(“query”) String query) {         return dao.findByName(query);     }…