say client posts variable v, server app enters new data in mongodb, (depending on selected input form) server may respond "you have entered v" or after backend calculations may respond resulting variable r : "your answer r".
the question : in sails js can safely implement ajax or ajaj without of jquery nor node.js framework such backbone or angular on top of sails ?
you can make post requests using standard html forms:
sending , retrieving form data
if wanting know how send responses client-side, sails comes ejs (embedded javascript), can use render server responses: ejs
by 'safely', assume mean securely? 1 thing should aware of sails uses 'blueprints' default, exposes crud operations, may not want exposed in production. should read comments inside blueprints.js file in sails config folder.
// `actions` enabled default, , can ok production-- however, // if you'd continue use controller/action autorouting in production deployment, // must take great care not inadvertently expose unsafe/unintentional controller logic // requests.
you should build out whatever request handling need inside controllers. can disable default actions.