title: How do I make non-framework code to framework code? (PHP)
body: <p>I just started using CakePHP and it's very different from just normal procedural or basic OOP PHP. </p>
  
  <p>I am still learning PHP and still read "beginning PHP/mysql" books that teaches you basic PHP. Also lots of sites online provide code that isn't for a framework. </p>
  
  <p>Is the only way to make non-framework code to say a framework, say cakePHP, by learning cakePHP thoroughly than rewriting the code yourself to fit the MVC model?</p>