Skip to main content

Open source PHP frameworks and problems

I was using CakePHP for sometime and proposed CakePlus, another UIMS toolkit on the top of CakePHP but also altering some problematic core of it. The thread should explain the outcome of the post. And, then I noted Akelos framework has most of the things built in.

Issues with frameworks esp. CakePHP



  • Scalability not a priority - Developers aren't aware that we can't throw more and more hardware

  • Excessive use of regular expressions

  • Evangelist isn't aware that the framework throws many queries unnecessarily

  • More memory consumption - 100M would never be enough for a simple project

  • Poor coding standards and practices - Prolong use of extract() often leads to more memory consumption

  • Can't use the native approaches or baked codes. The override approach always lead to hard to debug codes

  • Poor architected codes and no clear defined approaches. People belong to the cult drives the direction and often throws unprofiled codes. No native provision to share codes between M-V-C and no distinction between "libs" and "vendors".

  • Overlooked wrappers

  • Community - Only few are educated, majority overlook the common application features, some freelancers use it for networking and sycophancy to get jobs

  • Not actually open source



Update (2008-09-01): Follow-up

Comments

Unknown said…
Hold on there...how can you say that CakePHP is not Open Source? The source code is made freely available to anyone who wants it.

It seems to me that your real issue is that there is not unfettered commit access to the main repository for the project. This is true, but that does not mean that CakePHP is not Open Source.

I would love to see an example of an Open Source project that allows *anyone* to commit source code to the main repository that the project uses.

Note that I said MAIN REPOSITORY. I am well aware of how Linux kernel development uses Git.
Unknown said…
A suggestion...

When making statements like these you may want to give reasons and examples... otherwise it sounds like you're just bitching.

Most of what you are complaining about is typical of almost any open source project... someone has to maintain a common vision for the project. If you don't like the way they do things, fork the source code and make your own. If enough people like what you are doing the features will find their way back into the main branch.
Anonymous said…
Mozilla is able to serve up 4 million page views daily with CakePHP ( addons.mozilla.org ). I use CakePHP all the time and have not had problems scaling. I'd be impressed to see a web application built that can't use CakePHP because it is too big. Plus, if you have that big of an application than you should be able to afford the necessary hardware.
Bottom line is that cake saves money and development time.
Jeff Loiselle said…
Wow, you are a self-claiming PHP saint? You just sounds like a jackass.

CakePHP is open source. It's certainly faster than writing my own framework. Anything I don't like, I modify because I'm not an idiot. I am certainly not a poster boy. I use whatever technology I can to get the job done. And since it's open source, if it doesn't get the job done itself, I make it happen.

That's what makes me a programmer and you a complaining idiot.
Anonymous said…
cakephp IS open source.

about the community, everyone wants to help each other and its more active than others.

scaling cant be a issue with cakephp. otherwise mozilla addons site would have crashed long since.

very few frameworks have been able to maintain the quality cakephp has even with php4. thus giving developers more flexibility.

Popular posts from this blog

Interview question #1

Since I have been asked to interview experienced PHP programmers, I was preparing few interview questions. I came to know, most of the people ask questions found in the Internet; most of them are like "What is the function used to connect MySQL DB in PHP". Personally, I don't like these types of questions; I'd thought the person must apply ideas what he was taught in colleges--finally I came out with one question: A product vendor has Quantity Vs. Price data like 1 -> Rs. 50 2 -> Rs. 95 3 -> Rs. 140 .... like upto 1 million data. He wants a system, which gives the price when the quantity is provided. For example, if you provide the quantity value as 2, then it should provide Rs. 95. How this system can be designed? As expected, all the people said about using database tables and quering on quantity. I have asked them to find out a system which doesn't use databases--provided the accuracy of the system may not be 100%--it may give at least 90% ac...

Storing unicode texts in MySQL with phpMyAdmin

Today, I've received a personal mail/request from Sivanantham Hemamalini, working for IT leisure in Singapore. Since I was in company when received the mail, I couldn't answer immediately. If I understand the question right, it is about inputting Unicode texts especially Tamil in phpMyAdmin. PhpMyAdmin 's default characterset is iso-8859-1 and so if we enter anything in the form, browser will convert it into numerical html entities. Say for example, if we enter தமிà®´் and submit the form, it will convert it to & #2980;& #2990;& #3007;& #2996;& #3021; . Because of this browser's behavior, it will be difficult to store the Unicode text as it is. Solutions Immediate solution I could think of is changing or forcing the browser's character encoding into utf-8. In Mozilla Firefox, it can be set via View -> Character Encoding -> Unicode (UTF-8) Another elegant solution might be changing the phpMyAdmin configurations so that it send...

Humble Awards

When I was studying 10th standard, I had a bet with my friend Nalin that A.R.Rahman will become very famous (He was telling me that no one can beat Ilaiyaraaja ) Since then I thought about appreciating the people that I think are the best and finally here is the effort. Some people are yet to become famous--but I strongly believe and wish that they'll become famous sooner! Gaana Rahman - Gaana singer Dr. A.N. Sreevatsan , ENT specialist OptiPerl , Windows based IDE RJ Joshua , Radio Jockey of AIR FM, Chennai RJ Yazh Sudhakar , Radio Jockey of Suryan FM, Chennai Discovery Channel's Tamil Interpreters , for the superb Tamil voices & modulations Savukku, WikiLeaks of India , for the brave news coverage on hidden politics of India, especially Tamil Nadu state