Learn to prepare tasty,quality south indian, north indian, vegeterian,non-vegeterian,thai,tiffin,idli,dosa,vada,sambar.
CakePHP Fat Model Thin Controller
Among the many PHP frameworks in existence, CakePHP is a popular enterprise framework. It has many integrated design patterns including the most popular MVC (Model, View , Controller).A design pattern is a solution to a common web development problem.
Model Layer - Database tables, Business logic on implementing different functionalities like matrimony, dating, classifieds, vehicle buy,sell etc
Control Layer - Controls logic/application flow. All POST and GET requests are handled properly
View Layer - Presentation logic
Model layer should have business logic, view layer should direct model layer to perform tasks. This clear demarcation makes CakePHP Fat Model and Thin Controller
Oracle PHP interfacing with OCI:
PHP is the most widely used, most popular web programming scripting language in use today. It is a open source scripting language. From PHP5 onwards object oriented programming (OOP) capabilities have been included.
This rich set of features, flexibility makes PHP the most preferred web programming language. Great companies like Oracle corporation are trying to extend PHP's horizon at an enterprise level.
PHP can be interfaced with Oracle database using many different extensions :
1) OCI8 - Oracle Client Interface 8 - A C based API supported until PHP6. PHP6 is in it development phase. Hence OCI8 is the preferred extension for new and upcoming developments. OCI7 is not longer supported in PHP versions
2) ADOdb - Abstraction library
3) Oracle - It is no longer a preferred extension
4) PDO - If we want to develop Database independent PHP code, PDO can be used