วันเสาร์ที่ 15 กันยายน พ.ศ. 2555

CakePhp - The Star of Php Framework

If you are looking into using a framework for your Php development, you bet it can be no good that CakePhp. This framework is an open-source amelioration tool minimizing the architectural headaches and employing many features from Ruby on rails; although not exactly a port of RoR to Php. The star feature is the Mvc architecture i.e. Model-View-Controller. This is a three part way of programming and designing your apps so that code does not interfere with design. It keeps your code clean. It lets you leave all the low level tasks you needed to do when building your app from scratch. Sounds great, doesn't it. But there is a huge learning curve with this framework. This kind of architecture needs time getting used to plus all the conventions and rules that have to be adhered. The CakePhp team provides online tutorials and documentation for beginners reaching to the intermediate level. For some, it has been quite easy to survive the shift while there have been few with no hope.

CakePhp was started in 2005 amidst the monopoly of Ruby on Rails. Since then it has faired well largely owing to the spread of Php and the need for a framework with standardized features and good support. What citizen loved about this framework was that with all that powered, it did not need any eXtra expenses; you could have a 5 bucks a month server host any kind of CakePhp app. CakePhp shows compatibility with both Php 4 and Php 5. That was some good news to me of course. CakePhp offers database management in a good manner via Crud integration. All you basic Db needs are taken care of, thanks to the bakery. Application scaffolding was a major like among the programmers. Application scaffolding helps you to create Crud templates automatically which is good sufficient for testing you Db with the app. Scaffolding cannot be genuinely modified so its not something for deployment. Its a feature you'd love while prototyping. Built-in validation can save you loads of time and leave the hassles of taking inputs and interacting with the user. Data sanitization saves you from all that unnecessary code needed for protecting your app from injection attacks. Such small and handy features have saved a lot of my time building apps and focusing on what genuinely matters; the quality. An yes, they also furnish Helpers. These are small routines to combine discrete often-needed functionalities to your app. Helpers save the majority of your amelioration time when compared to coding from scratch.

Server Rails

Somethings that were needed are still not implemented yet. My favourite from RoR was Migrations. It allows you to change your database in any manner without worrying about your Sql queries. Now I have to keep track of every query that had been made in the whole app.

Also, when comparing to Ruby on Rails, I find CakePhp to be quite dry with syntax. CakePhp has too much of array usage. It can irritate any beginner or seasoned programmer easily. Deployment is although a Cake forte. Any app on CakePhp requires minimum configuration time when deploying on a server. Compared to Ruby on Rails, its 'cakewalk'. With all that said, I hope you try out CakePhp to forge out good capability apps.

CakePhp - The Star of Php Framework

Related : Good Hard drive

1 ความคิดเห็น:

  1. Qcodo is an object-oriented PHP framework that ensures for a rapid application development process. Iterations can be completed quickly which give way to cohesive solutions. These solutions propel the prototypes to the next level by ensuring application maturity.

    ตอบลบ