i have a concern about which is better option to fetch list items from sharepoint 2010 list in javascript
there are 2 available options
1) sharepoint 2010 client object model
http://msdn.microsoft.com/en-us/library/hh185011.aspx
2) jquery spservices
http://spservices.codeplex.com/documentation
but i am not able to understand which one is better is option in terms of safety,security & stability / low maintenance
and also i have a doubt with sharepoint2010 JSOM is that it has a method
var oList = clientContext.get_web().get_lists().getByTitle('Announcements');
but does not have any method for getListByUrl
Is getListByTitle is safe to use (as in sharepoint Object Model it is generally preferred to use GetListByUrl instead of GetListByTitle)?
please share your experience
thanks