when I first came into contact with the frame, I felt that the CI framework had a lot of superfluous places, such as:
- the acquisition of POST parameters:
$_ POST ["key"]
is not it easier and more convenient than$this- > input- > post ("key")
? - set cookie:
setcookie ()
and$this- > input- > set_cookie ()
- execute sql statements:
mysql_query ()
and$this- > db- > query ()
- there are also activity records, how this sql is executed
where are these interfaces better than the native ones? If the function is the same, why not just use the native function instead? what are the benefits?