CMS(CONTENT MANAGEMENT SYSTEM):

CMS stand for Content Management System. The basic purpose of CMS is to control whole website functionality from backend. CMS aim to avoid the need of hand coding, it allow the users to publishing, editing and modifying the content. CMS are often used to run websites containing blogs, news and shopings. Users can modify the functionality of CMS by adding different types of plugins and modules. There are many CMS written in php. 

FRAMWORK:

Building software application can be complex, an time consuming process , but using a framework we can reduce the complexity and time consumption(by reusing the most common and generic modules). Framework is a plateform for developing a software application, its provide a foundation on which software developers build a program.