title: how to start to write an SDK for php MVC self created framework
body: <p>I don't know how to actually ask my question ,but here it comes:</p>
  
  <p>My boss wanted me to create a simple MVC with PHP for our online-shopping website 
  , I did it ( watching youtube and ...) , it's very simple and easily made .</p>
  
  <p>Now he keeps asking me to :</p>
  
  <p><strong>First</strong> Create a RESTful API ( that uses curl ).</p>
  
  <p><strong>Second</strong> Create a well documented SDK !!.</p>
  
  <p>I've searched a lot (really ) , right know I can understand what an API does 
  but I'm not sure what's SDK  and how to start to write the code </p>
  
  <p>Can someone give me a line of code of example of how to start to write ? </p>
  
  <p>What he means by **well documented ** ?</p>
  
  <p>I've searched in google and I know what are SDK and API literally mean, but my problem is I can't make a relation between my MVC and API and SDK .</p>
  
  <p>How can I start to write an API ? </p>
  
  <p>Where should I begin ?</p>
  
  <p>What's the point ?</p>
  
  <p>Can someone give me an example ? </p>
  
  <p>What my SDK supposed to do ?</p>
  
  <p>I've seen lots of videos about API , all of them talks about using REST and REST is very good and we should us GET/POST/DELETE/PUT and  so on and so force .</p>
  
  <p>but where should I start ?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>In my case , an online-shopping which simply searchs through our MongoDB database and returns new products and some other simple tasks , how should I use RESTful API ?  or SKD ? </p>
  
  <p>Thanks and  please tell me if the explanation is not understandable .</p>